]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xmlres.h
added selecting-while-dragging
[wxWidgets.git] / include / wx / xrc / xmlres.h
index 7da09a94a569988a0506c3c5581503d40acbd687..7500a893b01c4086a6e832231738d928d4ed567f 100644 (file)
@@ -472,11 +472,13 @@ public:
    Backward compatibility macros. Do *NOT* use, they may disappear in future
    versions of the XRC library!
    ------------------------------------------------------------------------- */
-#define ADD_STYLE         XRC_ADD_STYLE
-#define wxTheXmlResource  wxXmlResource::Get()
-#define XMLID             XRCID
-#define XMLCTRL           XRCCTRL
-#define GetXMLID          GetXRCID
+#if WXWIN_COMPATIBILITY_2_4
+    #define ADD_STYLE         XRC_ADD_STYLE
+    #define wxTheXmlResource  wxXmlResource::Get()
+    #define XMLID             XRCID
+    #define XMLCTRL           XRCCTRL
+    #define GetXMLID          GetXRCID
+#endif
 
 
 #endif // _WX_XMLRES_H_