]> git.saurik.com Git - wxWidgets.git/commitdiff
GetValue() converts using wxConv_current...
authorOve Kaaven <ovek@arcticnet.no>
Sat, 24 Apr 1999 22:36:02 +0000 (22:36 +0000)
committerOve Kaaven <ovek@arcticnet.no>
Sat, 24 Apr 1999 22:36:02 +0000 (22:36 +0000)
my app seems to be starting to work in Unicode mode,
will wonders never cease.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/textctrl.cpp
src/gtk1/textctrl.cpp

index d300952a7f3c6580d8992de3d25b70e98458139a..bdbc8e279ffb4f649b56ad3701821dbc0c88d025 100644 (file)
@@ -293,7 +293,7 @@ wxString wxTextCtrl::GetValue() const
     }
     else
     {
-        tmp = gtk_entry_get_text( GTK_ENTRY(m_text) );
+        tmp = wxString(gtk_entry_get_text( GTK_ENTRY(m_text) ),*wxConv_current);
     }
     return tmp;
 }
index d300952a7f3c6580d8992de3d25b70e98458139a..bdbc8e279ffb4f649b56ad3701821dbc0c88d025 100644 (file)
@@ -293,7 +293,7 @@ wxString wxTextCtrl::GetValue() const
     }
     else
     {
-        tmp = gtk_entry_get_text( GTK_ENTRY(m_text) );
+        tmp = wxString(gtk_entry_get_text( GTK_ENTRY(m_text) ),*wxConv_current);
     }
     return tmp;
 }