Added ShowFullScreen

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2000-02-08 19:14:50 +00:00
parent 72174350ae
commit a2327a9f80
10 changed files with 228 additions and 10 deletions

View 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,17 @@ protected:
static bool m_useNativeStatusBar;
#endif // wxUSE_STATUSBAR
// 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;