]> git.saurik.com Git - wxWidgets.git/commitdiff
Also reset DatePicker property editor's global pointer (fixes #11787)
authorJaakko Salli <jaakko.salli@dnainternet.net>
Sun, 10 Oct 2010 08:32:58 +0000 (08:32 +0000)
committerJaakko Salli <jaakko.salli@dnainternet.net>
Sun, 10 Oct 2010 08:32:58 +0000 (08:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/propgrid/advprops.cpp

index 72e1fcfb14867262920d0a33e3827cb96383b03c..dafde5ff54cfe05390b2a3f9b26fb2cbdaf3e317 100644 (file)
@@ -449,6 +449,7 @@ WX_PG_IMPLEMENT_INTERNAL_EDITOR_CLASS(DatePickerCtrl,
 
 wxPGDatePickerCtrlEditor::~wxPGDatePickerCtrlEditor()
 {
+    wxPG_EDITOR(DatePickerCtrl) = NULL;
 }
 
 wxPGWindowList wxPGDatePickerCtrlEditor::CreateControls( wxPropertyGrid* propgrid,