]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/defs.h
implement images support for wxButton under XP and later
[wxWidgets.git] / include / wx / defs.h
index 37ee6b5f17cfd61dfe07122e059706fbd2d8fcfb..963a4b3d13ff2b670a4c70f08c57de5816492c68 100644 (file)
@@ -522,6 +522,11 @@ typedef short int WXTYPE;
  */
 #define wxDEPRECATED_INLINE(func, body) wxDEPRECATED(func) { body }
 
+/*
+    A macro to define a simple deprecated accessor.
+ */
+#define wxDEPRECATED_ACCESSOR(func, what) wxDEPRECATED_INLINE(func, return what;)
+
 /*
    Special variant of the macro above which should be used for the functions
    which are deprecated but called by wx itself: this often happens with