]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/caret.cpp
Reverted changes that set m_widget to NULL in native
[wxWidgets.git] / src / palmos / caret.cpp
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: palmos/caret.cpp
3 // Purpose: Palm OS implementation of wxCaret
4 // Author: William Osborne
5 // Modified by:
6 // Created: 10.13.04
7 // RCS-ID: $Id:
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
59 int wxCaretBase::GetBlinkTime()
60 {
61 return 0;
62 }
63
64 //static
65 void wxCaretBase::SetBlinkTime(int milliseconds)
66 {
67 }
68
69 // ---------------------------------------------------------------------------
70 // creating/destroying the caret
71 // ---------------------------------------------------------------------------
72
73 bool wxCaret::PalmOSCreateCaret()
74 {
75 return false;
76 }
77
78 void wxCaret::OnSetFocus()
79 {
80 }
81
82 void wxCaret::OnKillFocus()
83 {
84 }
85
86 // ---------------------------------------------------------------------------
87 // showing/hiding the caret
88 // ---------------------------------------------------------------------------
89
90 void wxCaret::DoShow()
91 {
92 }
93
94 void wxCaret::DoHide()
95 {
96 }
97
98 // ---------------------------------------------------------------------------
99 // moving the caret
100 // ---------------------------------------------------------------------------
101
102 void wxCaret::DoMove()
103 {
104 }
105
106
107 // ---------------------------------------------------------------------------
108 // resizing the caret
109 // ---------------------------------------------------------------------------
110
111 void wxCaret::DoSize()
112 {
113 }
114
115 #endif