]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/accel.cpp
still support wxNB_XXX and wxADJUST_MINSIZE in XRC files even if they're deprecated...
[wxWidgets.git] / src / motif / accel.cpp
index e6769cd37c42d9a6e766376598c3494bfa4fc582..4f8cd0311c4c19146fd5eb30c3a0d0c8dbf84828 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)
 
 class WXDLLEXPORT wxAcceleratorRefData: public wxObjectRefData
 {
-    friend class WXDLLEXPORT wxAcceleratorTable;
+    friend class wxAcceleratorTable;
 public:
     wxAcceleratorRefData();
-    ~wxAcceleratorRefData();
+    virtual ~wxAcceleratorRefData();
 
 public:
     int m_count;
@@ -76,7 +80,7 @@ wxAcceleratorTable::wxAcceleratorTable(int n, const wxAcceleratorEntry entries[]
 
 }
 
-bool wxAcceleratorTable::Ok() const
+bool wxAcceleratorTable::IsOk() const
 {
     return (m_refData != (wxAcceleratorRefData*) NULL);
 }