}
}
+void wxTextCtrl::ChangeValue(const wxString& str)
+{
+ // optimize redraws
+ if ( GetValue() == str )
+ return ;
+
+ GetPeer()->SetStringValue( str ) ;
+}
+
void wxTextCtrl::SetMaxLength(unsigned long len)
{
m_maxLength = len ;
GetPeer()->SetSelection( from , to ) ;
}
-bool wxTextCtrl::LoadFile(const wxString& file)
-{
- return wxTextCtrlBase::LoadFile( file );
-}
-
void wxTextCtrl::WriteText(const wxString& str)
{
// TODO: this MPRemoting will be moved into a remoting peer proxy for any command