]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mgl/toplevel.h
Include filefn.h always (or problems on at least Mac)
[wxWidgets.git] / include / wx / mgl / toplevel.h
index 859d9a3849fc12757935cdb58760fcc5396f0cdc..f7c47f5c6b1dfd9080b6774fec4681be8cb0b859 100644 (file)
@@ -3,7 +3,7 @@
 // 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
 /////////////////////////////////////////////////////////////////////////////
 
@@ -11,7 +11,7 @@
 #ifndef __WX_TOPLEVEL_H__
 #define __WX_TOPLEVEL_H__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "toplevel.h"
 #endif
 
@@ -71,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__