]> git.saurik.com Git - wxWidgets.git/blame_incremental - docs/doxygen/groups/funcmacro_debug.h
Fix discrepancy between different ways of measuring text extents under Mac.
[wxWidgets.git] / docs / doxygen / groups / funcmacro_debug.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: funcmacro_debug.h
3// Purpose: Debugging function and macro group docs
4// Author: wxWidgets team
5// RCS-ID: $Id: funcmacro_gdi.h 52454 2008-03-12 19:08:48Z BP $
6// Licence: wxWindows license
7/////////////////////////////////////////////////////////////////////////////
8
9/**
10
11@defgroup group_funcmacro_debug Debugging macros
12@ingroup group_funcmacro
13
14Useful macros and functions for error checking and defensive programming.
15wxWidgets defines three families of the assert-like macros: the wxASSERT() and
16wxFAIL() macros only do anything if __WXDEBUG__ is defined (in other words, in
17the debug build) but disappear completely in the release build. On the other
18hand, the wxCHECK() macros stay in release builds but a check failure doesn't
19generate any user-visible effects. Finally, the compile time assertions don't
20happen during the run-time but result in the compilation error messages if the
21condition they check fail.
22
23Related class group: @ref group_class_debugging.
24
25*/
26