- void InitDialog();
- wxButton* GetDefaultItem();
- void SetDefaultItem(wxButton *btn);
-
-};
-
-//---------------------------------------------------------------------------
-
-class wxDialog : public wxPanel {
-public:
- wxDialog(wxWindow* parent,
- const wxWindowID id,
- const wxString& title,
- const wxPoint& pos = wxDefaultPosition,
- const wxSize& size = wxDefaultSize,
- long style = wxDEFAULT_DIALOG_STYLE,
- const char* name = "dialogBox");
- %name(wxPreDialog)wxDialog();
-
- bool Create(wxWindow* parent,
- const wxWindowID id,
- const wxString& title,
- const wxPoint& pos = wxDefaultPosition,
- const wxSize& size = wxDefaultSize,
- long style = wxDEFAULT_DIALOG_STYLE,
- const char* name = "dialogBox");
+ %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
+ %pragma(python) addtomethod = "wxPrePanel:val._setOORInfo(val)"