X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f8855e47254a28f5141524b3aaaac03c2944e997..8e77fd8bca165aab9709649d79a7cbc6a172d4e1:/include/wx/os2/accel.h?ds=inline diff --git a/include/wx/os2/accel.h b/include/wx/os2/accel.h index 60f3de60c0..30dde8404a 100644 --- a/include/wx/os2/accel.h +++ b/include/wx/os2/accel.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: accel.h +// Name: wx/os2/accel.h // Purpose: wxAcceleratorTable class // Author: David Webster // Modified by: @@ -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_