]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/proplist.cpp
Slider Updates
[wxWidgets.git] / src / generic / proplist.cpp
index 03a78cd577ca605faed05e878bcb7e8d02062815..a9e3b83c39ecbe170c1303b9a63d63dba844962a 100644 (file)
@@ -416,8 +416,7 @@ bool wxPropertyListView::CreateControls()
     if (!panel)
         return FALSE;
 
-    wxSystemSettings settings;
-    wxFont guiFont = settings.GetSystemFont(wxSYS_DEFAULT_GUI_FONT);
+    wxFont guiFont = wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT);
 
 #ifdef __WXMSW__
     wxFont *boringFont =
@@ -590,6 +589,7 @@ void wxPropertyListView::OnOk(wxCommandEvent& event)
   OnCheck(event);
 
   m_managedWindow->Close(TRUE);
+  sm_dialogCancelled = FALSE;
 }
 
 void wxPropertyListView::OnCancel(wxCommandEvent& WXUNUSED(event))