X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9416aa89ca06d0fb20b1002e026d2c7ac7aa6a17..5bf2abe34850e0952a44f3be4a4390ea12c55bd0:/wxPython/src/frames.i?ds=sidebyside diff --git a/wxPython/src/frames.i b/wxPython/src/frames.i index 27b589f068..86c9ad7fe6 100644 --- a/wxPython/src/frames.i +++ b/wxPython/src/frames.i @@ -16,6 +16,7 @@ %{ #include "helpers.h" #include +#include %} //---------------------------------------------------------------------- @@ -51,8 +52,13 @@ public: const wxSize& size = wxDefaultSize, long style = wxDEFAULT_FRAME_STYLE, char* name = "frame"); + %name(wxPreFrame)wxFrame(); - %pragma(python) addtomethod = "__init__:#wx._StdFrameCallbacks(self)" + bool Create(wxWindow* parent, const wxWindowID id, const wxString& title, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + long style = wxDEFAULT_FRAME_STYLE, + char* name = "frame"); void Centre(int direction = wxBOTH); wxStatusBar* CreateStatusBar(int number = 1, @@ -86,6 +92,7 @@ public: bool Command(int id); bool ProcessCommand(int id); bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL); + bool IsFullScreen(); }; //--------------------------------------------------------------------------- @@ -97,8 +104,24 @@ public: const wxSize& size = wxDefaultSize, long style = wxDEFAULT_FRAME_STYLE, char* name = "frame"); + %name(wxPreMiniFrame)wxMiniFrame(); + + bool Create(wxWindow* parent, const wxWindowID id, const wxString& title, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + long style = wxDEFAULT_FRAME_STYLE, + char* name = "frame"); +}; + - %pragma(python) addtomethod = "__init__:#wx._StdFrameCallbacks(self)" +//--------------------------------------------------------------------------- + +class wxTipWindow : public wxFrame +{ +public: + wxTipWindow(wxWindow *parent, + const wxString& text, + wxCoord maxLength = 100); };