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