return size without decorations from size_request GTK callback in wxTLW

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-02-15 12:38:55 +00:00
parent f030b28c93
commit 6e26499721
3 changed files with 31 additions and 3 deletions

View File

@@ -2556,7 +2556,7 @@ void wxWindowGTK::PostCreation()
// FIXME: what should be done here ?
}
#endif
else
else if ( !IsTopLevel() ) // top level windows use their own callback
{
// This is needed if we want to add our windows into native
// GTK controls, such as the toolbar. With this callback, the