SetPropertyValue(prop, wxChar*) -> (prop, char*) and (prop, wxchar_t*)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2008-09-29 17:04:38 +00:00
parent 020b004113
commit a6f2417d81

View File

@@ -1094,7 +1094,13 @@ public:
wxVariant v(value); wxVariant v(value);
SetPropVal( id, v ); SetPropVal( id, v );
} }
void SetPropertyValue( wxPGPropArg id, const wxChar* value ) #if wxUSE_WCHAR_T
void SetPropertyValue( wxPGPropArg id, const wchar_t* value )
{
SetPropertyValueString( id, wxString(value) );
}
#endif
void SetPropertyValue( wxPGPropArg id, const char* value )
{ {
SetPropertyValueString( id, wxString(value) ); SetPropertyValueString( id, wxString(value) );
} }