Skip to content

Commit aafae28

Browse files
committed
Made Tree View checkbox to be in the tab order
1 parent 2a15839 commit aafae28

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

dialogs/world_prefs/GenPropertyPage.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,6 @@ class CGenPropertyPage : public CPropertyPage
166166

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

169-
// virtual BOOL PreTranslateMessage(MSG* msg );
170-
171169
// ================== end of virtual functions =======================
172170

173171
// add a single list control item - returns new item number

dialogs/world_prefs/genpropertypage.cpp

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1492,7 +1492,7 @@ BOOL CGenPropertyPage::OnInitDialog()
14921492

14931493
// make checkbox
14941494
m_cUseTreeViewCtrl.Create(Translate ("Tree Vie&w"),
1495-
BS_CHECKBOX | BS_AUTOCHECKBOX | BS_NOTIFY | WS_VISIBLE | WS_CHILD,
1495+
BS_CHECKBOX | BS_AUTOCHECKBOX | BS_NOTIFY | WS_VISIBLE | WS_CHILD | WS_TABSTOP,
14961496
rCheckBox,
14971497
this,
14981498
ID_USE_TREEVIEW);
@@ -1838,12 +1838,3 @@ CEditMultiLine dlg;
18381838
return true;
18391839
} // end of CGenPropertyPage::EditFilterText
18401840

1841-
/*
1842-
BOOL CGenPropertyPage::PreTranslateMessage(MSG* msg )
1843-
{
1844-
if( IsDialogMessage( msg ) )
1845-
return TRUE;
1846-
else
1847-
return CWnd::PreTranslateMessage( msg );
1848-
}
1849-
*/

0 commit comments

Comments
 (0)