]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/textctrl.cpp
Always use XPMs in this sample
[wxWidgets.git] / src / mac / textctrl.cpp
index 8fb67180e8cb81f9fc34769208013e804ffa9791..a28eb9241c6e5450c5a99eee2c2ef37672523af0 100644 (file)
@@ -1174,7 +1174,7 @@ long wxTextCtrl::GetLastPosition() const
 void wxTextCtrl::Replace(long from, long to, const wxString& str)
 {
     wxString value = str ;
-    wxMacConvertNewlines13To10( &st ) ;
+    wxMacConvertNewlines13To10( &value ) ;
     if ( !m_macUsesTXN )
     {
         ControlEditTextSelectionRec selection ;