]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/accel.cpp
Temporarily disabled OS/2 specific code.
[wxWidgets.git] / src / palmos / accel.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/palmos/accel.cpp
3 // Purpose: wxAcceleratorTable
4 // Author: William Osborne - minimal working wxPalmOS port
5 // Modified by:
6 // Created: 10/13/04
7 // RCS-ID: $Id$
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
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
29 IMPLEMENT_DYNAMIC_CLASS(wxAcceleratorTable, wxObject)
30
31 class WXDLLEXPORT wxAcceleratorRefData: public wxObjectRefData
32 {
33 friend class WXDLLEXPORT wxAcceleratorTable;
34 public:
35 wxAcceleratorRefData();
36 ~wxAcceleratorRefData();
37
38 inline HACCEL GetHACCEL() const { return m_hAccel; }
39 protected:
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
48 wxAcceleratorRefData::wxAcceleratorRefData()
49 {
50 }
51
52 wxAcceleratorRefData::~wxAcceleratorRefData()
53 {
54 }
55
56 wxAcceleratorTable::wxAcceleratorTable()
57 {
58 }
59
60 wxAcceleratorTable::~wxAcceleratorTable()
61 {
62 }
63
64 wxAcceleratorTable::wxAcceleratorTable(const wxString& resource)
65 {
66 }
67
68 extern int wxCharCodeWXToMSW(int id, bool *isVirtual);
69
70 wxAcceleratorTable::wxAcceleratorTable(int n, const wxAcceleratorEntry entries[])
71 {
72 }
73
74 bool wxAcceleratorTable::Ok() const
75 {
76 return false;
77 }
78
79 void wxAcceleratorTable::SetHACCEL(WXHACCEL hAccel)
80 {
81 }
82
83 WXHACCEL wxAcceleratorTable::GetHACCEL() const
84 {
85 return 0;
86 }
87
88 bool wxAcceleratorTable::Translate(wxWindow *window, WXMSG *wxmsg) const
89 {
90 return false;
91 }
92
93 #endif