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