X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/75f11ad7ca4201f7e2626a2bf5ad84a01296eb4a..29e60597389f16f9744a74bd4549b17d2e1dc34f:/src/os2/accel.cpp?ds=sidebyside diff --git a/src/os2/accel.cpp b/src/os2/accel.cpp index 438c075e32..7be1c6acd3 100644 --- a/src/os2/accel.cpp +++ b/src/os2/accel.cpp @@ -1,11 +1,11 @@ ///////////////////////////////////////////////////////////////////////////// // Name: accel.cpp // Purpose: wxAcceleratorTable -// Author: AUTHOR +// Author: David Webster // Modified by: -// Created: ??/??/98 +// Created: 10/13/99 // RCS-ID: $Id$ -// Copyright: (c) AUTHOR +// Copyright: (c) David Webster // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -23,9 +23,7 @@ #include "wx/os2/private.h" -#if !USE_SHARED_LIBRARIES IMPLEMENT_DYNAMIC_CLASS(wxAcceleratorTable, wxObject) -#endif class WXDLLEXPORT wxAcceleratorRefData: public wxObjectRefData { @@ -37,6 +35,7 @@ public: inline HACCEL GetHACCEL() const { return m_hAccel; } protected: HACCEL m_hAccel; + bool m_ok; }; #define M_ACCELDATA ((wxAcceleratorRefData *)m_refData) @@ -80,6 +79,8 @@ wxAcceleratorTable::wxAcceleratorTable(const wxString& resource) */ } +extern int wxCharCodeWXToOS2(int id, bool *isVirtual); + // Create from an array wxAcceleratorTable::wxAcceleratorTable(int n, wxAcceleratorEntry entries[]) {