X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f8855e47254a28f5141524b3aaaac03c2944e997..d7e2b52235d70e25d7797ce1dccd97fa6989f4b5:/include/wx/os2/accel.h diff --git a/include/wx/os2/accel.h b/include/wx/os2/accel.h index 60f3de60c0..d0b9c02efc 100644 --- a/include/wx/os2/accel.h +++ b/include/wx/os2/accel.h @@ -14,7 +14,7 @@ #include "wx/object.h" -class WXDLLEXPORT wxAcceleratorTable; +class WXDLLIMPEXP_FWD_CORE wxAcceleratorTable; // Hold Ctrl key down #define wxACCEL_ALT 0x01 @@ -28,7 +28,7 @@ class WXDLLEXPORT wxAcceleratorTable; // Hold no key down #define wxACCEL_NORMAL 0x00 -class WXDLLEXPORT wxAcceleratorTable: public wxObject +class WXDLLIMPEXP_CORE wxAcceleratorTable: public wxObject { DECLARE_DYNAMIC_CLASS(wxAcceleratorTable) public: @@ -38,14 +38,10 @@ public: ,const wxAcceleratorEntry vaEntries[] ); // Load from array - ~wxAcceleratorTable(); + virtual ~wxAcceleratorTable(); - inline bool operator== (const wxAcceleratorTable& rAccel) const - { return m_refData == rAccel.m_refData; }; - inline bool operator!= (const wxAcceleratorTable& rAccel) const - { return m_refData != rAccel.m_refData; }; - - bool Ok() const; + bool Ok() const { return IsOk(); } + bool IsOk() const; void SetHACCEL(WXHACCEL hAccel); WXHACCEL GetHACCEL(void) const; @@ -55,8 +51,8 @@ public: ) const; }; -WXDLLEXPORT_DATA(extern wxAcceleratorTable) wxNullAcceleratorTable; +WXDLLIMPEXP_DATA_CORE(extern wxAcceleratorTable) wxNullAcceleratorTable; -WXDLLEXPORT wxString wxPMTextToLabel(const wxString& rsTitle); +WXDLLIMPEXP_CORE wxString wxPMTextToLabel(const wxString& rsTitle); #endif // _WX_ACCEL_H_