added semicolons after wxCHECK()s (part of patch 1450705)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -204,13 +204,8 @@ struct tm *wxGmtime_r(const time_t* ticks, struct tm* temp)
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// debugging helper: just a convenient replacement of wxCHECK()
|
||||
#define wxDATETIME_CHECK(expr, msg) \
|
||||
if ( !(expr) ) \
|
||||
{ \
|
||||
wxFAIL_MSG(msg); \
|
||||
*this = wxInvalidDateTime; \
|
||||
return *this; \
|
||||
}
|
||||
#define wxDATETIME_CHECK(expr, msg) \
|
||||
wxCHECK2_MSG(expr, *this = wxInvalidDateTime; return *this, msg)
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// private classes
|
||||
|
Reference in New Issue
Block a user