X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/df91131cb0f90ee8bfb194926a13b1a108ca3c6e..c70d645d7f85d410fa8e25c3921f5f1c775c332c:/src/motif/accel.cpp diff --git a/src/motif/accel.cpp b/src/motif/accel.cpp index c1e6426f22..4f8cd0311c 100644 --- a/src/motif/accel.cpp +++ b/src/motif/accel.cpp @@ -16,19 +16,19 @@ #ifndef WX_PRECOMP #include "wx/string.h" + #include "wx/utils.h" #endif -#include "wx/utils.h" #include 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; @@ -80,7 +80,7 @@ wxAcceleratorTable::wxAcceleratorTable(int n, const wxAcceleratorEntry entries[] } -bool wxAcceleratorTable::Ok() const +bool wxAcceleratorTable::IsOk() const { return (m_refData != (wxAcceleratorRefData*) NULL); }