]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/pen.cpp
IsModified() function now works correctly
[wxWidgets.git] / src / msw / pen.cpp
index 12197dd801e7d66365e4013b9d1567865fa19d0d..2818565949a09f013c83bbae49570bedec5c9fef 100644 (file)
@@ -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