From: Jaakko Salli Date: Sun, 10 Oct 2010 08:32:58 +0000 (+0000) Subject: Also reset DatePicker property editor's global pointer (fixes #11787) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b3ecee8d120ac8af59cbf82b00d4c7da9f648f53?ds=sidebyside;hp=32742d3d9d77bbfdc6d15e3bfb499acbbafb40dd Also reset DatePicker property editor's global pointer (fixes #11787) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/propgrid/advprops.cpp b/src/propgrid/advprops.cpp index 72e1fcfb14..dafde5ff54 100644 --- a/src/propgrid/advprops.cpp +++ b/src/propgrid/advprops.cpp @@ -449,6 +449,7 @@ WX_PG_IMPLEMENT_INTERNAL_EDITOR_CLASS(DatePickerCtrl, wxPGDatePickerCtrlEditor::~wxPGDatePickerCtrlEditor() { + wxPG_EDITOR(DatePickerCtrl) = NULL; } wxPGWindowList wxPGDatePickerCtrlEditor::CreateControls( wxPropertyGrid* propgrid,