]> git.saurik.com Git - wxWidgets.git/blame - src/palmos/cursor.cpp
Applied [ 1708971 ] Make a virtual function to enable/disable docking
[wxWidgets.git] / src / palmos / cursor.cpp
CommitLineData
ffecfa5a
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: src/palmos/cursor.cpp
3// Purpose: wxCursor class
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// ============================================================================
13// declarations
14// ============================================================================
15
16// ----------------------------------------------------------------------------
17// headers
18// ----------------------------------------------------------------------------
19
ffecfa5a
JS
20// For compilers that support precompilation, includes "wx.h".
21#include "wx/wxprec.h"
22
23#ifdef __BORLANDC__
24 #pragma hdrstop
25#endif
26
c8326d64
WS
27#include "wx/cursor.h"
28
ffecfa5a
JS
29#ifndef WX_PRECOMP
30 #include "wx/utils.h"
31 #include "wx/app.h"
32 #include "wx/bitmap.h"
33 #include "wx/icon.h"
ffecfa5a
JS
34 #include "wx/settings.h"
35 #include "wx/intl.h"
155ecd4c 36 #include "wx/image.h"
02761f6c 37 #include "wx/module.h"
ffecfa5a
JS
38#endif
39
ffecfa5a
JS
40// ----------------------------------------------------------------------------
41// private classes
42// ----------------------------------------------------------------------------
43
44
45// ----------------------------------------------------------------------------
46// wxWin macros
47// ----------------------------------------------------------------------------
48
49IMPLEMENT_DYNAMIC_CLASS(wxCursor, wxGDIObject)
50
51// ----------------------------------------------------------------------------
52// globals
53// ----------------------------------------------------------------------------
54
55// Current cursor, in order to hang on to cursor handle when setting the cursor
56// globally
57static wxCursor *gs_globalCursor = NULL;
58
59// ----------------------------------------------------------------------------
60// private classes
61// ----------------------------------------------------------------------------
62
63
64// ============================================================================
65// implementation
66// ============================================================================
67
68
69// ----------------------------------------------------------------------------
70// Cursors
71// ----------------------------------------------------------------------------
72
73wxCursor::wxCursor()
74{
75}
76
77#if wxUSE_IMAGE
78wxCursor::wxCursor(const wxImage& image)
79{
80}
81#endif
82
83wxCursor::wxCursor(const char WXUNUSED(bits)[],
84 int WXUNUSED(width),
85 int WXUNUSED(height),
86 int WXUNUSED(hotSpotX), int WXUNUSED(hotSpotY),
87 const char WXUNUSED(maskBits)[])
88{
89}
90
91wxCursor::wxCursor(const wxString& filename,
92 long kind,
93 int hotSpotX,
94 int hotSpotY)
95{
96}
97
98// Cursors by stock number
99wxCursor::wxCursor(int idCursor)
100{
101}
102
103wxCursor::~wxCursor()
104{
105}
106
107// ----------------------------------------------------------------------------
108// other wxCursor functions
109// ----------------------------------------------------------------------------
110
ffecfa5a
JS
111wxGDIImageRefData *wxCursor::CreateData() const
112{
113 return NULL;
114}
115
116// ----------------------------------------------------------------------------
117// Global cursor setting
118// ----------------------------------------------------------------------------
119
120const wxCursor *wxGetGlobalCursor()
121{
122 return NULL;
123}
124
125void wxSetCursor(const wxCursor& cursor)
126{
127}