]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/textentry.cpp
Remove unnecessary IsRadioButton().
[wxWidgets.git] / src / gtk / textentry.cpp
index 2d1f8686665620a113104c8498d43b08103a040d..f96aa09b508e7138784bf92b28e9e749e7c853c6 100644 (file)
@@ -313,7 +313,7 @@ void wxTextEntry::SendMaxLenEvent()
     wxCommandEvent event(wxEVT_COMMAND_TEXT_MAXLEN, win->GetId());
     event.SetEventObject(win);
     event.SetString(GetValue());
     wxCommandEvent event(wxEVT_COMMAND_TEXT_MAXLEN, win->GetId());
     event.SetEventObject(win);
     event.SetString(GetValue());
-    win->GetEventHandler()->ProcessEvent(event);
+    win->HandleWindowEvent(event);
 }
 
 #endif // wxUSE_TEXTCTRL || wxUSE_COMBOBOX
 }
 
 #endif // wxUSE_TEXTCTRL || wxUSE_COMBOBOX