]> git.saurik.com Git - wxWidgets.git/blame - 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
dae2800a
BP
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
7d9550df 11@defgroup group_funcmacro_debug Debugging macros
dae2800a
BP
12@ingroup group_funcmacro
13
14Useful macros and functions for error checking and defensive programming.
9579c1d7
BP
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
dae2800a 17the debug build) but disappear completely in the release build. On the other
9579c1d7
BP
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.
dae2800a 22
dbbca9fd
FM
23Related class group: @ref group_class_debugging.
24
dae2800a
BP
25*/
26