X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b5f1895643cf94b38ac19a4c1151e259310852e..ce7208d49d5ce2ca1dc0b3b83f14f1d04f29c4bf:/src/motif/accel.cpp?ds=sidebyside diff --git a/src/motif/accel.cpp b/src/motif/accel.cpp index e6769cd37c..1a2f7fd393 100644 --- a/src/motif/accel.cpp +++ b/src/motif/accel.cpp @@ -13,8 +13,12 @@ #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 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; @@ -76,7 +80,7 @@ wxAcceleratorTable::wxAcceleratorTable(int n, const wxAcceleratorEntry entries[] } -bool wxAcceleratorTable::Ok() const +bool wxAcceleratorTable::IsOk() const { return (m_refData != (wxAcceleratorRefData*) NULL); }