]> git.saurik.com Git - wxWidgets.git/blame - src/palmos/tabctrl.cpp
Committing in .
[wxWidgets.git] / src / palmos / tabctrl.cpp
CommitLineData
ffecfa5a 1/////////////////////////////////////////////////////////////////////////////
e2731512 2// Name: src/palmos/tabctrl.cpp
ffecfa5a 3// Purpose: wxTabCtrl
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
ffecfa5a
JS
12// For compilers that support precompilation, includes "wx.h".
13#include "wx/wxprec.h"
14
15#ifdef __BORLANDC__
670f9935 16 #pragma hdrstop
ffecfa5a
JS
17#endif
18
db6d3918
VZ
19#if wxUSE_TAB_DIALOG
20
ffecfa5a 21#ifndef WX_PRECOMP
670f9935
WS
22 #include "wx/wx.h"
23 #include "wx/app.h"
ffecfa5a
JS
24#endif
25
26#if defined(__WIN95__)
27
28#include "wx/tabctrl.h"
ffecfa5a
JS
29#include "wx/palmos/imaglist.h"
30
31IMPLEMENT_DYNAMIC_CLASS(wxTabCtrl, wxControl)
32IMPLEMENT_DYNAMIC_CLASS(wxTabEvent, wxNotifyEvent)
33
34DEFINE_EVENT_TYPE(wxEVT_COMMAND_TAB_SEL_CHANGED)
35DEFINE_EVENT_TYPE(wxEVT_COMMAND_TAB_SEL_CHANGING)
36
37BEGIN_EVENT_TABLE(wxTabCtrl, wxControl)
ffecfa5a
JS
38END_EVENT_TABLE()
39
40wxTabCtrl::wxTabCtrl()
41{
42}
43
44bool wxTabCtrl::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, const wxSize& size,
45 long style, const wxString& name)
46{
47 return false;
48}
49
50wxTabCtrl::~wxTabCtrl()
51{
52}
53
54bool wxTabCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
55{
56 return false;
57}
58
ffecfa5a
JS
59// Delete all items
60bool wxTabCtrl::DeleteAllItems()
61{
62 return false;
63}
64
65// Delete an item
66bool wxTabCtrl::DeleteItem(int item)
67{
68 return false;
69}
70
71// Get the selection
72int wxTabCtrl::GetSelection() const
73{
74 return 0;
75}
76
77// Get the tab with the current keyboard focus
78int wxTabCtrl::GetCurFocus() const
79{
80 return 0;
81}
82
83// Get the associated image list
84wxImageList* wxTabCtrl::GetImageList() const
85{
86 return NULL;
87}
88
89// Get the number of items
90int wxTabCtrl::GetItemCount() const
91{
92 return 0;
93}
94
95// Get the rect corresponding to the tab
96bool wxTabCtrl::GetItemRect(int item, wxRect& wxrect) const
97{
98 return false;
99}
100
101// Get the number of rows
102int wxTabCtrl::GetRowCount() const
103{
104 return 0;
105}
106
107// Get the item text
108wxString wxTabCtrl::GetItemText(int item) const
109{
110 wxString str(wxEmptyString);
111
112 return str;
113}
114
115// Get the item image
116int wxTabCtrl::GetItemImage(int item) const
117{
118 return -1;
119}
120
121// Get the item data
122void* wxTabCtrl::GetItemData(int item) const
123{
124 return 0;
125}
126
127// Hit test
128int wxTabCtrl::HitTest(const wxPoint& pt, long& flags)
129{
130 return 0;
131}
132
133// Insert an item
134bool wxTabCtrl::InsertItem(int item, const wxString& text, int imageId, void* data)
135{
136 return false;
137}
138
139// Set the selection
140int wxTabCtrl::SetSelection(int item)
141{
142 return 0;
143}
144
145// Set the image list
146void wxTabCtrl::SetImageList(wxImageList* imageList)
147{
148}
149
150// Set the text for an item
151bool wxTabCtrl::SetItemText(int item, const wxString& text)
152{
153 return false;
154}
155
156// Set the image for an item
157bool wxTabCtrl::SetItemImage(int item, int image)
158{
159 return false;
160}
161
162// Set the data for an item
163bool wxTabCtrl::SetItemData(int item, void* data)
164{
165 return false;
166}
167
168// Set the size for a fixed-width tab control
169void wxTabCtrl::SetItemSize(const wxSize& size)
170{
171}
172
173// Set the padding between tabs
174void wxTabCtrl::SetPadding(const wxSize& padding)
175{
176}
177
178
179#endif
180 // __WIN95__
181
db6d3918 182#endif // wxUSE_TAB_DIALOG