]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/window.cpp
mention wxTreeCtrl::SelectItem() fix of r60921
[wxWidgets.git] / src / mgl / window.cpp
index ac24d5b5dcb1d7d9e76448c99f7ab6dbaee7ab15..6c2603cc69ec5523f210c39be67b300544b5ee3e 100644 (file)
@@ -1139,7 +1139,7 @@ void wxWindowMGL::HandlePaint(MGLDevCtx *dc)
         return;
     }
 
-#ifdef __WXDEBUG__
+#if wxDEBUG_LEVEL >= 2
     // FIXME_MGL -- debugging stuff, to be removed!
     static int debugPaintEvents = -1;
     if ( debugPaintEvents == -1 )
@@ -1150,7 +1150,7 @@ void wxWindowMGL::HandlePaint(MGLDevCtx *dc)
         dc->fillRect(-1000,-1000,2000,2000);
         wxMilliSleep(50);
     }
-#endif
+#endif // wxDEBUG_LEVEL >= 2
 
     MGLRegion clip;
     dc->getClipRegion(clip);