X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..ab67e8874db324fab5223cc8d5dff8a8de3e2b77:/include/wx/motif/accel.h diff --git a/include/wx/motif/accel.h b/include/wx/motif/accel.h index 9cfde947d9..fb90ecb0b0 100644 --- a/include/wx/motif/accel.h +++ b/include/wx/motif/accel.h @@ -16,7 +16,7 @@ #include "wx/string.h" #include "wx/event.h" -class WXDLLEXPORT wxAcceleratorTable: public wxObject +class WXDLLIMPEXP_CORE wxAcceleratorTable: public wxObject { DECLARE_DYNAMIC_CLASS(wxAcceleratorTable) public: @@ -26,17 +26,15 @@ public: virtual ~wxAcceleratorTable(); - bool operator == (const wxAcceleratorTable& accel) const { return m_refData == accel.m_refData; } - bool operator != (const wxAcceleratorTable& accel) const { return m_refData != accel.m_refData; } - - bool Ok() const; + bool Ok() const { return IsOk(); } + bool IsOk() const; // Implementation only int GetCount() const; wxAcceleratorEntry* GetEntries() const; }; -WXDLLEXPORT_DATA(extern wxAcceleratorTable) wxNullAcceleratorTable; +extern WXDLLIMPEXP_DATA_CORE(wxAcceleratorTable) wxNullAcceleratorTable; #endif // _WX_ACCEL_H_