git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30900
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
virtual ~wxAcceleratorTable();
wxAcceleratorTable& operator = (const wxAcceleratorTable& accel) { if ( *this != accel ) Ref(accel); return *this; }
virtual ~wxAcceleratorTable();
wxAcceleratorTable& operator = (const wxAcceleratorTable& accel) { if ( *this != accel ) Ref(accel); return *this; }
+
+#if WXWIN_COMPATIBILITY_2_4
bool operator==(const wxAcceleratorTable& accel) const
bool operator==(const wxAcceleratorTable& accel) const
- { return m_refData == accel.m_refData; } // FIXME: this is wrong (VZ)
+ { return m_refData == accel.m_refData; }
bool operator!=(const wxAcceleratorTable& accel) const
{ return !(*this == accel); }
bool operator!=(const wxAcceleratorTable& accel) const
{ return !(*this == accel); }
bool Ok() const;
void SetHACCEL(WXHACCEL hAccel);
bool Ok() const;
void SetHACCEL(WXHACCEL hAccel);
// Author: William Osborne
// Modified by:
// Created: 10/13/04
// Author: William Osborne
// Modified by:
// Created: 10/13/04
// Copyright: (c) William Osborne
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Copyright: (c) William Osborne
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
virtual ~wxAcceleratorTable();
wxAcceleratorTable& operator = (const wxAcceleratorTable& accel) { if ( *this != accel ) Ref(accel); return *this; }
virtual ~wxAcceleratorTable();
wxAcceleratorTable& operator = (const wxAcceleratorTable& accel) { if ( *this != accel ) Ref(accel); return *this; }
+
+#if WXWIN_COMPATIBILITY_2_4
bool operator==(const wxAcceleratorTable& accel) const
bool operator==(const wxAcceleratorTable& accel) const
- { return m_refData == accel.m_refData; } // FIXME: this is wrong (VZ)
+ { return m_refData == accel.m_refData; }
bool operator!=(const wxAcceleratorTable& accel) const
{ return !(*this == accel); }
bool operator!=(const wxAcceleratorTable& accel) const
{ return !(*this == accel); }
bool Ok() const;
void SetHACCEL(WXHACCEL hAccel);
WXHACCEL GetHACCEL() const;
bool Ok() const;
void SetHACCEL(WXHACCEL hAccel);
WXHACCEL GetHACCEL() const;
- // translate the accelerator, return TRUE if done
+ // translate the accelerator, return true if done
bool Translate(wxWindow *window, WXMSG *msg) const;
private:
bool Translate(wxWindow *window, WXMSG *msg) const;
private: