]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/defs.h
ops. SetFocus should be public
[wxWidgets.git] / include / wx / defs.h
index 9d7dcf0338d4100c9a9eaa0f3ca61a9bf71965bb..9ac82a237ac3d6621f190e73ba92e53f4e8ee97a 100644 (file)
@@ -317,6 +317,13 @@ typedef int wxWindowID;
     #define WXUNUSED(identifier) identifier
 #endif
 
+// some arguments are only used in debug mode, but unused in release one
+#ifdef __WXDEBUG__
+    #define WXUNUSED_UNLESS_DEBUG(param)  param
+#else
+    #define WXUNUSED_UNLESS_DEBUG(param)  WXUNUSED(param)
+#endif
+
 // ----------------------------------------------------------------------------
 // portable calling conventions macros
 // ----------------------------------------------------------------------------