]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/textctrl.cpp
fixed the vsprintf() problem once and for all
[wxWidgets.git] / src / msw / textctrl.cpp
index dc70319e757c3a7c804e0024ba155fa57e0d681a..210c08d785cf788fc3570d7b214a6430acca6f0e 100644 (file)
@@ -1034,7 +1034,7 @@ bool wxTextCtrl::MSWCommand(WXUINT param, WXWORD WXUNUSED(id))
                                                  : wxEVT_SET_FOCUS,
                            m_windowId);
         event.SetEventObject( this );
-        ProcessEvent(event);
+        GetEventHandler()->ProcessEvent(event);
       }
       break;
 
@@ -1083,7 +1083,7 @@ bool wxTextCtrl::MSWNotify(WXWPARAM wParam, WXLPARAM lParam)
   event.SetEventObject( this );
   event.SetEventType(eventType);
 
-  if ( !ProcessEvent(event) )
+  if ( !GetEventHandler()->ProcessEvent(event) )
     return FALSE;
 
     return TRUE;