provide both const char* and const wchar_t* implicit conversion of wxCStrData regardless of the build type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -269,6 +269,9 @@ public:
|
||||
{ DoPut( value, lhash, object ); }
|
||||
void Put(const wxChar *value, wxObject *object)
|
||||
{ DoPut( value, MakeKey( value ), object ); }
|
||||
// FIXME-UTF8: have only wxString forms here
|
||||
void Put(const wxString& value, wxObject *object)
|
||||
{ DoPut( value, MakeKey( value ), object ); }
|
||||
void Put(long lhash, const wxChar *value, wxObject *object)
|
||||
{ DoPut( value, lhash, object ); }
|
||||
|
||||
@@ -279,6 +282,9 @@ public:
|
||||
{ return (wxObject*)DoGet( value, lhash ); }
|
||||
wxObject *Get(const wxChar *value) const
|
||||
{ return (wxObject*)DoGet( value, MakeKey( value ) ); }
|
||||
// FIXME-UTF8: have only wxString forms here
|
||||
wxObject *Get(const wxString& value) const
|
||||
{ return (wxObject*)DoGet( value, MakeKey( value ) ); }
|
||||
wxObject *Get(long lhash, const wxChar *value) const
|
||||
{ return (wxObject*)DoGet( value, lhash ); }
|
||||
|
||||
@@ -289,6 +295,9 @@ public:
|
||||
{ return (wxObject*)DoDelete( key, lhash ); }
|
||||
wxObject *Delete(const wxChar *key)
|
||||
{ return (wxObject*)DoDelete( key, MakeKey( key ) ); }
|
||||
// FIXME-UTF8: have only wxString forms here
|
||||
wxObject *Delete(const wxString& key)
|
||||
{ return (wxObject*)DoDelete( key, MakeKey( key ) ); }
|
||||
wxObject *Delete(long lhash, const wxChar *key)
|
||||
{ return (wxObject*)DoDelete( key, lhash ); }
|
||||
|
||||
|
Reference in New Issue
Block a user