]> git.saurik.com Git - wxWidgets.git/blame - src/palmos/choice.cpp
Add backend descriptions for all backends to the documentation.
[wxWidgets.git] / src / palmos / choice.cpp
CommitLineData
ffecfa5a 1/////////////////////////////////////////////////////////////////////////////
e2731512 2// Name: src/palmos/choice.cpp
ffecfa5a 3// Purpose: wxChoice
e2731512 4// Author: William Osborne - minimal working wxPalmOS port
ffecfa5a 5// Created: 10/13/04
e2731512 6// RCS-ID: $Id$
ffecfa5a
JS
7// Copyright: (c) William Osborne
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11// ============================================================================
12// declarations
13// ============================================================================
14
15// ----------------------------------------------------------------------------
16// headers
17// ----------------------------------------------------------------------------
18
ffecfa5a
JS
19// For compilers that support precompilation, includes "wx.h".
20#include "wx/wxprec.h"
21
22#ifdef __BORLANDC__
23 #pragma hdrstop
24#endif
25
26#if wxUSE_CHOICE
27
b36e08d0
WS
28#include "wx/choice.h"
29
ffecfa5a 30#ifndef WX_PRECOMP
ffecfa5a
JS
31 #include "wx/utils.h"
32 #include "wx/log.h"
33 #include "wx/brush.h"
34 #include "wx/settings.h"
35#endif
36
ffecfa5a
JS
37// ============================================================================
38// implementation
39// ============================================================================
40
41// ----------------------------------------------------------------------------
42// creation
43// ----------------------------------------------------------------------------
44
45bool wxChoice::Create(wxWindow *parent,
46 wxWindowID id,
47 const wxPoint& pos,
48 const wxSize& size,
49 int n, const wxString choices[],
50 long style,
51 const wxValidator& validator,
52 const wxString& name)
53{
54 return false;
55}
56
57bool wxChoice::CreateAndInit(wxWindow *parent,
58 wxWindowID id,
59 const wxPoint& pos,
60 const wxSize& size,
61 int n, const wxString choices[],
62 long style,
63 const wxValidator& validator,
64 const wxString& name)
65{
324eeecb 66 return false;
ffecfa5a
JS
67}
68
69bool wxChoice::Create(wxWindow *parent,
70 wxWindowID id,
71 const wxPoint& pos,
72 const wxSize& size,
73 const wxArrayString& choices,
74 long style,
75 const wxValidator& validator,
76 const wxString& name)
77{
78 return false;
79}
80
ffecfa5a
JS
81wxChoice::~wxChoice()
82{
83}
84
85// ----------------------------------------------------------------------------
86// adding/deleting items to/from the list
87// ----------------------------------------------------------------------------
88
a236aa20
VZ
89int wxChoice::DoInsertItems(const wxArrayStringsAdapter& items,
90 unsigned int pos,
91 void **clientData,
92 wxClientDataType type)
ffecfa5a
JS
93{
94 return 0;
95}
96
a236aa20 97void wxChoice::DoDeleteOneItem(unsigned int n)
ffecfa5a 98{
ffecfa5a
JS
99}
100
a236aa20 101void wxChoice::DoClear()
ffecfa5a
JS
102{
103}
104
105void wxChoice::Free()
106{
107}
108
109// ----------------------------------------------------------------------------
110// selection
111// ----------------------------------------------------------------------------
112
113int wxChoice::GetSelection() const
114{
115 return 0;
116}
117
118void wxChoice::SetSelection(int n)
119{
120}
121
122// ----------------------------------------------------------------------------
123// string list functions
124// ----------------------------------------------------------------------------
125
aa61d352 126unsigned int wxChoice::GetCount() const
ffecfa5a
JS
127{
128 return 0;
129}
130
aa61d352 131void wxChoice::SetString(unsigned int n, const wxString& s)
ffecfa5a
JS
132{
133}
134
aa61d352 135wxString wxChoice::GetString(unsigned int n) const
ffecfa5a 136{
aa61d352 137 return wxEmptyString;
ffecfa5a
JS
138}
139
140// ----------------------------------------------------------------------------
141// client data
142// ----------------------------------------------------------------------------
143
aa61d352 144void wxChoice::DoSetItemClientData(unsigned int n, void* clientData)
ffecfa5a
JS
145{
146}
147
aa61d352 148void* wxChoice::DoGetItemClientData(unsigned int n) const
ffecfa5a 149{
d3b9f782 150 return NULL;
ffecfa5a
JS
151}
152
ffecfa5a
JS
153// ----------------------------------------------------------------------------
154// wxMSW specific helpers
155// ----------------------------------------------------------------------------
156
157void wxChoice::UpdateVisibleHeight()
158{
159}
160
161void wxChoice::DoMoveWindow(int x, int y, int width, int height)
162{
163}
164
165void wxChoice::DoGetSize(int *w, int *h) const
166{
167}
168
169void wxChoice::DoSetSize(int x, int y,
170 int width, int height,
171 int sizeFlags)
172{
173}
174
175wxSize wxChoice::DoGetBestSize() const
176{
177 return wxSize(0,0);
178}
179
ffecfa5a 180#endif // wxUSE_CHOICE