]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/accel.cpp
Test to avoid crashes in some circumstances
[wxWidgets.git] / src / mac / carbon / accel.cpp
index 69cc8cbbe3feef35b25796d9fcbdea6a9b216f2d..484b49e5adb24bfded02019e2b5066766afb394d 100644 (file)
@@ -36,7 +36,7 @@ class WXDLLEXPORT wxAcceleratorRefData: public wxObjectRefData
     friend class WXDLLEXPORT wxAcceleratorTable;
 public:
     wxAcceleratorRefData();
-    ~wxAcceleratorRefData();
+    virtual ~wxAcceleratorRefData();
 
     wxAccelList m_accels;
 };
@@ -77,7 +77,7 @@ wxAcceleratorTable::wxAcceleratorTable(int n, const wxAcceleratorEntry entries[]
     }
 }
 
-bool wxAcceleratorTable::Ok() const
+bool wxAcceleratorTable::IsOk() const
 {
     return (m_refData != NULL);
 }