X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6afc1b46650ee234868fd4f38526e22a664b6638..d2e66707deb10dea6f92e3e4092f8a43ef942a5d:/src/palmos/control.cpp?ds=inline diff --git a/src/palmos/control.cpp b/src/palmos/control.cpp index 39033e863d..66dd535de7 100644 --- a/src/palmos/control.cpp +++ b/src/palmos/control.cpp @@ -77,8 +77,9 @@ void wxControl::Init() wxControl::~wxControl() { + SendDestroyEvent(); + SetLabel(wxEmptyString); - m_isBeingDeleted = true; DestroyChildren();