Updates for CreateButtonSizer

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2006-01-20 17:26:29 +00:00
parent 893d597c7b
commit 1631143c6f

View File

@ -279,6 +279,14 @@ MustHaveApp(wxDialog);
class wxDialog : public wxTopLevelWindow {
public:
enum
{
// all flags allowed in wxDialogBase::CreateButtonSizer()
ButtonSizerFlags = wxOK|wxCANCEL|wxYES|wxNO|wxHELP|wxNO_DEFAULT
};
%pythonAppend wxDialog "self._setOORInfo(self)"
%pythonAppend wxDialog() ""
%typemap(out) wxDialog*; // turn off this typemap
@ -314,7 +322,9 @@ public:
wxSizer* CreateTextSizer( const wxString &message );
// places buttons into a horizontal wxBoxSizer
wxSizer* CreateButtonSizer( long flags );
wxSizer* CreateButtonSizer( long flags,
bool separated = false,
wxCoord distance = 0 );
wxStdDialogButtonSizer* CreateStdDialogButtonSizer( long flags );
//void SetModal(bool flag);