]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/clntdata.h
removed mentions of wxUSE_OWNER_DRAWN: unless I miss something, this doesn't make...
[wxWidgets.git] / include / wx / clntdata.h
index a38fa3c5851b42d78211b8d6520fc38b07b66362..7e6c5f3235febc9b221d8c9e1f0b835b10dbebc3 100644 (file)
@@ -20,6 +20,8 @@
 #include "wx/string.h"
 #include "wx/hashmap.h"
 
+#if wxABI_VERSION >= 20602
+
 typedef int (*wxShadowObjectMethod)(void*, void*);
 WX_DECLARE_STRING_HASH_MAP_WITH_DECL(
     wxShadowObjectMethod,
@@ -88,6 +90,8 @@ private:
     wxShadowObjectFields    m_fields;
 };
 
+#endif // wxABI_VERSION
+
 // ----------------------------------------------------------------------------
 
 // what kind of client data do we have?
@@ -162,8 +166,9 @@ protected:
 
 };
 
-// not Motif-specific, but currently used only under Motif
-#ifdef __WXMOTIF__
+// not Motif-specific, but currently used only under Motif,
+// compiled to make wxMotif and wxGTK base libraries compatible
+#if defined(__WXMOTIF__) || wxABI_VERSION >= 20602
 
 #include <wx/vector.h>