]> git.saurik.com Git - wxWidgets.git/blobdiff - src/propgrid/props.cpp
Added ability to switch off more components of the size page UI
[wxWidgets.git] / src / propgrid / props.cpp
index 12075f88db313f0e29f09f02fa14b531a769bda8..7228b910e7ee61ac97c3ab1f33d5eae25974f103 100644 (file)
@@ -1127,7 +1127,7 @@ bool wxEnumProperty::ValueFromString_( wxVariant& value, const wxString& text, i
 
     bool asText = false;
 
-    bool isEdit = this->IsKindOf(CLASSINFO(wxEditEnumProperty));
+    bool isEdit = this->IsKindOf(wxCLASSINFO(wxEditEnumProperty));
 
     // If text not any of the choices, store as text instead
     // (but only if we are wxEditEnumProperty)
@@ -2537,7 +2537,8 @@ wxArrayStringProperty::ArrayStringToString( wxString& dst,
     if ( flags & Escape )
     {
         preas = delimiter;
-        pdr = wxS("\\") + static_cast<wchar_t>(delimiter);
+        pdr = wxS("\\");
+        pdr += delimiter;
     }
 
     if ( itemCount )