]> git.saurik.com Git - wxWidgets.git/blame - src/palmos/accel.cpp
Added XPM ctor
[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
12#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
13#pragma implementation "accel.h"
14#endif
15
16// For compilers that support precompilation, includes "wx.h".
17#include "wx/wxprec.h"
18
19#ifdef __BORLANDC__
20#pragma hdrstop
21#endif
22
23#ifndef WX_PRECOMP
24 #include "wx/window.h"
25#endif
26
27#include "wx/accel.h"
28
29#if wxUSE_ACCEL
30
31#include "wx/palmos/private.h"
32
33IMPLEMENT_DYNAMIC_CLASS(wxAcceleratorTable, wxObject)
34
35class WXDLLEXPORT wxAcceleratorRefData: public wxObjectRefData
36{
37 friend class WXDLLEXPORT wxAcceleratorTable;
38public:
39 wxAcceleratorRefData();
40 ~wxAcceleratorRefData();
41
42 inline HACCEL GetHACCEL() const { return m_hAccel; }
43protected:
44 HACCEL m_hAccel;
45 bool m_ok;
46
47 DECLARE_NO_COPY_CLASS(wxAcceleratorRefData)
48};
49
50#define M_ACCELDATA ((wxAcceleratorRefData *)m_refData)
51
52wxAcceleratorRefData::wxAcceleratorRefData()
53{
54}
55
56wxAcceleratorRefData::~wxAcceleratorRefData()
57{
58}
59
60wxAcceleratorTable::wxAcceleratorTable()
61{
62}
63
64wxAcceleratorTable::~wxAcceleratorTable()
65{
66}
67
68wxAcceleratorTable::wxAcceleratorTable(const wxString& resource)
69{
70}
71
72extern int wxCharCodeWXToMSW(int id, bool *isVirtual);
73
74wxAcceleratorTable::wxAcceleratorTable(int n, const wxAcceleratorEntry entries[])
75{
76}
77
78bool wxAcceleratorTable::Ok() const
79{
80 return false;
81}
82
83void wxAcceleratorTable::SetHACCEL(WXHACCEL hAccel)
84{
85}
86
87WXHACCEL wxAcceleratorTable::GetHACCEL() const
88{
89 return 0;
90}
91
92bool wxAcceleratorTable::Translate(wxWindow *window, WXMSG *wxmsg) const
93{
94 return false;
95}
96
97#endif