really fixed wxConfig bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -206,6 +206,12 @@ bool wxConfigBase::Write(const wxString& key, bool value)
|
||||
return Write(key, value ? 1l : 0l);
|
||||
}
|
||||
|
||||
bool wxConfigBase::Write(const wxString& key, const wxChar *value)
|
||||
{
|
||||
// explicit cast needed, otherwise value would have been converted to bool
|
||||
return Write(key, wxString(value));
|
||||
}
|
||||
|
||||
wxString wxConfigBase::ExpandEnvVars(const wxString& str) const
|
||||
{
|
||||
wxString tmp; // Required for BC++
|
||||
|
Reference in New Issue
Block a user