X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..974e72ccbb612ad338ee40e76ed6395df9919311:/include/wx/event.h

diff --git a/include/wx/event.h b/include/wx/event.h
index a327e06d6e..4f64c38725 100644
--- a/include/wx/event.h
+++ b/include/wx/event.h
@@ -419,7 +419,7 @@ public:
 
     void CopyObject(wxObject& obj) const;
 
-#ifdef WXWIN_COMPATIBILITY_2
+#if WXWIN_COMPATIBILITY_2
     bool Checked() const { return IsChecked(); }
 #endif // WXWIN_COMPATIBILITY_2