]> git.saurik.com Git - wxWidgets.git/blame - src/palmos/accel.cpp
cleanup
[wxWidgets.git] / src / palmos / accel.cpp
CommitLineData
ffecfa5a 1/////////////////////////////////////////////////////////////////////////////
e2731512 2// Name: src/palmos/accel.cpp
ffecfa5a 3// Purpose: wxAcceleratorTable
e2731512 4// Author: William Osborne - minimal working wxPalmOS port
ffecfa5a
JS
5// Modified by:
6// Created: 10/13/04
e2731512 7// RCS-ID: $Id$
ffecfa5a
JS
8// Copyright: (c) William Osborne
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
ffecfa5a
JS
12// For compilers that support precompilation, includes "wx.h".
13#include "wx/wxprec.h"
14
15#ifdef __BORLANDC__
16#pragma hdrstop
17#endif
18
19#ifndef WX_PRECOMP
20 #include "wx/window.h"
21#endif
22
23#include "wx/accel.h"
24
25#if wxUSE_ACCEL
26
27#include "wx/palmos/private.h"
28
29IMPLEMENT_DYNAMIC_CLASS(wxAcceleratorTable, wxObject)
30
31class WXDLLEXPORT wxAcceleratorRefData: public wxObjectRefData
32{
33 friend class WXDLLEXPORT wxAcceleratorTable;
34public:
35 wxAcceleratorRefData();
d3c7fc99 36 virtual ~wxAcceleratorRefData();
ffecfa5a
JS
37
38 inline HACCEL GetHACCEL() const { return m_hAccel; }
39protected:
40 HACCEL m_hAccel;
41 bool m_ok;
42
43 DECLARE_NO_COPY_CLASS(wxAcceleratorRefData)
44};
45
46#define M_ACCELDATA ((wxAcceleratorRefData *)m_refData)
47
48wxAcceleratorRefData::wxAcceleratorRefData()
49{
50}
51
52wxAcceleratorRefData::~wxAcceleratorRefData()
53{
54}
55
56wxAcceleratorTable::wxAcceleratorTable()
57{
58}
59
60wxAcceleratorTable::~wxAcceleratorTable()
61{
62}
63
64wxAcceleratorTable::wxAcceleratorTable(const wxString& resource)
65{
66}
67
68extern int wxCharCodeWXToMSW(int id, bool *isVirtual);
69
70wxAcceleratorTable::wxAcceleratorTable(int n, const wxAcceleratorEntry entries[])
71{
72}
73
b7cacb43 74bool wxAcceleratorTable::IsOk() const
ffecfa5a
JS
75{
76 return false;
77}
78
79void wxAcceleratorTable::SetHACCEL(WXHACCEL hAccel)
80{
81}
82
83WXHACCEL wxAcceleratorTable::GetHACCEL() const
84{
85 return 0;
86}
87
88bool wxAcceleratorTable::Translate(wxWindow *window, WXMSG *wxmsg) const
89{
90 return false;
91}
92
93#endif