]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/config.cpp
Fixed an incorrect behaviour in ResetBuffer()
[wxWidgets.git] / src / common / config.cpp
index f93307ed0f113c7934dbd2c58c9ce961c5b4ed9e..19822e46912a335c1d6efe3e886a9e76118683b5 100644 (file)
@@ -196,6 +196,11 @@ bool wxConfigBase::Write(const wxString& key, bool value)
     return Write(key, l);
 }
 
+bool wxConfigBase::Write( const wxString &key, const wxChar *text )
+{
+       wxString str( text ) ;
+       return Write( key, str ) ;
+}
 wxString wxConfigBase::ExpandEnvVars(const wxString& str) const
 {
     wxString tmp; // Required for BC++