X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7d9f12f3b9f997b6308faf336d5381be591b71f4..af01f1ba0d697c07173f436ab661b4c833258a91:/include/wx/mgl/toplevel.h?ds=sidebyside diff --git a/include/wx/mgl/toplevel.h b/include/wx/mgl/toplevel.h index 8ed3a91b60..8753702958 100644 --- a/include/wx/mgl/toplevel.h +++ b/include/wx/mgl/toplevel.h @@ -58,6 +58,8 @@ public: virtual bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL); virtual bool IsFullScreen() const { return m_fsIsShowing; } + virtual bool Show(bool show = TRUE); + virtual void SetTitle(const wxString &title) { m_title = title; } virtual wxString GetTitle() const { return m_title; } @@ -69,16 +71,19 @@ protected: void Init(); wxString m_title; - bool m_fsIsShowing; /* full screen */ + bool m_fsIsShowing:1; /* full screen */ long m_fsSaveStyle; long m_fsSaveFlag; wxRect m_fsSaveFrame; // is the frame currently iconized? - bool m_isIconized; + bool m_isIconized:1; // and maximized? - bool m_isMaximized; + bool m_isMaximized:1; wxRect m_savedFrame; + + // did we sent wxSizeEvent at least once? + bool m_sizeSet:1; }; #endif // __WX_TOPLEVEL_H__