]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/accel.h
introduced a common base class for both MSW and generic wxTreeCtrl implementations
[wxWidgets.git] / include / wx / generic / accel.h
index 2067e0fd23551e72f1f66ee5c0cee6e195ba51b4..f69636a5b5a96e881c7dc54b2464d52844efb219 100644 (file)
 #ifndef _WX_GENERIC_ACCEL_H_
 #define _WX_GENERIC_ACCEL_H_
 
-#ifdef __GNUG__
-#pragma interface "accel.h"
-#endif
-
 class WXDLLEXPORT wxKeyEvent;
 
 // ----------------------------------------------------------------------------
@@ -33,10 +29,12 @@ public:
     wxAcceleratorTable& operator=(const wxAcceleratorTable& accel)
       { if ( m_refData != accel.m_refData ) Ref(accel); return *this; }
 
+#if WXWIN_COMPATIBILITY_2_4
     bool operator==(const wxAcceleratorTable& accel) const
-        { return m_refData == accel.m_refData; } // FIXME: this is wrong (VZ)
+        { return m_refData == accel.m_refData; }
     bool operator!=(const wxAcceleratorTable& accel) const
         { return !(*this == accel); }
+#endif
 
     bool Ok() const;