]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/accel.cpp
fix warning about unused variable in release build by using standard wxLogLastError...
[wxWidgets.git] / src / motif / accel.cpp
index c1e6426f2225f2be37798f3a2dca699c58cbbe11..1a2f7fd39356342f7be3588e07e7b71a5ec396c3 100644 (file)
@@ -16,9 +16,9 @@
 
 #ifndef WX_PRECOMP
     #include "wx/string.h"
+    #include "wx/utils.h"
 #endif
 
-#include "wx/utils.h"
 #include <ctype.h>
 
 IMPLEMENT_DYNAMIC_CLASS(wxAcceleratorTable, wxObject)
@@ -28,7 +28,7 @@ class WXDLLEXPORT wxAcceleratorRefData: public wxObjectRefData
     friend class WXDLLEXPORT wxAcceleratorTable;
 public:
     wxAcceleratorRefData();
-    ~wxAcceleratorRefData();
+    virtual ~wxAcceleratorRefData();
 
 public:
     int m_count;
@@ -80,7 +80,7 @@ wxAcceleratorTable::wxAcceleratorTable(int n, const wxAcceleratorEntry entries[]
 
 }
 
-bool wxAcceleratorTable::Ok() const
+bool wxAcceleratorTable::IsOk() const
 {
     return (m_refData != (wxAcceleratorRefData*) NULL);
 }