]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/textctrl.cpp
don't use assert dialog under wxDFB, it does more harm than good
[wxWidgets.git] / src / os2 / textctrl.cpp
index 1c7014d733d23ba0c6b57be535ba6966ee61b6a6..88178bf957947bd4658105e7e3c7dd0390f10e8d 100644 (file)
@@ -1049,7 +1049,7 @@ void wxTextCtrl::OnChar(
                 wxCommandEvent      vEvent(wxEVT_COMMAND_TEXT_ENTER, m_windowId);
 
                 vEvent.SetEventObject(this);
-                if ( GetEventHandler()->ProcessEvent(vEvent))
+                if ( HandleWindowEvent(vEvent))
                     return;
             }
             //else: multiline controls need Enter for themselves
@@ -1071,7 +1071,7 @@ void wxTextCtrl::OnChar(
                 vEventNav.SetWindowChange(false);
                 vEventNav.SetEventObject(this);
 
-                if ( GetEventHandler()->ProcessEvent(vEventNav) )
+                if ( HandleWindowEvent(vEventNav) )
                     return;
             }
             break;
@@ -1095,7 +1095,7 @@ bool wxTextCtrl::OS2Command(
                                           );
 
                 vEvent.SetEventObject(this);
-                GetEventHandler()->ProcessEvent(vEvent);
+                HandleWindowEvent(vEvent);
             }
             break;