]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wincmn.cpp
Changed Command to ProcessCommand
[wxWidgets.git] / src / common / wincmn.cpp
index ecd50f67349052e78b91c38d127d4b8d64e5aa73..c8989dd81f43f5846779b1d9c905466ed19e966c 100644 (file)
@@ -109,7 +109,7 @@ END_EVENT_TABLE()
 // ----------------------------------------------------------------------------
 
 // the default initialization
-void wxWindowBase::InitBase()
+wxWindowBase::wxWindowBase()
 {
     // no window yet, no parent nor children
     m_parent = (wxWindow *)NULL;
@@ -812,7 +812,9 @@ bool wxWindowBase::RemoveEventHandler(wxEvtHandler *handler)
             {
                 handlerNext->SetPreviousHandler ( handlerPrev );
             }
+
             handler->SetNextHandler(NULL);
+            handler->SetPreviousHandler(NULL);
 
             return TRUE;
         }