Added GTKShouldConnectSizeRequest() to prevent size_request handling.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 5 Oct 2009 22:54:46 +0000 (22:54 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 5 Oct 2009 22:54:46 +0000 (22:54 +0000)
commit92153555cf08cc818d6f4becfc1576d9c2add023
tree68799da0a21d85cc696a538fcecd85a513742a84
parentdcd18dd3002051ae93bfc1a91dff4a3d788fc146
Added GTKShouldConnectSizeRequest() to prevent size_request handling.

Don't hard code the exception for GtkFileChooserButton in
wxWindow::PostCreation() in wxGTK, handling size_request signal also breaks
other controls (e.g. upcoming wxInfoBar native implementation). Instead,
define a virtual function which may be overridden to return false if
size_request shouldn't be connected.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/gtk/filepicker.h
include/wx/gtk/window.h
src/gtk/window.cpp