]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/toplevel.h
compilation fix for recent commit
[wxWidgets.git] / include / wx / univ / toplevel.h
index 60ff4e0fa8ef7ec3a67f1a2ad90e44e6e914be4e..bbcf1b24a7b4fe9c274fee5577d566430f73e089 100644 (file)
@@ -35,7 +35,7 @@ enum
     wxTOPLEVEL_BUTTON_MAXIMIZE = 0x02000000,
     wxTOPLEVEL_BUTTON_ICONIZE =  0x04000000,
     wxTOPLEVEL_BUTTON_RESTORE  = 0x08000000,
-    wxTOPLEVEL_BUTTON_HELP     = 0x10000000,    
+    wxTOPLEVEL_BUTTON_HELP     = 0x10000000,
 };
 
 // frame hit test return values:
@@ -115,14 +115,15 @@ public:
 
     // implementation from now on
     // --------------------------
-    
+
     // tests for frame's part at given point
     long HitTest(const wxPoint& pt) const;
 
-protected:
     virtual bool PerformAction(const wxControlAction& action,
                                long numArg = -1,
                                const wxString& strArg = wxEmptyString);
+
+protected:
     // handle titlebar button click event
     virtual void ClickTitleBarButton(long button);
 
@@ -133,12 +134,14 @@ protected:
 
     // common part of all ctors
     void Init();
-    
+
     void RefreshTitleBar();
     void OnNcPaint(wxPaintEvent& event);
 
     // TRUE if wxTLW should render decorations (aka titlebar) itself
     static int ms_drawDecorations;
+    // TRUE if wxTLW can be iconized
+    static int ms_canIconize;
     // true for currently active frame
     bool m_isActive:1;
     // version of icon for titlebar (16x16)