update GTK size hints when window decorations change

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2008-02-26 06:14:32 +00:00
parent dee851ec9f
commit 81b0235f13
2 changed files with 49 additions and 50 deletions

View File

@@ -114,6 +114,8 @@ public:
// return the size of the window without WM decorations
void GTKDoGetSize(int *width, int *height) const;
void GTKUpdateDecorSize(const wxSize& decorSize);
protected:
// give hints to the Window Manager for how the size
// of the TLW can be changed by dragging
@@ -143,6 +145,8 @@ private:
// is the frame currently grabbed explicitly by the application?
bool m_grabbed;
wxSize m_sizeIncHint;
};
#endif // _WX_GTK_TOPLEVEL_H_