]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/deprecated/prop.cpp
fixed indentation in case there's only one cell on line
[wxWidgets.git] / contrib / src / deprecated / prop.cpp
index b1af196e3612cd67b83e7193db6d85f3b59a6725..1abb44d20d4d3951dadcdbc79f77e0e741e926f9 100644 (file)
 #include <math.h>
 #include <string.h>
 
+#if !WXWIN_COMPATIBILITY_2_4
 static inline wxChar* copystring(const wxChar* s)
     { return wxStrcpy(new wxChar[wxStrlen(s) + 1], s); }
+#endif
 
 IMPLEMENT_DYNAMIC_CLASS(wxPropertyValue, wxObject)
 
@@ -1078,7 +1080,7 @@ wxPropertyValidator *wxPropertyValidatorRegistry::GetValidator(const wxString& t
 void wxPropertyValidatorRegistry::ClearRegistry(void)
 {
   BeginFind();
-  wxNode *node;
+  wxHashTable::Node *node;
   while ((node = Next()) != NULL)
   {
     delete (wxPropertyValidator *)node->GetData();