Avoid GTK+ errors when using AUI wxPseudoTransparentFrame hack.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 15 Dec 2009 22:44:54 +0000 (22:44 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 15 Dec 2009 22:44:54 +0000 (22:44 +0000)
commit9337df1f34466437c4dc52fac9a47d9d73f4c71d
tree0ea6dd5f97350a80d829dd1c076fe8abb0ed7bb8
parentc15cc7fa26aca73d2eab742e3d4f2e633c1af455
Avoid GTK+ errors when using AUI wxPseudoTransparentFrame hack.

wxPseudoTransparentFrame is not a top level window at all and the code in
wxGTK wxTopLevelWindow::DoSetSizeHints() fails for it when it is called from
wxWindowBase::CreateBase() because of it and spits GTK+ errors as it calls
gtk_window_set_geometry_hints() with NULL widget.

Fix this by simply skipping wxTopLevelWindow implementation of this method in
wxPseudoTransparentFrame. A better fix would be to get rid of this hack
completely, of course.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/aui/framemanager.cpp