]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/propdlg.cpp
Fix crash when editing wxDVC items in place in wxOSX/Cocoa.
[wxWidgets.git] / src / generic / propdlg.cpp
index b61825d1f2670edd54b541a0b0e10d89e4753f34..54a49b5dfad8ed6803ac5d47bd86df99cebcaacd 100644 (file)
@@ -120,7 +120,7 @@ void wxPropertySheetDialog::CreateButtons(int flags)
     wxSystemOptions::SetOption(optionName,0);
 #endif
 
-    wxSizer *buttonSizer = CreateButtonSizer( flags & ButtonSizerFlags );
+    wxSizer *buttonSizer = CreateButtonSizer(flags);
     if( buttonSizer )
     {
         m_innerSizer->Add( buttonSizer, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxTOP|wxBOTTOM|wxLEFT|wxRIGHT, 2);