Restore ability to have a much lower runtime GTK version than build time - down to 2.4 (2.0 is still broken from gtk_combo_box_entry_new)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2668,7 +2668,7 @@ void wxWindowGTK::PostCreation()
|
||||
this);
|
||||
}
|
||||
#ifdef GTK_IS_FILE_CHOOSER_BUTTON
|
||||
else if (GTK_IS_FILE_CHOOSER_BUTTON(m_widget))
|
||||
else if (!gtk_check_version(2,6,0) && GTK_IS_FILE_CHOOSER_BUTTON(m_widget))
|
||||
{
|
||||
// If we connect to the "size_request" signal of a GtkFileChooserButton
|
||||
// then that control won't be sized properly when placed inside sizers
|
||||
|
Reference in New Issue
Block a user