Added wxStdDialogButtonSizer, which is a a special sizer that knows
how to order and position standard buttons in order to conform to the current platform's standards. You simply need to add each `wx.Button` to the sizer, and be sure to create the buttons using the standard ID's. Then call `Finalize` and the sizer will take care of the rest. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -308,11 +308,11 @@ public:
|
||||
|
||||
// splits text up at newlines and places the
|
||||
// lines into a vertical wxBoxSizer
|
||||
wxSizer *CreateTextSizer( const wxString &message );
|
||||
wxSizer* CreateTextSizer( const wxString &message );
|
||||
|
||||
// places buttons into a horizontal wxBoxSizer
|
||||
wxSizer *CreateButtonSizer( long flags );
|
||||
|
||||
wxSizer* CreateButtonSizer( long flags );
|
||||
wxStdDialogButtonSizer* CreateStdDialogButtonSizer( long flags );
|
||||
|
||||
//void SetModal(bool flag);
|
||||
|
||||
|
Reference in New Issue
Block a user