X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..08a092f9f4de6c80a2d43d4072c379ac84e6cc2f:/wxPython/src/frames.i?ds=sidebyside diff --git a/wxPython/src/frames.i b/wxPython/src/frames.i index cf4ee91b1b..69fc74db4e 100644 --- a/wxPython/src/frames.i +++ b/wxPython/src/frames.i @@ -16,6 +16,7 @@ %{ #include "helpers.h" #include +#include %} //---------------------------------------------------------------------- @@ -47,8 +48,8 @@ enum { class wxFrame : public wxWindow { public: wxFrame(wxWindow* parent, const wxWindowID id, const wxString& title, - const wxPoint& pos = wxPyDefaultPosition, - const wxSize& size = wxPyDefaultSize, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, long style = wxDEFAULT_FRAME_STYLE, char* name = "frame"); @@ -85,9 +86,8 @@ public: wxPoint GetClientAreaOrigin() const; bool Command(int id); bool ProcessCommand(int id); -#ifdef __WXMSW__ bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL); -#endif + bool IsFullScreen(); }; //--------------------------------------------------------------------------- @@ -95,8 +95,8 @@ public: class wxMiniFrame : public wxFrame { public: wxMiniFrame(wxWindow* parent, const wxWindowID id, const wxString& title, - const wxPoint& pos = wxPyDefaultPosition, - const wxSize& size = wxPyDefaultSize, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, long style = wxDEFAULT_FRAME_STYLE, char* name = "frame"); @@ -106,6 +106,17 @@ public: //--------------------------------------------------------------------------- +class wxTipWindow : public wxFrame +{ +public: + wxTipWindow(wxWindow *parent, + const wxString& text, + wxCoord maxLength = 100); +}; + + +//--------------------------------------------------------------------------- +