]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/utils/wxrcedit/propedit.cpp
Added a parameter 'failOnDataTypeUnsupported' to getDbInfo (that defaults to TRUE...
[wxWidgets.git] / contrib / utils / wxrcedit / propedit.cpp
index 07f2d40c009191f065d49e5749a36a25e64d4356..288dd3ee6c10f6fa2dd5ebfaf82e74f3db163d74 100644 (file)
@@ -22,6 +22,7 @@
 #include "propframe.h"
 #include "propedit.h"
 #include "xmlhelpr.h"
+#include "editor.h"
 
 enum
 {
@@ -36,14 +37,15 @@ BEGIN_EVENT_TABLE(PropEditCtrl, wxPanel)
     EVT_BUTTON(ID_DETAILS, PropEditCtrl::OnButtonDetails)
 END_EVENT_TABLE()
 
-void PropEditCtrl::OnButtonDetails(wxCommandEvent& event)
+void PropEditCtrl::OnButtonDetails(wxCommandEvent& WXUNUSED(event))
 {
     OnDetails();
 }
 
-void PropEditCtrl::OnButtonClear(wxCommandEvent& event)
+void PropEditCtrl::OnButtonClear(wxCommandEvent& WXUNUSED(event))
 {
     Clear();
+    EditorFrame::Get()->NotifyChanged(CHANGED_PROPS);        
 }