Applied modified form of the StdButtonSize patch.
Tested on GTK2, MSW and Mac. Adapted various generic dialogs to stretch the button sizer so that the buttons don't end up centered but right aligned. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -20,6 +20,9 @@
|
||||
#include "wx/containr.h"
|
||||
#include "wx/toplevel.h"
|
||||
|
||||
class WXDLLEXPORT wxSizer;
|
||||
class WXDLLEXPORT wxStdDialogButtonSizer;
|
||||
|
||||
#define wxDIALOG_NO_PARENT 0x0001 // Don't make owned by apps top window
|
||||
|
||||
#ifdef __WXWINCE__
|
||||
@@ -56,6 +59,7 @@ public:
|
||||
#if wxUSE_BUTTON
|
||||
// places buttons into a horizontal wxBoxSizer
|
||||
wxSizer *CreateButtonSizer( long flags );
|
||||
wxStdDialogButtonSizer *CreateStdDialogButtonSizer( long flags );
|
||||
#endif // wxUSE_BUTTON
|
||||
|
||||
protected:
|
||||
|
Reference in New Issue
Block a user