(ugh, I need to get a faster computer)
Applied the more beautiful compilation fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -288,11 +288,7 @@ wxString wxTextCtrl::GetValue() const
|
||||
{
|
||||
gint len = gtk_text_get_length( GTK_TEXT(m_text) );
|
||||
char *text = gtk_editable_get_chars( GTK_EDITABLE(m_text), 0, len );
|
||||
#if wxUSE_UNICODE
|
||||
tmp = wxString(text,*wxConv_current);
|
||||
#else
|
||||
tmp = text;
|
||||
#endif
|
||||
g_free( text );
|
||||
}
|
||||
else
|
||||
|
@@ -288,11 +288,7 @@ wxString wxTextCtrl::GetValue() const
|
||||
{
|
||||
gint len = gtk_text_get_length( GTK_TEXT(m_text) );
|
||||
char *text = gtk_editable_get_chars( GTK_EDITABLE(m_text), 0, len );
|
||||
#if wxUSE_UNICODE
|
||||
tmp = wxString(text,*wxConv_current);
|
||||
#else
|
||||
tmp = text;
|
||||
#endif
|
||||
g_free( text );
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user