]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/control.cpp
always dispatch messages for the hidden window which receives process termination...
[wxWidgets.git] / src / os2 / control.cpp
index 0c53e236b9234cd18be7164ea879812b14db11b8..e490804a2f8b0ae440872736443669f58f741b27 100644 (file)
@@ -60,11 +60,6 @@ bool wxControl::Create( wxWindow*           pParent,
     return bRval;
 } // end of wxControl::Create
 
-wxControl::~wxControl()
-{
-    m_isBeingDeleted = true;
-}
-
 bool wxControl::OS2CreateControl( const wxChar* zClassname,
                                   const wxString& rsLabel,
                                   const wxPoint& rPos,
@@ -152,9 +147,7 @@ bool wxControl::OS2CreateControl( const wxChar*   zClassname,
 
     if ( !m_hWnd )
     {
-#ifdef __WXDEBUG__
         wxLogError(wxT("Failed to create a control of class '%s'"), zClassname);
-#endif // DEBUG
 
         return false;
     }