Skip to content

Commit

Permalink
Made Tree View checkbox to be in the tab order
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgammon committed Oct 27, 2010
1 parent 2a15839 commit aafae28
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 0 additions & 2 deletions dialogs/world_prefs/GenPropertyPage.h
Expand Up @@ -166,8 +166,6 @@ class CGenPropertyPage : public CPropertyPage

virtual bool CheckIfTemporary (CObject * pItem) = 0; // is this a temporary item?

// virtual BOOL PreTranslateMessage(MSG* msg );

// ================== end of virtual functions =======================

// add a single list control item - returns new item number
Expand Down
11 changes: 1 addition & 10 deletions dialogs/world_prefs/genpropertypage.cpp
Expand Up @@ -1492,7 +1492,7 @@ BOOL CGenPropertyPage::OnInitDialog()

// make checkbox
m_cUseTreeViewCtrl.Create(Translate ("Tree Vie&w"),
BS_CHECKBOX | BS_AUTOCHECKBOX | BS_NOTIFY | WS_VISIBLE | WS_CHILD,
BS_CHECKBOX | BS_AUTOCHECKBOX | BS_NOTIFY | WS_VISIBLE | WS_CHILD | WS_TABSTOP,
rCheckBox,
this,
ID_USE_TREEVIEW);
Expand Down Expand Up @@ -1838,12 +1838,3 @@ CEditMultiLine dlg;
return true;
} // end of CGenPropertyPage::EditFilterText

/*
BOOL CGenPropertyPage::PreTranslateMessage(MSG* msg )
{
if( IsDialogMessage( msg ) )
return TRUE;
else
return CWnd::PreTranslateMessage( msg );
}
*/

0 comments on commit aafae28

Please sign in to comment.