%{
#include "helpers.h"
#include <wx/minifram.h>
-#include <wx/tipwin.h>
%}
//----------------------------------------------------------------------
long style = wxDEFAULT_FRAME_STYLE,
const char* name = "frame");
+ %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
+ %pragma(python) addtomethod = "wxPreTopLevelWindow:val._setOORInfo(val)"
// maximize = TRUE => maximize, otherwise - restore
virtual void Maximize(bool maximize = TRUE);
virtual bool IsIconized() const;
// get the frame icon
- const wxIcon& GetIcon() const;
+ wxIcon GetIcon() const;
// set the frame icon
virtual void SetIcon(const wxIcon& icon);
long style = wxDEFAULT_FRAME_STYLE,
char* name = "frame");
+ %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
+ %pragma(python) addtomethod = "wxPreFrame:val._setOORInfo(val)"
+
wxPoint GetClientAreaOrigin();
void SetMenuBar(wxMenuBar *menubar);
long style = wxDEFAULT_DIALOG_STYLE,
const char* name = "dialogBox");
+ %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
+ %pragma(python) addtomethod = "wxPreDialog:val._setOORInfo(val)"
+
void Centre(int direction = wxBOTH);
void EndModal(int retCode);
void SetModal(bool flag);
const wxSize& size = wxDefaultSize,
long style = wxDEFAULT_FRAME_STYLE,
char* name = "frame");
-};
-
-//---------------------------------------------------------------------------
-
-class wxTipWindow : public wxFrame
-{
-public:
- wxTipWindow(wxWindow *parent,
- const wxString& text,
- wxCoord maxLength = 100);
+ %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
+ %pragma(python) addtomethod = "wxPreMiniFrame:val._setOORInfo(val)"
};
+