X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/df91131cb0f90ee8bfb194926a13b1a108ca3c6e..4fe0156b18e2330be391b804da341e546164b85f:/src/motif/accel.cpp diff --git a/src/motif/accel.cpp b/src/motif/accel.cpp index c1e6426f22..1a2f7fd393 100644 --- a/src/motif/accel.cpp +++ b/src/motif/accel.cpp @@ -16,9 +16,9 @@ #ifndef WX_PRECOMP #include "wx/string.h" + #include "wx/utils.h" #endif -#include "wx/utils.h" #include 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); }