From 78cec4eba98da2e776aa81333a27ea0820aa7904 Mon Sep 17 00:00:00 2001 From: Nick Gammon Date: Thu, 21 Oct 2010 18:02:20 +1100 Subject: [PATCH] Minor changes to tree view --- dialogs/world_prefs/genpropertypage.cpp | 4 ++-- dialogs/world_prefs/prefspropertypages.cpp | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/dialogs/world_prefs/genpropertypage.cpp b/dialogs/world_prefs/genpropertypage.cpp index 3375724c..1b306b1e 100644 --- a/dialogs/world_prefs/genpropertypage.cpp +++ b/dialogs/world_prefs/genpropertypage.cpp @@ -1295,13 +1295,13 @@ BOOL CGenPropertyPage::OnInitDialog() wndpl.rcNormalPosition.right = iRight; wndpl.rcNormalPosition.left = wndpl.rcNormalPosition.right - 100; + m_cUseTreeViewCtrl.Create(Translate ("Tree View"), - BS_CHECKBOX | WS_VISIBLE | WS_CHILD | BS_AUTOCHECKBOX, + BS_CHECKBOX | BS_AUTOCHECKBOX | BS_NOTIFY | WS_VISIBLE | WS_CHILD, wndpl.rcNormalPosition, this, ID_USE_TREEVIEW); - // bloody hell! so much work ... LOGFONT logFont; CFont * pFont = GetDlgItem (IDC_COPY)->GetFont(); diff --git a/dialogs/world_prefs/prefspropertypages.cpp b/dialogs/world_prefs/prefspropertypages.cpp index 76055391..65437c2c 100644 --- a/dialogs/world_prefs/prefspropertypages.cpp +++ b/dialogs/world_prefs/prefspropertypages.cpp @@ -2543,7 +2543,6 @@ void CPrefsP7::DoDataExchange(CDataExchange* pDX) DDX_Check(pDX, IDC_USE_DEFAULT_ALIASES, m_bUseDefaultAliases); //}}AFX_DATA_MAP - }