X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/210a651b4f4ef5ff4e220a100a10bb4f29e08cfd..66e9a9f0ae9cccd52b1a8f9828a3e054803fefb6:/include/wx/os2/accel.h diff --git a/include/wx/os2/accel.h b/include/wx/os2/accel.h index 6e33d02ee7..1614b06818 100644 --- a/include/wx/os2/accel.h +++ b/include/wx/os2/accel.h @@ -35,7 +35,7 @@ public: wxAcceleratorTable(); wxAcceleratorTable(const wxString& rsResource); // Load from .rc resource wxAcceleratorTable( int n - ,wxAcceleratorEntry vaEntries[] + ,const wxAcceleratorEntry vaEntries[] ); // Load from array // Copy constructors @@ -46,9 +46,9 @@ public: inline wxAcceleratorTable& operator = (const wxAcceleratorTable& rAccel) { if (*this == rAccel) return (*this); Ref(rAccel); return *this; }; - inline bool operator == (const wxAcceleratorTable& rAccel) + inline bool operator== (const wxAcceleratorTable& rAccel) const { return m_refData == rAccel.m_refData; }; - inline bool operator != (const wxAcceleratorTable& rAccel) + inline bool operator!= (const wxAcceleratorTable& rAccel) const { return m_refData != rAccel.m_refData; }; bool Ok() const; @@ -63,5 +63,6 @@ public: WXDLLEXPORT_DATA(extern wxAcceleratorTable) wxNullAcceleratorTable; +WXDLLEXPORT wxString wxPMTextToLabel(const wxString& rsTitle); #endif // _WX_ACCEL_H_