]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/control.cpp
Use 0 instead of NULL to initialize wxUIntPtr.
[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();