]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/brush.cpp
wxLogDebug/Trace in release mode now don't give compiler warnings
[wxWidgets.git] / src / msw / brush.cpp
index 43dbfae9332da7b75e5dac130acb5e843cf354c9..f9043c2e1d9ffee2d86d92815f09298f9391de27 100644 (file)
@@ -161,7 +161,7 @@ bool wxBrush::RealizeResource(void)
         M_BRUSHDATA->m_hBrush = (WXHBRUSH) CreateSolidBrush(ms_colour) ;
         break;
     }
-#ifdef DEBUG_CREATE
+#ifdef WXDEBUG_CREATE
     if (M_BRUSHDATA->m_hBrush==NULL) wxError("Cannot create brush","Internal error") ;
 #endif
     return TRUE;