fix saving/restoring size when WM supports _NET_FRAME_EXTENTS but not _NET_REQUEST_FRAME_EXTENTS

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2008-12-24 07:51:15 +00:00
parent 6a5a7fba9d
commit 11d8dfd2fb
2 changed files with 26 additions and 10 deletions

View File

@@ -90,8 +90,6 @@ public:
GtkWidget *m_mainWidget;
bool m_deferShow;
bool m_fsIsShowing; /* full screen */
int m_fsSaveGdkFunc, m_fsSaveGdkDecor;
wxRect m_fsSaveFrame;
@@ -138,6 +136,8 @@ protected:
// string shown in the title bar
wxString m_title;
bool m_deferShow;
private:
wxSize& GetCachedDecorSize();
@@ -146,6 +146,8 @@ private:
// is the frame currently grabbed explicitly by the application?
bool m_grabbed;
bool m_updateDecorSize;
};
#endif // _WX_GTK_TOPLEVEL_H_