]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/accel.cpp
added empty virtual dtors to silence gcc warnings
[wxWidgets.git] / src / motif / accel.cpp
index e6769cd37c42d9a6e766376598c3494bfa4fc582..ac913b5881ae82dca805111a730d8f4eaaf840fa 100644 (file)
 #include "wx/wxprec.h"
 
 #include "wx/accel.h"
-#include "wx/string.h"
-#include "wx/utils.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/string.h"
+    #include "wx/utils.h"
+#endif
+
 #include <ctype.h>
 
 IMPLEMENT_DYNAMIC_CLASS(wxAcceleratorTable, wxObject)
@@ -24,7 +28,7 @@ class WXDLLEXPORT wxAcceleratorRefData: public wxObjectRefData
     friend class WXDLLEXPORT wxAcceleratorTable;
 public:
     wxAcceleratorRefData();
-    ~wxAcceleratorRefData();
+    virtual ~wxAcceleratorRefData();
 
 public:
     int m_count;