]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/ctrlsub.h
Fixed a '&' that should be an '&&'
[wxWidgets.git] / include / wx / ctrlsub.h
index b3476b77a969b078578da7d6e5f8809b7ad95532..ac07defc279e08bc0280c65ad51e578949dc1c44 100644 (file)
@@ -32,6 +32,7 @@ class WXDLLEXPORT wxItemContainer
 {
 public:
     wxItemContainer() { m_clientDataItemsType = wxClientData_None; }
 {
 public:
     wxItemContainer() { m_clientDataItemsType = wxClientData_None; }
+    virtual ~wxItemContainer();
 
     // adding items
     // ------------
 
     // adding items
     // ------------
@@ -80,15 +81,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
-
-#ifdef __WXMAC_X__
-    virtual ~wxItemContainer() {}  // Added min for Mac X
-#endif
+#endif // WXWIN_COMPATIBILITY_2_2
 
 protected:
     virtual int DoAppend(const wxString& item) = 0;
 
 protected:
     virtual int DoAppend(const wxString& item) = 0;