]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/textentry.cpp
Update Basque translations after wxGetTranslation() strings addition.
[wxWidgets.git] / src / gtk / textentry.cpp
index 1f38fa69c75b6665d61ed89e51110198aa78aa62..0c15570343dbc77eec7570905dc8b00a1a67c781 100644 (file)
@@ -3,7 +3,6 @@
 // Purpose:     wxTextEntry implementation for wxGTK
 // Author:      Vadim Zeitlin
 // Created:     2007-09-24
-// RCS-ID:      $Id$
 // Copyright:   (c) 2007 Vadim Zeitlin <vadim@wxwindows.org>
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
@@ -117,21 +116,21 @@ static void
 wx_gtk_copy_clipboard_callback( GtkWidget *widget, wxWindow *win )
 {
     DoHandleClipboardCallback(
-        widget, win, wxEVT_COMMAND_TEXT_COPY, "copy-clipboard" );
+        widget, win, wxEVT_TEXT_COPY, "copy-clipboard" );
 }
 
 static void
 wx_gtk_cut_clipboard_callback( GtkWidget *widget, wxWindow *win )
 {
     DoHandleClipboardCallback(
-        widget, win, wxEVT_COMMAND_TEXT_CUT, "cut-clipboard" );
+        widget, win, wxEVT_TEXT_CUT, "cut-clipboard" );
 }
 
 static void
 wx_gtk_paste_clipboard_callback( GtkWidget *widget, wxWindow *win )
 {
     DoHandleClipboardCallback(
-        widget, win, wxEVT_COMMAND_TEXT_PASTE, "paste-clipboard" );
+        widget, win, wxEVT_TEXT_PASTE, "paste-clipboard" );
 }
 
 } // extern "C"
@@ -402,11 +401,11 @@ void wxTextEntry::SetMaxLength(unsigned long len)
 void wxTextEntry::SendMaxLenEvent()
 {
     // remember that the next changed signal is to be ignored to avoid
-    // generating a dummy wxEVT_COMMAND_TEXT_UPDATED event
+    // generating a dummy wxEVT_TEXT event
     //IgnoreNextTextUpdate();
 
     wxWindow * const win = GetEditableWindow();
-    wxCommandEvent event(wxEVT_COMMAND_TEXT_MAXLEN, win->GetId());
+    wxCommandEvent event(wxEVT_TEXT_MAXLEN, win->GetId());
     event.SetEventObject(win);
     event.SetString(GetValue());
     win->HandleWindowEvent(event);