]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/frame.h
Committing in .
[wxWidgets.git] / include / wx / msw / frame.h
index 4294359921a0830927d1f9efe2fab6b429bdefb6..410081887e0d78ff3f0dfe08a18742b6cbb8d2d6 100644 (file)
@@ -52,6 +52,8 @@ public:
     virtual void Restore();
     virtual void SetMenuBar(wxMenuBar *menubar);
     virtual void SetIcon(const wxIcon& icon);
+    virtual bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL);
+    virtual bool IsFullScreen() const { return m_fsIsShowing; };
 
     // implementation only from now on
     // -------------------------------
@@ -147,6 +149,20 @@ protected:
     static bool           m_useNativeStatusBar;
 #endif // wxUSE_STATUSBAR
 
+    // the last focused child: we restore focus to it on activation
+    wxWindow             *m_winLastFocused;
+
+    // Data to save/restore when calling ShowFullScreen
+    long                  m_fsStyle; // Passed to ShowFullScreen
+    wxRect                m_fsOldSize;
+    long                  m_fsOldWindowStyle;
+    int                   m_fsStatusBarFields; // 0 for no status bar
+    int                   m_fsStatusBarHeight;
+    int                   m_fsToolBarHeight;
+//    WXHMENU               m_fsMenu;
+    bool                  m_fsIsMaximized;
+    bool                  m_fsIsShowing;
+
 private:
 #if wxUSE_TOOLTIPS
     WXHWND                m_hwndToolTip;