]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/ctrlsub.h
changed Refresh to take Rect as client coordinates not window coordinates
[wxWidgets.git] / include / wx / ctrlsub.h
index b3476b77a969b078578da7d6e5f8809b7ad95532..e2ef39df3678a4f8e0b91264ef4593a9815df44e 100644 (file)
@@ -80,11 +80,11 @@ public:
     bool HasClientUntypedData() const
         { return m_clientDataItemsType == wxClientData_Void; }
 
     bool HasClientUntypedData() const
         { return m_clientDataItemsType == wxClientData_Void; }
 
-#if WXWIN_COMPATIBILITY_2
+#if WXWIN_COMPATIBILITY_2_2
     // compatibility - these functions are deprecated, use the new ones
     // instead
     int Number() const { return GetCount(); }
     // compatibility - these functions are deprecated, use the new ones
     // instead
     int Number() const { return GetCount(); }
-#endif // WXWIN_COMPATIBILITY_2
+#endif // WXWIN_COMPATIBILITY_2_2
 
 #ifdef __WXMAC_X__
     virtual ~wxItemContainer() {}  // Added min for Mac X
 
 #ifdef __WXMAC_X__
     virtual ~wxItemContainer() {}  // Added min for Mac X