]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/proplist.cpp
Moved the cleanup code to an EVT_WINDOW_DESTROY handler.
[wxWidgets.git] / src / generic / proplist.cpp
index e7e46279151cd54816c6017660c54a09750009f3..a9e3b83c39ecbe170c1303b9a63d63dba844962a 100644 (file)
@@ -589,6 +589,7 @@ void wxPropertyListView::OnOk(wxCommandEvent& event)
   OnCheck(event);
 
   m_managedWindow->Close(TRUE);
+  sm_dialogCancelled = FALSE;
 }
 
 void wxPropertyListView::OnCancel(wxCommandEvent& WXUNUSED(event))