X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ffecfa5aeb540b54914739dbb8603edbbd4c00a0..04fa04d8067d235ab45b5bc05b65f0679634b541:/src/palmos/accel.cpp?ds=inline diff --git a/src/palmos/accel.cpp b/src/palmos/accel.cpp index 7864af70c1..0171a66b97 100644 --- a/src/palmos/accel.cpp +++ b/src/palmos/accel.cpp @@ -1,18 +1,14 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: accel.cpp +// Name: src/palmos/accel.cpp // Purpose: wxAcceleratorTable -// Author: William Osborne +// Author: William Osborne - minimal working wxPalmOS port // Modified by: // Created: 10/13/04 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) William Osborne // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "accel.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -37,14 +33,14 @@ class WXDLLEXPORT wxAcceleratorRefData: public wxObjectRefData friend class WXDLLEXPORT wxAcceleratorTable; public: wxAcceleratorRefData(); - ~wxAcceleratorRefData(); + virtual ~wxAcceleratorRefData(); inline HACCEL GetHACCEL() const { return m_hAccel; } protected: HACCEL m_hAccel; bool m_ok; - DECLARE_NO_COPY_CLASS(wxAcceleratorRefData) + wxDECLARE_NO_COPY_CLASS(wxAcceleratorRefData); }; #define M_ACCELDATA ((wxAcceleratorRefData *)m_refData) @@ -75,7 +71,7 @@ wxAcceleratorTable::wxAcceleratorTable(int n, const wxAcceleratorEntry entries[] { } -bool wxAcceleratorTable::Ok() const +bool wxAcceleratorTable::IsOk() const { return false; }