X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/925f7740663f38ed8296ddb247754a9d62152aea..580ca0a4e10dbd2fb0a144065004394b9d5dcc56:/include/wx/motif/accel.h

diff --git a/include/wx/motif/accel.h b/include/wx/motif/accel.h
index f51093d326..7753ac9d68 100644
--- a/include/wx/motif/accel.h
+++ b/include/wx/motif/accel.h
@@ -24,12 +24,10 @@ public:
     wxAcceleratorTable(const wxString& resource); // Load from .rc resource
     wxAcceleratorTable(int n, const wxAcceleratorEntry entries[]); // Load from array
 
-    ~wxAcceleratorTable();
+    virtual ~wxAcceleratorTable();
 
-    bool operator == (const wxAcceleratorTable& accel) const { return m_refData == accel.m_refData; }
-    bool operator != (const wxAcceleratorTable& accel) const { return m_refData != accel.m_refData; }
-
-    bool Ok() const;
+    bool Ok() const { return IsOk(); }
+    bool IsOk() const;
 
     // Implementation only
     int GetCount() const;