Cleared up DEBUG define mess, defines are now called __WXDEBUG__ and WXDEBUG.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -197,7 +197,7 @@ bool wxFont::RealizeResource(void)
|
||||
M_FONTDATA->m_hFont = (WXHFONT) CreateFont(nHeight, 0, 0, 0,ff_weight,ff_italic,(BYTE)ff_underline,
|
||||
0, ANSI_CHARSET, OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS,
|
||||
PROOF_QUALITY, DEFAULT_PITCH | ff_family, (ff_face == "" ? NULL : (const char *)ff_face));
|
||||
#ifdef DEBUG_CREATE
|
||||
#ifdef WXDEBUG_CREATE
|
||||
if (m_hFont==NULL) wxError("Cannot create font","Internal Error") ;
|
||||
#endif
|
||||
return (M_FONTDATA->m_hFont != (WXHFONT) NULL);
|
||||
|
Reference in New Issue
Block a user