]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/textctrl.cpp
1. fixed Maximise() mismatch between wxFrame and wxMDIFrame
[wxWidgets.git] / src / gtk / textctrl.cpp
index 93d3bf216b8a8913d50830a307da3f59b92cbc22..9739c45681107e156f27c2c07e0fae9a6be427d8 100644 (file)
@@ -390,7 +390,7 @@ void wxTextCtrl::AppendText( const wxString &text )
                               m_font.GetInternalFont(),
                               m_foregroundColour.GetColor(),
                               m_backgroundColour.GetColor(),
                               m_font.GetInternalFont(),
                               m_foregroundColour.GetColor(),
                               m_backgroundColour.GetColor(),
-                              text, text.length());
+                              text.mbc_str(), text.length());
 
         }
         else
 
         }
         else