X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..1d065710d3cf39e519f05fd02760006b9a929c38:/include/wx/motif/accel.h diff --git a/include/wx/motif/accel.h b/include/wx/motif/accel.h index 9cfde947d9..5ae1a3a2fa 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; +WXDLLIMPEXP_DATA_CORE(extern wxAcceleratorTable) wxNullAcceleratorTable; #endif // _WX_ACCEL_H_