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:
@@ -260,7 +260,7 @@ bool wxPen::RealizeResource(void)
|
||||
#else
|
||||
M_PENDATA->m_hPen = (WXHPEN) CreatePen(wx2msPenStyle(M_PENDATA->m_style), M_PENDATA->m_width, ms_colour);
|
||||
#endif
|
||||
#ifdef DEBUG_CREATE
|
||||
#ifdef WXDEBUG_CREATE
|
||||
if (M_PENDATA->m_hPen==0)
|
||||
wxError("Cannot create pen","Internal error") ;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user