]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/accel.h
Typo fixes
[wxWidgets.git] / include / wx / generic / accel.h
index f69636a5b5a96e881c7dc54b2464d52844efb219..17f7e44fa47de2a2cd482dcad455e53d49bff88c 100644 (file)
@@ -23,12 +23,6 @@ public:
     wxAcceleratorTable(int n, const wxAcceleratorEntry entries[]);
     virtual ~wxAcceleratorTable();
 
-    wxAcceleratorTable(const wxAcceleratorTable& accel)
-        : wxObject()
-        { Ref(accel); }
-    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; }
@@ -36,7 +30,8 @@ public:
         { return !(*this == accel); }
 #endif
 
-    bool Ok() const;
+    bool Ok() const { return IsOk(); }
+    bool IsOk() const;
 
     void Add(const wxAcceleratorEntry& entry);
     void Remove(const wxAcceleratorEntry& entry);