Fix conflicting sizer flags in wxWizard under wxOSX.
Don't use wxGROW and wxALIGN_CENTRE together in a wxBoxSizer, this doesn't make sense as the latter is just ignored. Also use wxEXPAND instead of wxGROW for consistency with the flags elsewhere in the same file. Closes #17063.
This commit is contained in:
@@ -411,7 +411,7 @@ void wxWizard::AddButtonRow(wxBoxSizer *mainColumn)
|
|||||||
mainColumn->Add(
|
mainColumn->Add(
|
||||||
buttonRow,
|
buttonRow,
|
||||||
0, // Vertically unstretchable
|
0, // Vertically unstretchable
|
||||||
wxGROW|wxALIGN_CENTRE
|
wxEXPAND
|
||||||
);
|
);
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user