]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/textctrl.cpp
Don't append extension if it contains wildcards in wxGTK wxFileDialog.
[wxWidgets.git] / src / gtk / textctrl.cpp
index 629a6fbfae7d315c04ae4fc56ce469173249a6ee..10a90eaad78622c769de2343fc33f5984a2ad886 100644 (file)
@@ -1618,7 +1618,7 @@ void wxTextCtrl::OnChar( wxKeyEvent &key_event )
     {
         if ( HasFlag(wxTE_PROCESS_ENTER) )
         {
-            wxCommandEvent event(wxEVT_COMMAND_TEXT_ENTER, m_windowId);
+            wxCommandEvent event(wxEVT_TEXT_ENTER, m_windowId);
             event.SetEventObject(this);
             event.SetString(GetValue());
             if ( HandleWindowEvent(event) )