]> git.saurik.com Git - wxWidgets.git/blame - src/palmos/caret.cpp
Flush log events in console applications as well.
[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
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
27#ifndef WX_PRECOMP
28 #include "wx/window.h"
29 #include "wx/log.h"
30#endif // WX_PRECOMP
31
32#include "wx/caret.h"
33
34#if wxUSE_CARET
35
36#include "wx/palmos/private.h"
37
38// ---------------------------------------------------------------------------
39// macros
40// ---------------------------------------------------------------------------
41
42#define CALL_CARET_API(api, args) \
43 if ( !api args ) \
9a83f860 44 wxLogLastError(wxT(#api))
ffecfa5a
JS
45
46// ===========================================================================
47// implementation
48// ===========================================================================
49
50// ---------------------------------------------------------------------------
51// blink time
52// ---------------------------------------------------------------------------
53
54//static
55int wxCaretBase::GetBlinkTime()
56{
57 return 0;
58}
59
60//static
61void wxCaretBase::SetBlinkTime(int milliseconds)
62{
63}
64
65// ---------------------------------------------------------------------------
66// creating/destroying the caret
67// ---------------------------------------------------------------------------
68
69bool wxCaret::PalmOSCreateCaret()
70{
71 return false;
72}
73
74void wxCaret::OnSetFocus()
75{
76}
77
78void wxCaret::OnKillFocus()
79{
80}
81
82// ---------------------------------------------------------------------------
83// showing/hiding the caret
84// ---------------------------------------------------------------------------
85
86void wxCaret::DoShow()
87{
88}
89
90void wxCaret::DoHide()
91{
92}
93
94// ---------------------------------------------------------------------------
95// moving the caret
96// ---------------------------------------------------------------------------
97
98void wxCaret::DoMove()
99{
100}
101
102
103// ---------------------------------------------------------------------------
104// resizing the caret
105// ---------------------------------------------------------------------------
106
107void wxCaret::DoSize()
108{
109}
110
111#endif