]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/textctrl.cpp
Add support for stretchable spaces to wxToolBar.
[wxWidgets.git] / src / x11 / textctrl.cpp
index 02692fea0fbd8b0e5c93b95a6ae9cf45b289bbcf..9cb89389452c2c63092f567b721bb20516ff7f28 100644 (file)
@@ -1901,7 +1901,7 @@ void wxTextCtrl::OnChar( wxKeyEvent &event )
                 wxCommandEvent event(wxEVT_COMMAND_TEXT_ENTER, m_windowId);
                 event.SetEventObject(this);
                 event.SetString(GetValue());
-                if (GetEventHandler()->ProcessEvent(event)) return;
+                if (HandleWindowEvent(event)) return;
             }
 
             if (IsSingleLine())
@@ -2375,18 +2375,6 @@ wxSize wxTextCtrl::DoGetBestSize() const
     }
 }
 
-// ----------------------------------------------------------------------------
-// freeze/thaw
-// ----------------------------------------------------------------------------
-
-void wxTextCtrl::Freeze()
-{
-}
-
-void wxTextCtrl::Thaw()
-{
-}
-
 void wxTextCtrl::OnSetFocus( wxFocusEvent& event )
 {
     // To hide or show caret, as appropriate