]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/control.cpp
Rename delegates to try and stop name clashes, probably with wxWebKitCtrl.
[wxWidgets.git] / src / palmos / control.cpp
index 39033e863d4d3c87d377e345e2d8959f6ece8a15..66dd535de7b2720861c1229ee20e74003f1fef92 100644 (file)
@@ -77,8 +77,9 @@ void wxControl::Init()
 
 wxControl::~wxControl()
 {
+    SendDestroyEvent();
+
     SetLabel(wxEmptyString);
-    m_isBeingDeleted = true;
 
     DestroyChildren();