remove confusing wxDialog::ButtonSizerFlags and extract button styles properly in each generic dialog implementation instead (closes #9836)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user