]> git.saurik.com Git - wxWidgets.git/blame - src/palmos/caret.cpp
finally really fixes IRIX build:
[wxWidgets.git] / src / palmos / caret.cpp
CommitLineData
ffecfa5a 1///////////////////////////////////////////////////////////////////////////////
e2731512 2// Name: src/palmos/caret.cpp
ffecfa5a 3// Purpose: Palm OS implementation of wxCaret
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
20#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
21 #pragma implementation "caret.h"
22#endif
23
24// For compilers that support precompilation, includes "wx.h".
25#include "wx/wxprec.h"
26
27#ifdef __BORLANDC__
28 #pragma hdrstop
29#endif
30
31#ifndef WX_PRECOMP
32 #include "wx/window.h"
33 #include "wx/log.h"
34#endif // WX_PRECOMP
35
36#include "wx/caret.h"
37
38#if wxUSE_CARET
39
40#include "wx/palmos/private.h"
41
42// ---------------------------------------------------------------------------
43// macros
44// ---------------------------------------------------------------------------
45
46#define CALL_CARET_API(api, args) \
47 if ( !api args ) \
48 wxLogLastError(_T(#api))
49
50// ===========================================================================
51// implementation
52// ===========================================================================
53
54// ---------------------------------------------------------------------------
55// blink time
56// ---------------------------------------------------------------------------
57
58//static
59int wxCaretBase::GetBlinkTime()
60{
61 return 0;
62}
63
64//static
65void wxCaretBase::SetBlinkTime(int milliseconds)
66{
67}
68
69// ---------------------------------------------------------------------------
70// creating/destroying the caret
71// ---------------------------------------------------------------------------
72
73bool wxCaret::PalmOSCreateCaret()
74{
75 return false;
76}
77
78void wxCaret::OnSetFocus()
79{
80}
81
82void wxCaret::OnKillFocus()
83{
84}
85
86// ---------------------------------------------------------------------------
87// showing/hiding the caret
88// ---------------------------------------------------------------------------
89
90void wxCaret::DoShow()
91{
92}
93
94void wxCaret::DoHide()
95{
96}
97
98// ---------------------------------------------------------------------------
99// moving the caret
100// ---------------------------------------------------------------------------
101
102void wxCaret::DoMove()
103{
104}
105
106
107// ---------------------------------------------------------------------------
108// resizing the caret
109// ---------------------------------------------------------------------------
110
111void wxCaret::DoSize()
112{
113}
114
115#endif