]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mousestate.h
activating DrawRectangle optimization
[wxWidgets.git] / include / wx / mousestate.h
index f338ea55d9dae0ac84f1f5f03f7d0931b0511bb4..98ab291baf72cece641d8e233fe33c7de677b55a 100644 (file)
@@ -128,7 +128,7 @@ public:
     // version of wxMouseState but their names are confusing as wxMouseEvent
     // has methods with the same names which do something quite different so
     // don't use them any more
-#ifdef WXWIN_COMPATIBILITY_2_8
+#if WXWIN_COMPATIBILITY_2_8
     wxDEPRECATED_INLINE(bool LeftDown() const, return LeftIsDown(); )
     wxDEPRECATED_INLINE(bool MiddleDown() const, return MiddleIsDown(); )
     wxDEPRECATED_INLINE(bool RightDown() const, return RightIsDown(); )