X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/917afc7b81c6f806ea3d50b455f7c4e320ecd68f..b7ba00e77a3f69941d6a2050e67bdfff38b3238e:/include/wx/mgl/toplevel.h diff --git a/include/wx/mgl/toplevel.h b/include/wx/mgl/toplevel.h index 859d9a3849..e11a87d5bd 100644 --- a/include/wx/mgl/toplevel.h +++ b/include/wx/mgl/toplevel.h @@ -3,19 +3,13 @@ // Purpose: Top level window, abstraction of wxFrame and wxDialog // Author: Vaclav Slavik // Id: $Id$ -// Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com) +// Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com) // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - #ifndef __WX_TOPLEVEL_H__ #define __WX_TOPLEVEL_H__ -#ifdef __GNUG__ - #pragma interface "toplevel.h" -#endif - - //----------------------------------------------------------------------------- // wxTopLevelWindowMGL //----------------------------------------------------------------------------- @@ -49,16 +43,16 @@ public: virtual ~wxTopLevelWindowMGL(); // implement base class pure virtuals - virtual void Maximize(bool maximize = TRUE); + virtual void Maximize(bool maximize = true); virtual bool IsMaximized() const; - virtual void Iconize(bool iconize = TRUE); + virtual void Iconize(bool iconize = true); virtual bool IsIconized() const; virtual void Restore(); virtual bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL); virtual bool IsFullScreen() const { return m_fsIsShowing; } - virtual bool Show(bool show = TRUE); + virtual bool Show(bool show = true); virtual void SetTitle(const wxString &title) { m_title = title; } virtual wxString GetTitle() const { return m_title; } @@ -71,16 +65,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__