changed wxPlatform implicit conversion to string to return const reference to wxString instead of const wxString object

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2007-03-16 20:10:17 +00:00
parent 37867b24f6
commit f8087c0d2c

View File

@ -171,7 +171,7 @@ public:
operator int() const { return (int) GetInteger(); }
operator long() const { return GetInteger(); }
operator double() const { return GetDouble(); }
operator const wxString() const { return GetString(); }
operator const wxString&() const { return GetString(); }
operator const wxChar*() const { return (const wxChar*) GetString(); }
static void AddPlatform(int platform);