]> git.saurik.com Git - wxWidgets.git/commit
Fix GTK+ errors during wxFilePickerCtrl destruction after recent changes.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 22 May 2013 13:36:10 +0000 (13:36 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 22 May 2013 13:36:10 +0000 (13:36 +0000)
commit3ca5e2db2da8c7356df54f8232aeb62bc949affa
tree24a1cbe24c94b03c3435dc5712cb4b764f7ef7c5
parent50f12a63130b81796ea531c59af97f0544cf158d
Fix GTK+ errors during wxFilePickerCtrl destruction after recent changes.

We do need to destroy the dialog (see #15156), but we must not destroy its
GtkWidget as it is owned by GtkFileChooserButton itself, so amend the changes
of r74030 to only destroy the C++ object, not GTK+ one.

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