]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/controls2.py
fixed wxWindow::SetCursor( wxNullCursor) for mac
[wxWidgets.git] / wxPython / src / msw / controls2.py
CommitLineData
8ab979d7
RD
1# This file was created automatically by SWIG.
2import controls2c
3
4from misc import *
5
6from windows import *
7
8from gdi import *
9
b1462dfa
RD
10from clip_dnd import *
11
8ab979d7
RD
12from events import *
13
14from controls import *
b8b8dda7 15import wx
f6bcfd97
BP
16class wxListItemAttrPtr :
17 def __init__(self,this):
18 self.this = this
19 self.thisown = 0
20 def SetTextColour(self, *_args, **_kwargs):
21 val = apply(controls2c.wxListItemAttr_SetTextColour,(self,) + _args, _kwargs)
22 return val
23 def SetBackgroundColour(self, *_args, **_kwargs):
24 val = apply(controls2c.wxListItemAttr_SetBackgroundColour,(self,) + _args, _kwargs)
25 return val
26 def SetFont(self, *_args, **_kwargs):
27 val = apply(controls2c.wxListItemAttr_SetFont,(self,) + _args, _kwargs)
28 return val
29 def HasTextColour(self, *_args, **_kwargs):
30 val = apply(controls2c.wxListItemAttr_HasTextColour,(self,) + _args, _kwargs)
31 return val
32 def HasBackgroundColour(self, *_args, **_kwargs):
33 val = apply(controls2c.wxListItemAttr_HasBackgroundColour,(self,) + _args, _kwargs)
34 return val
35 def HasFont(self, *_args, **_kwargs):
36 val = apply(controls2c.wxListItemAttr_HasFont,(self,) + _args, _kwargs)
37 return val
38 def GetTextColour(self, *_args, **_kwargs):
39 val = apply(controls2c.wxListItemAttr_GetTextColour,(self,) + _args, _kwargs)
40 if val: val = wxColourPtr(val)
41 return val
42 def GetBackgroundColour(self, *_args, **_kwargs):
43 val = apply(controls2c.wxListItemAttr_GetBackgroundColour,(self,) + _args, _kwargs)
44 if val: val = wxColourPtr(val)
45 return val
46 def GetFont(self, *_args, **_kwargs):
47 val = apply(controls2c.wxListItemAttr_GetFont,(self,) + _args, _kwargs)
48 if val: val = wxFontPtr(val)
49 return val
50 def __repr__(self):
51 return "<C wxListItemAttr instance at %s>" % (self.this,)
52class wxListItemAttr(wxListItemAttrPtr):
53 def __init__(self,*_args,**_kwargs):
54 self.this = apply(controls2c.new_wxListItemAttr,_args,_kwargs)
55 self.thisown = 1
56
57
58
59
8ab979d7
RD
60class wxListItemPtr :
61 def __init__(self,this):
62 self.this = this
63 self.thisown = 0
1d99702e 64 def __del__(self,controls2c=controls2c):
8ab979d7 65 if self.thisown == 1 :
1d99702e 66 controls2c.delete_wxListItem(self)
f6bcfd97
BP
67 def Clear(self, *_args, **_kwargs):
68 val = apply(controls2c.wxListItem_Clear,(self,) + _args, _kwargs)
69 return val
70 def ClearAttributes(self, *_args, **_kwargs):
71 val = apply(controls2c.wxListItem_ClearAttributes,(self,) + _args, _kwargs)
72 return val
73 def SetMask(self, *_args, **_kwargs):
74 val = apply(controls2c.wxListItem_SetMask,(self,) + _args, _kwargs)
75 return val
76 def SetId(self, *_args, **_kwargs):
77 val = apply(controls2c.wxListItem_SetId,(self,) + _args, _kwargs)
78 return val
79 def SetColumn(self, *_args, **_kwargs):
80 val = apply(controls2c.wxListItem_SetColumn,(self,) + _args, _kwargs)
81 return val
82 def SetState(self, *_args, **_kwargs):
83 val = apply(controls2c.wxListItem_SetState,(self,) + _args, _kwargs)
84 return val
85 def SetStateMask(self, *_args, **_kwargs):
86 val = apply(controls2c.wxListItem_SetStateMask,(self,) + _args, _kwargs)
87 return val
88 def SetText(self, *_args, **_kwargs):
89 val = apply(controls2c.wxListItem_SetText,(self,) + _args, _kwargs)
90 return val
91 def SetImage(self, *_args, **_kwargs):
92 val = apply(controls2c.wxListItem_SetImage,(self,) + _args, _kwargs)
93 return val
94 def SetData(self, *_args, **_kwargs):
95 val = apply(controls2c.wxListItem_SetData,(self,) + _args, _kwargs)
96 return val
97 def SetWidth(self, *_args, **_kwargs):
98 val = apply(controls2c.wxListItem_SetWidth,(self,) + _args, _kwargs)
99 return val
100 def SetAlign(self, *_args, **_kwargs):
101 val = apply(controls2c.wxListItem_SetAlign,(self,) + _args, _kwargs)
102 return val
103 def SetTextColour(self, *_args, **_kwargs):
104 val = apply(controls2c.wxListItem_SetTextColour,(self,) + _args, _kwargs)
105 return val
106 def SetBackgroundColour(self, *_args, **_kwargs):
107 val = apply(controls2c.wxListItem_SetBackgroundColour,(self,) + _args, _kwargs)
108 return val
109 def SetFont(self, *_args, **_kwargs):
110 val = apply(controls2c.wxListItem_SetFont,(self,) + _args, _kwargs)
111 return val
112 def GetMask(self, *_args, **_kwargs):
113 val = apply(controls2c.wxListItem_GetMask,(self,) + _args, _kwargs)
114 return val
115 def GetId(self, *_args, **_kwargs):
116 val = apply(controls2c.wxListItem_GetId,(self,) + _args, _kwargs)
117 return val
118 def GetColumn(self, *_args, **_kwargs):
119 val = apply(controls2c.wxListItem_GetColumn,(self,) + _args, _kwargs)
120 return val
121 def GetState(self, *_args, **_kwargs):
122 val = apply(controls2c.wxListItem_GetState,(self,) + _args, _kwargs)
123 return val
124 def GetText(self, *_args, **_kwargs):
125 val = apply(controls2c.wxListItem_GetText,(self,) + _args, _kwargs)
126 return val
127 def GetImage(self, *_args, **_kwargs):
128 val = apply(controls2c.wxListItem_GetImage,(self,) + _args, _kwargs)
129 return val
130 def GetData(self, *_args, **_kwargs):
131 val = apply(controls2c.wxListItem_GetData,(self,) + _args, _kwargs)
132 return val
133 def GetWidth(self, *_args, **_kwargs):
134 val = apply(controls2c.wxListItem_GetWidth,(self,) + _args, _kwargs)
135 return val
136 def GetAlign(self, *_args, **_kwargs):
137 val = apply(controls2c.wxListItem_GetAlign,(self,) + _args, _kwargs)
138 return val
139 def GetAttributes(self, *_args, **_kwargs):
140 val = apply(controls2c.wxListItem_GetAttributes,(self,) + _args, _kwargs)
141 if val: val = wxListItemAttrPtr(val)
142 return val
143 def HasAttributes(self, *_args, **_kwargs):
144 val = apply(controls2c.wxListItem_HasAttributes,(self,) + _args, _kwargs)
145 return val
146 def GetTextColour(self, *_args, **_kwargs):
147 val = apply(controls2c.wxListItem_GetTextColour,(self,) + _args, _kwargs)
148 if val: val = wxColourPtr(val) ; val.thisown = 1
149 return val
150 def GetBackgroundColour(self, *_args, **_kwargs):
151 val = apply(controls2c.wxListItem_GetBackgroundColour,(self,) + _args, _kwargs)
152 if val: val = wxColourPtr(val) ; val.thisown = 1
153 return val
154 def GetFont(self, *_args, **_kwargs):
155 val = apply(controls2c.wxListItem_GetFont,(self,) + _args, _kwargs)
156 if val: val = wxFontPtr(val) ; val.thisown = 1
157 return val
8ab979d7
RD
158 def __setattr__(self,name,value):
159 if name == "m_mask" :
1d99702e 160 controls2c.wxListItem_m_mask_set(self,value)
8ab979d7
RD
161 return
162 if name == "m_itemId" :
1d99702e 163 controls2c.wxListItem_m_itemId_set(self,value)
8ab979d7
RD
164 return
165 if name == "m_col" :
1d99702e 166 controls2c.wxListItem_m_col_set(self,value)
8ab979d7
RD
167 return
168 if name == "m_state" :
1d99702e 169 controls2c.wxListItem_m_state_set(self,value)
8ab979d7
RD
170 return
171 if name == "m_stateMask" :
1d99702e 172 controls2c.wxListItem_m_stateMask_set(self,value)
8ab979d7
RD
173 return
174 if name == "m_text" :
1d99702e 175 controls2c.wxListItem_m_text_set(self,value)
8ab979d7
RD
176 return
177 if name == "m_image" :
1d99702e 178 controls2c.wxListItem_m_image_set(self,value)
8ab979d7
RD
179 return
180 if name == "m_data" :
1d99702e 181 controls2c.wxListItem_m_data_set(self,value)
8ab979d7
RD
182 return
183 if name == "m_format" :
1d99702e 184 controls2c.wxListItem_m_format_set(self,value)
8ab979d7
RD
185 return
186 if name == "m_width" :
1d99702e 187 controls2c.wxListItem_m_width_set(self,value)
8ab979d7
RD
188 return
189 self.__dict__[name] = value
190 def __getattr__(self,name):
191 if name == "m_mask" :
1d99702e 192 return controls2c.wxListItem_m_mask_get(self)
8ab979d7 193 if name == "m_itemId" :
1d99702e 194 return controls2c.wxListItem_m_itemId_get(self)
8ab979d7 195 if name == "m_col" :
1d99702e 196 return controls2c.wxListItem_m_col_get(self)
8ab979d7 197 if name == "m_state" :
1d99702e 198 return controls2c.wxListItem_m_state_get(self)
8ab979d7 199 if name == "m_stateMask" :
1d99702e 200 return controls2c.wxListItem_m_stateMask_get(self)
8ab979d7 201 if name == "m_text" :
1d99702e 202 return controls2c.wxListItem_m_text_get(self)
8ab979d7 203 if name == "m_image" :
1d99702e 204 return controls2c.wxListItem_m_image_get(self)
8ab979d7 205 if name == "m_data" :
1d99702e 206 return controls2c.wxListItem_m_data_get(self)
8ab979d7 207 if name == "m_format" :
1d99702e 208 return controls2c.wxListItem_m_format_get(self)
8ab979d7 209 if name == "m_width" :
1d99702e 210 return controls2c.wxListItem_m_width_get(self)
8ab979d7
RD
211 raise AttributeError,name
212 def __repr__(self):
1d99702e 213 return "<C wxListItem instance at %s>" % (self.this,)
8ab979d7 214class wxListItem(wxListItemPtr):
1d99702e
RD
215 def __init__(self,*_args,**_kwargs):
216 self.this = apply(controls2c.new_wxListItem,_args,_kwargs)
8ab979d7
RD
217 self.thisown = 1
218
219
220
221
c368d904 222class wxListEventPtr(wxNotifyEventPtr):
8ab979d7
RD
223 def __init__(self,this):
224 self.this = this
225 self.thisown = 0
f6bcfd97
BP
226 def GetCode(self, *_args, **_kwargs):
227 val = apply(controls2c.wxListEvent_GetCode,(self,) + _args, _kwargs)
228 return val
229 def GetIndex(self, *_args, **_kwargs):
230 val = apply(controls2c.wxListEvent_GetIndex,(self,) + _args, _kwargs)
231 return val
232 def GetOldIndex(self, *_args, **_kwargs):
233 val = apply(controls2c.wxListEvent_GetOldIndex,(self,) + _args, _kwargs)
234 return val
235 def GetOldItem(self, *_args, **_kwargs):
236 val = apply(controls2c.wxListEvent_GetOldItem,(self,) + _args, _kwargs)
237 return val
238 def GetColumn(self, *_args, **_kwargs):
239 val = apply(controls2c.wxListEvent_GetColumn,(self,) + _args, _kwargs)
240 return val
241 def Cancelled(self, *_args, **_kwargs):
242 val = apply(controls2c.wxListEvent_Cancelled,(self,) + _args, _kwargs)
243 return val
244 def GetPoint(self, *_args, **_kwargs):
245 val = apply(controls2c.wxListEvent_GetPoint,(self,) + _args, _kwargs)
246 if val: val = wxPointPtr(val) ; val.thisown = 1
247 return val
248 def GetLabel(self, *_args, **_kwargs):
249 val = apply(controls2c.wxListEvent_GetLabel,(self,) + _args, _kwargs)
250 return val
251 def GetText(self, *_args, **_kwargs):
252 val = apply(controls2c.wxListEvent_GetText,(self,) + _args, _kwargs)
253 return val
254 def GetImage(self, *_args, **_kwargs):
255 val = apply(controls2c.wxListEvent_GetImage,(self,) + _args, _kwargs)
256 return val
257 def GetData(self, *_args, **_kwargs):
258 val = apply(controls2c.wxListEvent_GetData,(self,) + _args, _kwargs)
259 return val
260 def GetMask(self, *_args, **_kwargs):
261 val = apply(controls2c.wxListEvent_GetMask,(self,) + _args, _kwargs)
262 return val
263 def GetItem(self, *_args, **_kwargs):
264 val = apply(controls2c.wxListEvent_GetItem,(self,) + _args, _kwargs)
265 if val: val = wxListItemPtr(val)
266 return val
8ab979d7
RD
267 def __setattr__(self,name,value):
268 if name == "m_code" :
1d99702e 269 controls2c.wxListEvent_m_code_set(self,value)
8ab979d7
RD
270 return
271 if name == "m_itemIndex" :
1d99702e 272 controls2c.wxListEvent_m_itemIndex_set(self,value)
8ab979d7
RD
273 return
274 if name == "m_oldItemIndex" :
1d99702e 275 controls2c.wxListEvent_m_oldItemIndex_set(self,value)
8ab979d7
RD
276 return
277 if name == "m_col" :
1d99702e 278 controls2c.wxListEvent_m_col_set(self,value)
8ab979d7
RD
279 return
280 if name == "m_cancelled" :
1d99702e 281 controls2c.wxListEvent_m_cancelled_set(self,value)
8ab979d7
RD
282 return
283 if name == "m_pointDrag" :
1d99702e 284 controls2c.wxListEvent_m_pointDrag_set(self,value.this)
8ab979d7
RD
285 return
286 if name == "m_item" :
1d99702e 287 controls2c.wxListEvent_m_item_set(self,value.this)
8ab979d7
RD
288 return
289 self.__dict__[name] = value
290 def __getattr__(self,name):
291 if name == "m_code" :
1d99702e 292 return controls2c.wxListEvent_m_code_get(self)
8ab979d7 293 if name == "m_itemIndex" :
1d99702e 294 return controls2c.wxListEvent_m_itemIndex_get(self)
8ab979d7 295 if name == "m_oldItemIndex" :
1d99702e 296 return controls2c.wxListEvent_m_oldItemIndex_get(self)
8ab979d7 297 if name == "m_col" :
1d99702e 298 return controls2c.wxListEvent_m_col_get(self)
8ab979d7 299 if name == "m_cancelled" :
1d99702e 300 return controls2c.wxListEvent_m_cancelled_get(self)
8ab979d7 301 if name == "m_pointDrag" :
1d99702e 302 return wxPointPtr(controls2c.wxListEvent_m_pointDrag_get(self))
8ab979d7 303 if name == "m_item" :
1d99702e 304 return wxListItemPtr(controls2c.wxListEvent_m_item_get(self))
8ab979d7
RD
305 raise AttributeError,name
306 def __repr__(self):
1d99702e 307 return "<C wxListEvent instance at %s>" % (self.this,)
8ab979d7
RD
308class wxListEvent(wxListEventPtr):
309 def __init__(self,this):
310 self.this = this
311
312
313
314
315class wxListCtrlPtr(wxControlPtr):
316 def __init__(self,this):
317 self.this = this
318 self.thisown = 0
1d99702e
RD
319 def Arrange(self, *_args, **_kwargs):
320 val = apply(controls2c.wxListCtrl_Arrange,(self,) + _args, _kwargs)
8ab979d7 321 return val
1b62f00d
RD
322 def AssignImageList(self, *_args, **_kwargs):
323 val = apply(controls2c.wxListCtrl_AssignImageList,(self,) + _args, _kwargs)
324 return val
1d99702e
RD
325 def DeleteItem(self, *_args, **_kwargs):
326 val = apply(controls2c.wxListCtrl_DeleteItem,(self,) + _args, _kwargs)
8ab979d7 327 return val
1d99702e
RD
328 def DeleteAllItems(self, *_args, **_kwargs):
329 val = apply(controls2c.wxListCtrl_DeleteAllItems,(self,) + _args, _kwargs)
8ab979d7 330 return val
1d99702e
RD
331 def DeleteColumn(self, *_args, **_kwargs):
332 val = apply(controls2c.wxListCtrl_DeleteColumn,(self,) + _args, _kwargs)
8ab979d7 333 return val
1d99702e
RD
334 def DeleteAllColumns(self, *_args, **_kwargs):
335 val = apply(controls2c.wxListCtrl_DeleteAllColumns,(self,) + _args, _kwargs)
8ab979d7 336 return val
1d99702e
RD
337 def ClearAll(self, *_args, **_kwargs):
338 val = apply(controls2c.wxListCtrl_ClearAll,(self,) + _args, _kwargs)
8ab979d7 339 return val
1d99702e
RD
340 def EditLabel(self, *_args, **_kwargs):
341 val = apply(controls2c.wxListCtrl_EditLabel,(self,) + _args, _kwargs)
342 if val: val = wxTextCtrlPtr(val)
8ab979d7 343 return val
1d99702e
RD
344 def EndEditLabel(self, *_args, **_kwargs):
345 val = apply(controls2c.wxListCtrl_EndEditLabel,(self,) + _args, _kwargs)
8ab979d7 346 return val
1d99702e
RD
347 def GetEditControl(self, *_args, **_kwargs):
348 val = apply(controls2c.wxListCtrl_GetEditControl,(self,) + _args, _kwargs)
349 if val: val = wxTextCtrlPtr(val)
be4d9c1f 350 return val
1d99702e
RD
351 def EnsureVisible(self, *_args, **_kwargs):
352 val = apply(controls2c.wxListCtrl_EnsureVisible,(self,) + _args, _kwargs)
8ab979d7 353 return val
1d99702e
RD
354 def FindItem(self, *_args, **_kwargs):
355 val = apply(controls2c.wxListCtrl_FindItem,(self,) + _args, _kwargs)
8ab979d7 356 return val
1d99702e
RD
357 def FindItemData(self, *_args, **_kwargs):
358 val = apply(controls2c.wxListCtrl_FindItemData,(self,) + _args, _kwargs)
8ab979d7 359 return val
1d99702e
RD
360 def FindItemAtPos(self, *_args, **_kwargs):
361 val = apply(controls2c.wxListCtrl_FindItemAtPos,(self,) + _args, _kwargs)
8ab979d7 362 return val
1d99702e
RD
363 def GetColumn(self, *_args, **_kwargs):
364 val = apply(controls2c.wxListCtrl_GetColumn,(self,) + _args, _kwargs)
8ab979d7 365 return val
1d99702e
RD
366 def GetColumnWidth(self, *_args, **_kwargs):
367 val = apply(controls2c.wxListCtrl_GetColumnWidth,(self,) + _args, _kwargs)
8ab979d7 368 return val
1d99702e
RD
369 def GetCountPerPage(self, *_args, **_kwargs):
370 val = apply(controls2c.wxListCtrl_GetCountPerPage,(self,) + _args, _kwargs)
8ab979d7 371 return val
1d99702e
RD
372 def GetImageList(self, *_args, **_kwargs):
373 val = apply(controls2c.wxListCtrl_GetImageList,(self,) + _args, _kwargs)
374 if val: val = wxImageListPtr(val)
8ab979d7 375 return val
1d99702e
RD
376 def GetItemData(self, *_args, **_kwargs):
377 val = apply(controls2c.wxListCtrl_GetItemData,(self,) + _args, _kwargs)
8ab979d7 378 return val
1d99702e
RD
379 def GetItem(self, *_args, **_kwargs):
380 val = apply(controls2c.wxListCtrl_GetItem,(self,) + _args, _kwargs)
381 if val: val = wxListItemPtr(val) ; val.thisown = 1
8ab979d7 382 return val
1d99702e
RD
383 def GetItemPosition(self, *_args, **_kwargs):
384 val = apply(controls2c.wxListCtrl_GetItemPosition,(self,) + _args, _kwargs)
385 if val: val = wxPointPtr(val) ; val.thisown = 1
8ab979d7 386 return val
1d99702e
RD
387 def GetItemRect(self, *_args, **_kwargs):
388 val = apply(controls2c.wxListCtrl_GetItemRect,(self,) + _args, _kwargs)
389 if val: val = wxRectPtr(val) ; val.thisown = 1
8ab979d7 390 return val
1d99702e
RD
391 def GetItemState(self, *_args, **_kwargs):
392 val = apply(controls2c.wxListCtrl_GetItemState,(self,) + _args, _kwargs)
8ab979d7 393 return val
1d99702e
RD
394 def GetItemCount(self, *_args, **_kwargs):
395 val = apply(controls2c.wxListCtrl_GetItemCount,(self,) + _args, _kwargs)
8ab979d7 396 return val
1d99702e
RD
397 def GetItemSpacing(self, *_args, **_kwargs):
398 val = apply(controls2c.wxListCtrl_GetItemSpacing,(self,) + _args, _kwargs)
8ab979d7 399 return val
1d99702e
RD
400 def GetItemText(self, *_args, **_kwargs):
401 val = apply(controls2c.wxListCtrl_GetItemText,(self,) + _args, _kwargs)
8ab979d7 402 return val
1d99702e
RD
403 def GetNextItem(self, *_args, **_kwargs):
404 val = apply(controls2c.wxListCtrl_GetNextItem,(self,) + _args, _kwargs)
8ab979d7 405 return val
1d99702e
RD
406 def GetSelectedItemCount(self, *_args, **_kwargs):
407 val = apply(controls2c.wxListCtrl_GetSelectedItemCount,(self,) + _args, _kwargs)
8ab979d7 408 return val
1d99702e
RD
409 def GetTextColour(self, *_args, **_kwargs):
410 val = apply(controls2c.wxListCtrl_GetTextColour,(self,) + _args, _kwargs)
411 if val: val = wxColourPtr(val) ; val.thisown = 1
8ab979d7 412 return val
1d99702e
RD
413 def SetTextColour(self, *_args, **_kwargs):
414 val = apply(controls2c.wxListCtrl_SetTextColour,(self,) + _args, _kwargs)
be4d9c1f 415 return val
1d99702e
RD
416 def GetTopItem(self, *_args, **_kwargs):
417 val = apply(controls2c.wxListCtrl_GetTopItem,(self,) + _args, _kwargs)
8ab979d7 418 return val
1d99702e
RD
419 def HitTest(self, *_args, **_kwargs):
420 val = apply(controls2c.wxListCtrl_HitTest,(self,) + _args, _kwargs)
8ab979d7 421 return val
c368d904
RD
422 def InsertColumnInfo(self, *_args, **_kwargs):
423 val = apply(controls2c.wxListCtrl_InsertColumnInfo,(self,) + _args, _kwargs)
8ab979d7 424 return val
1d99702e
RD
425 def InsertColumn(self, *_args, **_kwargs):
426 val = apply(controls2c.wxListCtrl_InsertColumn,(self,) + _args, _kwargs)
8ab979d7 427 return val
1d99702e
RD
428 def InsertItem(self, *_args, **_kwargs):
429 val = apply(controls2c.wxListCtrl_InsertItem,(self,) + _args, _kwargs)
8ab979d7 430 return val
1d99702e
RD
431 def InsertStringItem(self, *_args, **_kwargs):
432 val = apply(controls2c.wxListCtrl_InsertStringItem,(self,) + _args, _kwargs)
8ab979d7 433 return val
1d99702e
RD
434 def InsertImageItem(self, *_args, **_kwargs):
435 val = apply(controls2c.wxListCtrl_InsertImageItem,(self,) + _args, _kwargs)
8ab979d7 436 return val
1d99702e
RD
437 def InsertImageStringItem(self, *_args, **_kwargs):
438 val = apply(controls2c.wxListCtrl_InsertImageStringItem,(self,) + _args, _kwargs)
8ab979d7 439 return val
1d99702e
RD
440 def ScrollList(self, *_args, **_kwargs):
441 val = apply(controls2c.wxListCtrl_ScrollList,(self,) + _args, _kwargs)
8ab979d7 442 return val
1d99702e
RD
443 def SetBackgroundColour(self, *_args, **_kwargs):
444 val = apply(controls2c.wxListCtrl_SetBackgroundColour,(self,) + _args, _kwargs)
8ab979d7 445 return val
1d99702e
RD
446 def SetColumn(self, *_args, **_kwargs):
447 val = apply(controls2c.wxListCtrl_SetColumn,(self,) + _args, _kwargs)
8ab979d7 448 return val
1d99702e
RD
449 def SetColumnWidth(self, *_args, **_kwargs):
450 val = apply(controls2c.wxListCtrl_SetColumnWidth,(self,) + _args, _kwargs)
8ab979d7 451 return val
1d99702e
RD
452 def SetImageList(self, *_args, **_kwargs):
453 val = apply(controls2c.wxListCtrl_SetImageList,(self,) + _args, _kwargs)
8ab979d7 454 return val
1d99702e
RD
455 def SetItem(self, *_args, **_kwargs):
456 val = apply(controls2c.wxListCtrl_SetItem,(self,) + _args, _kwargs)
8ab979d7 457 return val
1d99702e
RD
458 def SetStringItem(self, *_args, **_kwargs):
459 val = apply(controls2c.wxListCtrl_SetStringItem,(self,) + _args, _kwargs)
8ab979d7 460 return val
1d99702e
RD
461 def SetItemData(self, *_args, **_kwargs):
462 val = apply(controls2c.wxListCtrl_SetItemData,(self,) + _args, _kwargs)
8ab979d7 463 return val
1d99702e
RD
464 def SetItemImage(self, *_args, **_kwargs):
465 val = apply(controls2c.wxListCtrl_SetItemImage,(self,) + _args, _kwargs)
8ab979d7 466 return val
1d99702e
RD
467 def SetItemPosition(self, *_args, **_kwargs):
468 val = apply(controls2c.wxListCtrl_SetItemPosition,(self,) + _args, _kwargs)
8ab979d7 469 return val
1d99702e
RD
470 def SetItemState(self, *_args, **_kwargs):
471 val = apply(controls2c.wxListCtrl_SetItemState,(self,) + _args, _kwargs)
8ab979d7 472 return val
1d99702e
RD
473 def SetItemText(self, *_args, **_kwargs):
474 val = apply(controls2c.wxListCtrl_SetItemText,(self,) + _args, _kwargs)
8ab979d7 475 return val
1d99702e
RD
476 def SetSingleStyle(self, *_args, **_kwargs):
477 val = apply(controls2c.wxListCtrl_SetSingleStyle,(self,) + _args, _kwargs)
8ab979d7 478 return val
1d99702e
RD
479 def SetWindowStyleFlag(self, *_args, **_kwargs):
480 val = apply(controls2c.wxListCtrl_SetWindowStyleFlag,(self,) + _args, _kwargs)
8ab979d7 481 return val
dcd38683
RD
482 def SortItems(self, *_args, **_kwargs):
483 val = apply(controls2c.wxListCtrl_SortItems,(self,) + _args, _kwargs)
484 return val
8ab979d7 485 def __repr__(self):
1d99702e 486 return "<C wxListCtrl instance at %s>" % (self.this,)
8ab979d7 487class wxListCtrl(wxListCtrlPtr):
1d99702e
RD
488 def __init__(self,*_args,**_kwargs):
489 self.this = apply(controls2c.new_wxListCtrl,_args,_kwargs)
8ab979d7 490 self.thisown = 1
f6bcfd97 491 #wx._StdWindowCallbacks(self)
8ab979d7
RD
492
493
494
495
d5c9047a 496class wxTreeItemIdPtr :
8ab979d7
RD
497 def __init__(self,this):
498 self.this = this
499 self.thisown = 0
1d99702e 500 def __del__(self,controls2c=controls2c):
8ab979d7 501 if self.thisown == 1 :
1d99702e
RD
502 controls2c.delete_wxTreeItemId(self)
503 def IsOk(self, *_args, **_kwargs):
504 val = apply(controls2c.wxTreeItemId_IsOk,(self,) + _args, _kwargs)
d5c9047a 505 return val
f6bcfd97
BP
506 def __cmp__(self, *_args, **_kwargs):
507 val = apply(controls2c.wxTreeItemId___cmp__,(self,) + _args, _kwargs)
508 return val
d5c9047a 509 def __repr__(self):
1d99702e 510 return "<C wxTreeItemId instance at %s>" % (self.this,)
d5c9047a 511class wxTreeItemId(wxTreeItemIdPtr):
1d99702e
RD
512 def __init__(self,*_args,**_kwargs):
513 self.this = apply(controls2c.new_wxTreeItemId,_args,_kwargs)
d5c9047a
RD
514 self.thisown = 1
515
516
517
518
519class wxTreeItemDataPtr :
520 def __init__(self,this):
521 self.this = this
522 self.thisown = 0
1d99702e
RD
523 def GetData(self, *_args, **_kwargs):
524 val = apply(controls2c.wxTreeItemData_GetData,(self,) + _args, _kwargs)
cf694132 525 return val
1d99702e
RD
526 def SetData(self, *_args, **_kwargs):
527 val = apply(controls2c.wxTreeItemData_SetData,(self,) + _args, _kwargs)
cf694132 528 return val
1d99702e
RD
529 def GetId(self, *_args, **_kwargs):
530 val = apply(controls2c.wxTreeItemData_GetId,(self,) + _args, _kwargs)
531 if val: val = wxTreeItemIdPtr(val)
d5c9047a 532 return val
1d99702e
RD
533 def SetId(self, *_args, **_kwargs):
534 val = apply(controls2c.wxTreeItemData_SetId,(self,) + _args, _kwargs)
630d84f2 535 return val
8ab979d7 536 def __repr__(self):
1d99702e 537 return "<C wxTreeItemData instance at %s>" % (self.this,)
d5c9047a 538class wxTreeItemData(wxTreeItemDataPtr):
1d99702e
RD
539 def __init__(self,*_args,**_kwargs):
540 self.this = apply(controls2c.new_wxTreeItemData,_args,_kwargs)
8ab979d7
RD
541 self.thisown = 1
542
543
544
545
8bf5d46e 546class wxTreeEventPtr(wxNotifyEventPtr):
8ab979d7
RD
547 def __init__(self,this):
548 self.this = this
549 self.thisown = 0
1d99702e
RD
550 def GetItem(self, *_args, **_kwargs):
551 val = apply(controls2c.wxTreeEvent_GetItem,(self,) + _args, _kwargs)
552 if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
d5c9047a 553 return val
1d99702e
RD
554 def GetOldItem(self, *_args, **_kwargs):
555 val = apply(controls2c.wxTreeEvent_GetOldItem,(self,) + _args, _kwargs)
556 if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
d5c9047a 557 return val
1d99702e
RD
558 def GetPoint(self, *_args, **_kwargs):
559 val = apply(controls2c.wxTreeEvent_GetPoint,(self,) + _args, _kwargs)
560 if val: val = wxPointPtr(val) ; val.thisown = 1
d5c9047a 561 return val
1d99702e
RD
562 def GetCode(self, *_args, **_kwargs):
563 val = apply(controls2c.wxTreeEvent_GetCode,(self,) + _args, _kwargs)
d5c9047a 564 return val
1d99702e
RD
565 def GetLabel(self, *_args, **_kwargs):
566 val = apply(controls2c.wxTreeEvent_GetLabel,(self,) + _args, _kwargs)
d5c9047a 567 return val
8ab979d7 568 def __repr__(self):
1d99702e 569 return "<C wxTreeEvent instance at %s>" % (self.this,)
8ab979d7
RD
570class wxTreeEvent(wxTreeEventPtr):
571 def __init__(self,this):
572 self.this = this
573
574
575
576
577class wxTreeCtrlPtr(wxControlPtr):
578 def __init__(self,this):
579 self.this = this
580 self.thisown = 0
f6bcfd97
BP
581 def _setSelf(self, *_args, **_kwargs):
582 val = apply(controls2c.wxTreeCtrl__setSelf,(self,) + _args, _kwargs)
583 return val
1b62f00d
RD
584 def AssignImageList(self, *_args, **_kwargs):
585 val = apply(controls2c.wxTreeCtrl_AssignImageList,(self,) + _args, _kwargs)
586 return val
1d99702e
RD
587 def GetCount(self, *_args, **_kwargs):
588 val = apply(controls2c.wxTreeCtrl_GetCount,(self,) + _args, _kwargs)
8ab979d7 589 return val
1d99702e
RD
590 def GetIndent(self, *_args, **_kwargs):
591 val = apply(controls2c.wxTreeCtrl_GetIndent,(self,) + _args, _kwargs)
8ab979d7 592 return val
1d99702e
RD
593 def SetIndent(self, *_args, **_kwargs):
594 val = apply(controls2c.wxTreeCtrl_SetIndent,(self,) + _args, _kwargs)
8ab979d7 595 return val
1d99702e
RD
596 def GetImageList(self, *_args, **_kwargs):
597 val = apply(controls2c.wxTreeCtrl_GetImageList,(self,) + _args, _kwargs)
598 if val: val = wxImageListPtr(val)
8ab979d7 599 return val
1d99702e
RD
600 def GetStateImageList(self, *_args, **_kwargs):
601 val = apply(controls2c.wxTreeCtrl_GetStateImageList,(self,) + _args, _kwargs)
602 if val: val = wxImageListPtr(val)
8ab979d7 603 return val
1d99702e
RD
604 def SetImageList(self, *_args, **_kwargs):
605 val = apply(controls2c.wxTreeCtrl_SetImageList,(self,) + _args, _kwargs)
8ab979d7 606 return val
1d99702e
RD
607 def SetStateImageList(self, *_args, **_kwargs):
608 val = apply(controls2c.wxTreeCtrl_SetStateImageList,(self,) + _args, _kwargs)
8ab979d7 609 return val
b1462dfa
RD
610 def GetSpacing(self, *_args, **_kwargs):
611 val = apply(controls2c.wxTreeCtrl_GetSpacing,(self,) + _args, _kwargs)
612 return val
613 def SetSpacing(self, *_args, **_kwargs):
614 val = apply(controls2c.wxTreeCtrl_SetSpacing,(self,) + _args, _kwargs)
615 return val
1d99702e
RD
616 def GetItemText(self, *_args, **_kwargs):
617 val = apply(controls2c.wxTreeCtrl_GetItemText,(self,) + _args, _kwargs)
8ab979d7 618 return val
1d99702e
RD
619 def GetItemImage(self, *_args, **_kwargs):
620 val = apply(controls2c.wxTreeCtrl_GetItemImage,(self,) + _args, _kwargs)
8ab979d7 621 return val
1d99702e
RD
622 def GetItemSelectedImage(self, *_args, **_kwargs):
623 val = apply(controls2c.wxTreeCtrl_GetItemSelectedImage,(self,) + _args, _kwargs)
8ab979d7 624 return val
1d99702e
RD
625 def SetItemText(self, *_args, **_kwargs):
626 val = apply(controls2c.wxTreeCtrl_SetItemText,(self,) + _args, _kwargs)
8ab979d7 627 return val
1d99702e
RD
628 def SetItemImage(self, *_args, **_kwargs):
629 val = apply(controls2c.wxTreeCtrl_SetItemImage,(self,) + _args, _kwargs)
8ab979d7 630 return val
1d99702e
RD
631 def SetItemSelectedImage(self, *_args, **_kwargs):
632 val = apply(controls2c.wxTreeCtrl_SetItemSelectedImage,(self,) + _args, _kwargs)
8ab979d7 633 return val
1d99702e
RD
634 def SetItemHasChildren(self, *_args, **_kwargs):
635 val = apply(controls2c.wxTreeCtrl_SetItemHasChildren,(self,) + _args, _kwargs)
cf694132 636 return val
1d99702e
RD
637 def GetItemData(self, *_args, **_kwargs):
638 val = apply(controls2c.wxTreeCtrl_GetItemData,(self,) + _args, _kwargs)
639 if val: val = wxTreeItemDataPtr(val)
cf694132 640 return val
1d99702e
RD
641 def SetItemData(self, *_args, **_kwargs):
642 val = apply(controls2c.wxTreeCtrl_SetItemData,(self,) + _args, _kwargs)
d5c9047a 643 return val
1d99702e
RD
644 def GetPyData(self, *_args, **_kwargs):
645 val = apply(controls2c.wxTreeCtrl_GetPyData,(self,) + _args, _kwargs)
cf694132 646 return val
1d99702e
RD
647 def SetPyData(self, *_args, **_kwargs):
648 val = apply(controls2c.wxTreeCtrl_SetPyData,(self,) + _args, _kwargs)
08127323 649 return val
1d99702e
RD
650 def IsVisible(self, *_args, **_kwargs):
651 val = apply(controls2c.wxTreeCtrl_IsVisible,(self,) + _args, _kwargs)
8ab979d7 652 return val
1d99702e
RD
653 def ItemHasChildren(self, *_args, **_kwargs):
654 val = apply(controls2c.wxTreeCtrl_ItemHasChildren,(self,) + _args, _kwargs)
8ab979d7 655 return val
1d99702e
RD
656 def IsExpanded(self, *_args, **_kwargs):
657 val = apply(controls2c.wxTreeCtrl_IsExpanded,(self,) + _args, _kwargs)
8ab979d7 658 return val
1d99702e
RD
659 def IsSelected(self, *_args, **_kwargs):
660 val = apply(controls2c.wxTreeCtrl_IsSelected,(self,) + _args, _kwargs)
8ab979d7 661 return val
1d99702e
RD
662 def GetRootItem(self, *_args, **_kwargs):
663 val = apply(controls2c.wxTreeCtrl_GetRootItem,(self,) + _args, _kwargs)
664 if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
8ab979d7 665 return val
1d99702e
RD
666 def GetSelection(self, *_args, **_kwargs):
667 val = apply(controls2c.wxTreeCtrl_GetSelection,(self,) + _args, _kwargs)
668 if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
8ab979d7 669 return val
eb715945
RD
670 def GetItemParent(self, *_args, **_kwargs):
671 val = apply(controls2c.wxTreeCtrl_GetItemParent,(self,) + _args, _kwargs)
1d99702e 672 if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
8ab979d7 673 return val
d426c97e
RD
674 def GetSelections(self, *_args, **_kwargs):
675 val = apply(controls2c.wxTreeCtrl_GetSelections,(self,) + _args, _kwargs)
676 return val
1d99702e
RD
677 def GetChildrenCount(self, *_args, **_kwargs):
678 val = apply(controls2c.wxTreeCtrl_GetChildrenCount,(self,) + _args, _kwargs)
bb0054cd 679 return val
1d99702e
RD
680 def GetFirstChild(self, *_args, **_kwargs):
681 val = apply(controls2c.wxTreeCtrl_GetFirstChild,(self,) + _args, _kwargs)
8ab979d7 682 return val
1d99702e
RD
683 def GetNextChild(self, *_args, **_kwargs):
684 val = apply(controls2c.wxTreeCtrl_GetNextChild,(self,) + _args, _kwargs)
685 return val
686 def GetNextSibling(self, *_args, **_kwargs):
687 val = apply(controls2c.wxTreeCtrl_GetNextSibling,(self,) + _args, _kwargs)
688 if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
689 return val
690 def GetPrevSibling(self, *_args, **_kwargs):
691 val = apply(controls2c.wxTreeCtrl_GetPrevSibling,(self,) + _args, _kwargs)
692 if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
693 return val
694 def GetFirstVisibleItem(self, *_args, **_kwargs):
695 val = apply(controls2c.wxTreeCtrl_GetFirstVisibleItem,(self,) + _args, _kwargs)
696 if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
697 return val
698 def GetNextVisible(self, *_args, **_kwargs):
699 val = apply(controls2c.wxTreeCtrl_GetNextVisible,(self,) + _args, _kwargs)
700 if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
701 return val
702 def GetPrevVisible(self, *_args, **_kwargs):
703 val = apply(controls2c.wxTreeCtrl_GetPrevVisible,(self,) + _args, _kwargs)
704 if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
705 return val
d426c97e
RD
706 def GetLastChild(self, *_args, **_kwargs):
707 val = apply(controls2c.wxTreeCtrl_GetLastChild,(self,) + _args, _kwargs)
708 if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
709 return val
1d99702e
RD
710 def AddRoot(self, *_args, **_kwargs):
711 val = apply(controls2c.wxTreeCtrl_AddRoot,(self,) + _args, _kwargs)
712 if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
713 return val
714 def PrependItem(self, *_args, **_kwargs):
715 val = apply(controls2c.wxTreeCtrl_PrependItem,(self,) + _args, _kwargs)
716 if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
717 return val
718 def InsertItem(self, *_args, **_kwargs):
719 val = apply(controls2c.wxTreeCtrl_InsertItem,(self,) + _args, _kwargs)
720 if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
721 return val
f6bcfd97
BP
722 def InsertItemBefore(self, *_args, **_kwargs):
723 val = apply(controls2c.wxTreeCtrl_InsertItemBefore,(self,) + _args, _kwargs)
724 if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
725 return val
1d99702e
RD
726 def AppendItem(self, *_args, **_kwargs):
727 val = apply(controls2c.wxTreeCtrl_AppendItem,(self,) + _args, _kwargs)
728 if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
729 return val
730 def Delete(self, *_args, **_kwargs):
731 val = apply(controls2c.wxTreeCtrl_Delete,(self,) + _args, _kwargs)
732 return val
733 def DeleteChildren(self, *_args, **_kwargs):
734 val = apply(controls2c.wxTreeCtrl_DeleteChildren,(self,) + _args, _kwargs)
735 return val
736 def DeleteAllItems(self, *_args, **_kwargs):
737 val = apply(controls2c.wxTreeCtrl_DeleteAllItems,(self,) + _args, _kwargs)
738 return val
739 def Expand(self, *_args, **_kwargs):
740 val = apply(controls2c.wxTreeCtrl_Expand,(self,) + _args, _kwargs)
741 return val
742 def Collapse(self, *_args, **_kwargs):
743 val = apply(controls2c.wxTreeCtrl_Collapse,(self,) + _args, _kwargs)
744 return val
745 def CollapseAndReset(self, *_args, **_kwargs):
746 val = apply(controls2c.wxTreeCtrl_CollapseAndReset,(self,) + _args, _kwargs)
747 return val
748 def Toggle(self, *_args, **_kwargs):
749 val = apply(controls2c.wxTreeCtrl_Toggle,(self,) + _args, _kwargs)
750 return val
751 def Unselect(self, *_args, **_kwargs):
752 val = apply(controls2c.wxTreeCtrl_Unselect,(self,) + _args, _kwargs)
753 return val
754 def UnselectAll(self, *_args, **_kwargs):
755 val = apply(controls2c.wxTreeCtrl_UnselectAll,(self,) + _args, _kwargs)
756 return val
757 def SelectItem(self, *_args, **_kwargs):
758 val = apply(controls2c.wxTreeCtrl_SelectItem,(self,) + _args, _kwargs)
759 return val
760 def EnsureVisible(self, *_args, **_kwargs):
761 val = apply(controls2c.wxTreeCtrl_EnsureVisible,(self,) + _args, _kwargs)
762 return val
763 def ScrollTo(self, *_args, **_kwargs):
764 val = apply(controls2c.wxTreeCtrl_ScrollTo,(self,) + _args, _kwargs)
765 return val
766 def EditLabel(self, *_args, **_kwargs):
767 val = apply(controls2c.wxTreeCtrl_EditLabel,(self,) + _args, _kwargs)
768 if val: val = wxTextCtrlPtr(val)
769 return val
770 def GetEditControl(self, *_args, **_kwargs):
771 val = apply(controls2c.wxTreeCtrl_GetEditControl,(self,) + _args, _kwargs)
772 if val: val = wxTextCtrlPtr(val)
773 return val
774 def EndEditLabel(self, *_args, **_kwargs):
775 val = apply(controls2c.wxTreeCtrl_EndEditLabel,(self,) + _args, _kwargs)
776 return val
d426c97e
RD
777 def SortChildren(self, *_args, **_kwargs):
778 val = apply(controls2c.wxTreeCtrl_SortChildren,(self,) + _args, _kwargs)
779 return val
1d99702e
RD
780 def SetItemBold(self, *_args, **_kwargs):
781 val = apply(controls2c.wxTreeCtrl_SetItemBold,(self,) + _args, _kwargs)
782 return val
783 def IsBold(self, *_args, **_kwargs):
784 val = apply(controls2c.wxTreeCtrl_IsBold,(self,) + _args, _kwargs)
785 return val
786 def HitTest(self, *_args, **_kwargs):
787 val = apply(controls2c.wxTreeCtrl_HitTest,(self,) + _args, _kwargs)
b8b8dda7 788 return val
b7e72427
RD
789 def SetItemTextColour(self, *_args, **_kwargs):
790 val = apply(controls2c.wxTreeCtrl_SetItemTextColour,(self,) + _args, _kwargs)
791 return val
792 def SetItemBackgroundColour(self, *_args, **_kwargs):
793 val = apply(controls2c.wxTreeCtrl_SetItemBackgroundColour,(self,) + _args, _kwargs)
794 return val
795 def SetItemFont(self, *_args, **_kwargs):
796 val = apply(controls2c.wxTreeCtrl_SetItemFont,(self,) + _args, _kwargs)
797 return val
b1462dfa
RD
798 def SetItemDropHighlight(self, *_args, **_kwargs):
799 val = apply(controls2c.wxTreeCtrl_SetItemDropHighlight,(self,) + _args, _kwargs)
800 return val
d426c97e
RD
801 def GetBoundingRect(self, *_args, **_kwargs):
802 val = apply(controls2c.wxTreeCtrl_GetBoundingRect,(self,) + _args, _kwargs)
803 return val
8ab979d7 804 def __repr__(self):
1d99702e 805 return "<C wxTreeCtrl instance at %s>" % (self.this,)
c127177f 806
f6bcfd97
BP
807 # Redefine some methods that SWIG gets a bit confused on...
808 def GetFirstChild(self, *_args, **_kwargs):
809 val1,val2 = apply(controls2c.wxTreeCtrl_GetFirstChild,(self,) + _args, _kwargs)
c127177f
RD
810 val1 = wxTreeItemIdPtr(val1)
811 val1.thisown = 1
812 return (val1,val2)
f6bcfd97
BP
813 def GetNextChild(self, *_args, **_kwargs):
814 val1,val2 = apply(controls2c.wxTreeCtrl_GetNextChild,(self,) + _args, _kwargs)
815 val1 = wxTreeItemIdPtr(val1)
816 val1.thisown = 1
817 return (val1,val2)
818 def HitTest(self, *_args, **_kwargs):
819 val1, val2 = apply(controls2c.wxTreeCtrl_HitTest,(self,) + _args, _kwargs)
c127177f
RD
820 val1 = wxTreeItemIdPtr(val1)
821 val1.thisown = 1
822 return (val1,val2)
823
8ab979d7 824class wxTreeCtrl(wxTreeCtrlPtr):
1d99702e
RD
825 def __init__(self,*_args,**_kwargs):
826 self.this = apply(controls2c.new_wxTreeCtrl,_args,_kwargs)
8ab979d7 827 self.thisown = 1
f6bcfd97
BP
828 #wx._StdWindowCallbacks(self)
829 self._setSelf(self, wxTreeCtrl)
8ab979d7
RD
830
831
832
833
834
835
836#-------------- FUNCTION WRAPPERS ------------------
837
838
839
840#-------------- VARIABLE WRAPPERS ------------------
841
af309447
RD
842wxLIST_MASK_TEXT = controls2c.wxLIST_MASK_TEXT
843wxLIST_MASK_IMAGE = controls2c.wxLIST_MASK_IMAGE
844wxLIST_MASK_DATA = controls2c.wxLIST_MASK_DATA
845wxLIST_MASK_WIDTH = controls2c.wxLIST_MASK_WIDTH
846wxLIST_MASK_FORMAT = controls2c.wxLIST_MASK_FORMAT
bb0054cd 847wxLIST_MASK_STATE = controls2c.wxLIST_MASK_STATE
af309447
RD
848wxLIST_STATE_DONTCARE = controls2c.wxLIST_STATE_DONTCARE
849wxLIST_STATE_DROPHILITED = controls2c.wxLIST_STATE_DROPHILITED
850wxLIST_STATE_FOCUSED = controls2c.wxLIST_STATE_FOCUSED
851wxLIST_STATE_SELECTED = controls2c.wxLIST_STATE_SELECTED
852wxLIST_STATE_CUT = controls2c.wxLIST_STATE_CUT
853wxLIST_HITTEST_ABOVE = controls2c.wxLIST_HITTEST_ABOVE
854wxLIST_HITTEST_BELOW = controls2c.wxLIST_HITTEST_BELOW
855wxLIST_HITTEST_NOWHERE = controls2c.wxLIST_HITTEST_NOWHERE
856wxLIST_HITTEST_ONITEMICON = controls2c.wxLIST_HITTEST_ONITEMICON
857wxLIST_HITTEST_ONITEMLABEL = controls2c.wxLIST_HITTEST_ONITEMLABEL
858wxLIST_HITTEST_ONITEMRIGHT = controls2c.wxLIST_HITTEST_ONITEMRIGHT
859wxLIST_HITTEST_ONITEMSTATEICON = controls2c.wxLIST_HITTEST_ONITEMSTATEICON
860wxLIST_HITTEST_TOLEFT = controls2c.wxLIST_HITTEST_TOLEFT
861wxLIST_HITTEST_TORIGHT = controls2c.wxLIST_HITTEST_TORIGHT
862wxLIST_HITTEST_ONITEM = controls2c.wxLIST_HITTEST_ONITEM
863wxLIST_NEXT_ABOVE = controls2c.wxLIST_NEXT_ABOVE
864wxLIST_NEXT_ALL = controls2c.wxLIST_NEXT_ALL
865wxLIST_NEXT_BELOW = controls2c.wxLIST_NEXT_BELOW
866wxLIST_NEXT_LEFT = controls2c.wxLIST_NEXT_LEFT
867wxLIST_NEXT_RIGHT = controls2c.wxLIST_NEXT_RIGHT
868wxLIST_ALIGN_DEFAULT = controls2c.wxLIST_ALIGN_DEFAULT
869wxLIST_ALIGN_LEFT = controls2c.wxLIST_ALIGN_LEFT
870wxLIST_ALIGN_TOP = controls2c.wxLIST_ALIGN_TOP
871wxLIST_ALIGN_SNAP_TO_GRID = controls2c.wxLIST_ALIGN_SNAP_TO_GRID
af309447
RD
872wxLIST_AUTOSIZE = controls2c.wxLIST_AUTOSIZE
873wxLIST_AUTOSIZE_USEHEADER = controls2c.wxLIST_AUTOSIZE_USEHEADER
874wxLIST_RECT_BOUNDS = controls2c.wxLIST_RECT_BOUNDS
875wxLIST_RECT_ICON = controls2c.wxLIST_RECT_ICON
876wxLIST_RECT_LABEL = controls2c.wxLIST_RECT_LABEL
877wxLIST_FIND_UP = controls2c.wxLIST_FIND_UP
878wxLIST_FIND_DOWN = controls2c.wxLIST_FIND_DOWN
879wxLIST_FIND_LEFT = controls2c.wxLIST_FIND_LEFT
880wxLIST_FIND_RIGHT = controls2c.wxLIST_FIND_RIGHT
f6bcfd97
BP
881wxLIST_FORMAT_LEFT = controls2c.wxLIST_FORMAT_LEFT
882wxLIST_FORMAT_RIGHT = controls2c.wxLIST_FORMAT_RIGHT
883wxLIST_FORMAT_CENTRE = controls2c.wxLIST_FORMAT_CENTRE
884wxLIST_FORMAT_CENTER = controls2c.wxLIST_FORMAT_CENTER
1b62f00d
RD
885wxEVT_COMMAND_LIST_BEGIN_DRAG = controls2c.wxEVT_COMMAND_LIST_BEGIN_DRAG
886wxEVT_COMMAND_LIST_BEGIN_RDRAG = controls2c.wxEVT_COMMAND_LIST_BEGIN_RDRAG
887wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT = controls2c.wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
888wxEVT_COMMAND_LIST_END_LABEL_EDIT = controls2c.wxEVT_COMMAND_LIST_END_LABEL_EDIT
889wxEVT_COMMAND_LIST_DELETE_ITEM = controls2c.wxEVT_COMMAND_LIST_DELETE_ITEM
890wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS = controls2c.wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
891wxEVT_COMMAND_LIST_GET_INFO = controls2c.wxEVT_COMMAND_LIST_GET_INFO
892wxEVT_COMMAND_LIST_SET_INFO = controls2c.wxEVT_COMMAND_LIST_SET_INFO
893wxEVT_COMMAND_LIST_ITEM_SELECTED = controls2c.wxEVT_COMMAND_LIST_ITEM_SELECTED
894wxEVT_COMMAND_LIST_ITEM_DESELECTED = controls2c.wxEVT_COMMAND_LIST_ITEM_DESELECTED
895wxEVT_COMMAND_LIST_KEY_DOWN = controls2c.wxEVT_COMMAND_LIST_KEY_DOWN
896wxEVT_COMMAND_LIST_INSERT_ITEM = controls2c.wxEVT_COMMAND_LIST_INSERT_ITEM
897wxEVT_COMMAND_LIST_COL_CLICK = controls2c.wxEVT_COMMAND_LIST_COL_CLICK
898wxEVT_COMMAND_LIST_ITEM_ACTIVATED = controls2c.wxEVT_COMMAND_LIST_ITEM_ACTIVATED
899wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK = controls2c.wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
900wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK = controls2c.wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
694759cf
RD
901wxTreeItemIcon_Normal = controls2c.wxTreeItemIcon_Normal
902wxTreeItemIcon_Selected = controls2c.wxTreeItemIcon_Selected
903wxTreeItemIcon_Expanded = controls2c.wxTreeItemIcon_Expanded
904wxTreeItemIcon_SelectedExpanded = controls2c.wxTreeItemIcon_SelectedExpanded
905wxTreeItemIcon_Max = controls2c.wxTreeItemIcon_Max
164b735b
RD
906wxTREE_HITTEST_ABOVE = controls2c.wxTREE_HITTEST_ABOVE
907wxTREE_HITTEST_BELOW = controls2c.wxTREE_HITTEST_BELOW
908wxTREE_HITTEST_NOWHERE = controls2c.wxTREE_HITTEST_NOWHERE
909wxTREE_HITTEST_ONITEMBUTTON = controls2c.wxTREE_HITTEST_ONITEMBUTTON
910wxTREE_HITTEST_ONITEMICON = controls2c.wxTREE_HITTEST_ONITEMICON
911wxTREE_HITTEST_ONITEMINDENT = controls2c.wxTREE_HITTEST_ONITEMINDENT
912wxTREE_HITTEST_ONITEMLABEL = controls2c.wxTREE_HITTEST_ONITEMLABEL
913wxTREE_HITTEST_ONITEMRIGHT = controls2c.wxTREE_HITTEST_ONITEMRIGHT
914wxTREE_HITTEST_ONITEMSTATEICON = controls2c.wxTREE_HITTEST_ONITEMSTATEICON
915wxTREE_HITTEST_TOLEFT = controls2c.wxTREE_HITTEST_TOLEFT
916wxTREE_HITTEST_TORIGHT = controls2c.wxTREE_HITTEST_TORIGHT
917wxTREE_HITTEST_ONITEMUPPERPART = controls2c.wxTREE_HITTEST_ONITEMUPPERPART
918wxTREE_HITTEST_ONITEMLOWERPART = controls2c.wxTREE_HITTEST_ONITEMLOWERPART
919wxTREE_HITTEST_ONITEM = controls2c.wxTREE_HITTEST_ONITEM
1b62f00d
RD
920wxEVT_COMMAND_TREE_BEGIN_DRAG = controls2c.wxEVT_COMMAND_TREE_BEGIN_DRAG
921wxEVT_COMMAND_TREE_BEGIN_RDRAG = controls2c.wxEVT_COMMAND_TREE_BEGIN_RDRAG
922wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT = controls2c.wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
923wxEVT_COMMAND_TREE_END_LABEL_EDIT = controls2c.wxEVT_COMMAND_TREE_END_LABEL_EDIT
924wxEVT_COMMAND_TREE_DELETE_ITEM = controls2c.wxEVT_COMMAND_TREE_DELETE_ITEM
925wxEVT_COMMAND_TREE_GET_INFO = controls2c.wxEVT_COMMAND_TREE_GET_INFO
926wxEVT_COMMAND_TREE_SET_INFO = controls2c.wxEVT_COMMAND_TREE_SET_INFO
927wxEVT_COMMAND_TREE_ITEM_EXPANDED = controls2c.wxEVT_COMMAND_TREE_ITEM_EXPANDED
928wxEVT_COMMAND_TREE_ITEM_EXPANDING = controls2c.wxEVT_COMMAND_TREE_ITEM_EXPANDING
929wxEVT_COMMAND_TREE_ITEM_COLLAPSED = controls2c.wxEVT_COMMAND_TREE_ITEM_COLLAPSED
930wxEVT_COMMAND_TREE_ITEM_COLLAPSING = controls2c.wxEVT_COMMAND_TREE_ITEM_COLLAPSING
931wxEVT_COMMAND_TREE_SEL_CHANGED = controls2c.wxEVT_COMMAND_TREE_SEL_CHANGED
932wxEVT_COMMAND_TREE_SEL_CHANGING = controls2c.wxEVT_COMMAND_TREE_SEL_CHANGING
933wxEVT_COMMAND_TREE_KEY_DOWN = controls2c.wxEVT_COMMAND_TREE_KEY_DOWN
934wxEVT_COMMAND_TREE_ITEM_ACTIVATED = controls2c.wxEVT_COMMAND_TREE_ITEM_ACTIVATED
935wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK = controls2c.wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
936wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK = controls2c.wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
d1679124 937wxEVT_COMMAND_TREE_END_DRAG = controls2c.wxEVT_COMMAND_TREE_END_DRAG