]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/utils.h
remove wxWINT_T_IS_TYPEDEF as it seems wint_t is always a typedef (although it can...
[wxWidgets.git] / include / wx / utils.h
index 443289203c6fa8a5aa81ce463e4ddb9d1b49c485..ac8d98e01d6fee76eee9e840d007f779eeb47676 100644 (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);