]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/windows3.py
fix text scrolling in GTK2 (patch 703988)
[wxWidgets.git] / wxPython / src / msw / windows3.py
CommitLineData
08127323
RD
1# This file was created automatically by SWIG.
2import windows3c
3
4from misc import *
5
6from gdi import *
7
68bc8549
RD
8from fonts import *
9
08127323
RD
10from windows import *
11
b1462dfa
RD
12from clip_dnd import *
13
08127323
RD
14from windows2 import *
15
16from controls import *
17
18from events import *
19
20from mdi import *
21
22from frames import *
23
24from stattool import *
25import wx
26class wxSashEventPtr(wxCommandEventPtr):
27 def __init__(self,this):
28 self.this = this
29 self.thisown = 0
1d99702e 30 def SetEdge(self, *_args, **_kwargs):
5a2a9da2 31 val = windows3c.wxSashEvent_SetEdge(self, *_args, **_kwargs)
08127323 32 return val
1d99702e 33 def GetEdge(self, *_args, **_kwargs):
5a2a9da2 34 val = windows3c.wxSashEvent_GetEdge(self, *_args, **_kwargs)
08127323 35 return val
1d99702e 36 def SetDragRect(self, *_args, **_kwargs):
5a2a9da2 37 val = windows3c.wxSashEvent_SetDragRect(self, *_args, **_kwargs)
08127323 38 return val
1d99702e 39 def GetDragRect(self, *_args, **_kwargs):
5a2a9da2 40 val = windows3c.wxSashEvent_GetDragRect(self, *_args, **_kwargs)
1d99702e 41 if val: val = wxRectPtr(val) ; val.thisown = 1
08127323 42 return val
1d99702e 43 def SetDragStatus(self, *_args, **_kwargs):
5a2a9da2 44 val = windows3c.wxSashEvent_SetDragStatus(self, *_args, **_kwargs)
08127323 45 return val
1d99702e 46 def GetDragStatus(self, *_args, **_kwargs):
5a2a9da2 47 val = windows3c.wxSashEvent_GetDragStatus(self, *_args, **_kwargs)
08127323
RD
48 return val
49 def __repr__(self):
5a2a9da2 50 return "<%s.%s instance; proxy of C++ wxSashEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
08127323 51class wxSashEvent(wxSashEventPtr):
09f3d4e6 52 def __init__(self,*_args,**_kwargs):
5a2a9da2 53 self.this = windows3c.new_wxSashEvent(*_args,**_kwargs)
09f3d4e6 54 self.thisown = 1
08127323
RD
55
56
57
58
59class wxSashWindowPtr(wxWindowPtr):
60 def __init__(self,this):
61 self.this = this
62 self.thisown = 0
09f3d4e6 63 def Create(self, *_args, **_kwargs):
5a2a9da2 64 val = windows3c.wxSashWindow_Create(self, *_args, **_kwargs)
09f3d4e6 65 return val
1d99702e 66 def GetSashVisible(self, *_args, **_kwargs):
5a2a9da2 67 val = windows3c.wxSashWindow_GetSashVisible(self, *_args, **_kwargs)
08127323 68 return val
1d99702e 69 def GetDefaultBorderSize(self, *_args, **_kwargs):
5a2a9da2 70 val = windows3c.wxSashWindow_GetDefaultBorderSize(self, *_args, **_kwargs)
08127323 71 return val
1d99702e 72 def GetEdgeMargin(self, *_args, **_kwargs):
5a2a9da2 73 val = windows3c.wxSashWindow_GetEdgeMargin(self, *_args, **_kwargs)
08127323 74 return val
1d99702e 75 def GetExtraBorderSize(self, *_args, **_kwargs):
5a2a9da2 76 val = windows3c.wxSashWindow_GetExtraBorderSize(self, *_args, **_kwargs)
08127323 77 return val
1d99702e 78 def GetMaximumSizeX(self, *_args, **_kwargs):
5a2a9da2 79 val = windows3c.wxSashWindow_GetMaximumSizeX(self, *_args, **_kwargs)
08127323 80 return val
1d99702e 81 def GetMaximumSizeY(self, *_args, **_kwargs):
5a2a9da2 82 val = windows3c.wxSashWindow_GetMaximumSizeY(self, *_args, **_kwargs)
08127323 83 return val
1d99702e 84 def GetMinimumSizeX(self, *_args, **_kwargs):
5a2a9da2 85 val = windows3c.wxSashWindow_GetMinimumSizeX(self, *_args, **_kwargs)
08127323 86 return val
1d99702e 87 def GetMinimumSizeY(self, *_args, **_kwargs):
5a2a9da2 88 val = windows3c.wxSashWindow_GetMinimumSizeY(self, *_args, **_kwargs)
08127323 89 return val
1d99702e 90 def HasBorder(self, *_args, **_kwargs):
5a2a9da2 91 val = windows3c.wxSashWindow_HasBorder(self, *_args, **_kwargs)
08127323 92 return val
1d99702e 93 def SetDefaultBorderSize(self, *_args, **_kwargs):
5a2a9da2 94 val = windows3c.wxSashWindow_SetDefaultBorderSize(self, *_args, **_kwargs)
08127323 95 return val
1d99702e 96 def SetExtraBorderSize(self, *_args, **_kwargs):
5a2a9da2 97 val = windows3c.wxSashWindow_SetExtraBorderSize(self, *_args, **_kwargs)
08127323 98 return val
1d99702e 99 def SetMaximumSizeX(self, *_args, **_kwargs):
5a2a9da2 100 val = windows3c.wxSashWindow_SetMaximumSizeX(self, *_args, **_kwargs)
08127323 101 return val
1d99702e 102 def SetMaximumSizeY(self, *_args, **_kwargs):
5a2a9da2 103 val = windows3c.wxSashWindow_SetMaximumSizeY(self, *_args, **_kwargs)
08127323 104 return val
1d99702e 105 def SetMinimumSizeX(self, *_args, **_kwargs):
5a2a9da2 106 val = windows3c.wxSashWindow_SetMinimumSizeX(self, *_args, **_kwargs)
08127323 107 return val
1d99702e 108 def SetMinimumSizeY(self, *_args, **_kwargs):
5a2a9da2 109 val = windows3c.wxSashWindow_SetMinimumSizeY(self, *_args, **_kwargs)
08127323 110 return val
1d99702e 111 def SetSashVisible(self, *_args, **_kwargs):
5a2a9da2 112 val = windows3c.wxSashWindow_SetSashVisible(self, *_args, **_kwargs)
08127323 113 return val
1d99702e 114 def SetSashBorder(self, *_args, **_kwargs):
5a2a9da2 115 val = windows3c.wxSashWindow_SetSashBorder(self, *_args, **_kwargs)
08127323
RD
116 return val
117 def __repr__(self):
5a2a9da2 118 return "<%s.%s instance; proxy of C++ wxSashWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
08127323 119class wxSashWindow(wxSashWindowPtr):
1d99702e 120 def __init__(self,*_args,**_kwargs):
5a2a9da2 121 self.this = windows3c.new_wxSashWindow(*_args,**_kwargs)
08127323 122 self.thisown = 1
0122b7e3 123 self._setOORInfo(self)
08127323
RD
124
125
126
09f3d4e6 127def wxPreSashWindow(*_args,**_kwargs):
5a2a9da2 128 val = wxSashWindowPtr(windows3c.new_wxPreSashWindow(*_args,**_kwargs))
09f3d4e6 129 val.thisown = 1
17c0e08c 130 val._setOORInfo(val)
09f3d4e6
RD
131 return val
132
08127323
RD
133
134class wxQueryLayoutInfoEventPtr(wxEventPtr):
135 def __init__(self,this):
136 self.this = this
137 self.thisown = 0
1d99702e 138 def SetRequestedLength(self, *_args, **_kwargs):
5a2a9da2 139 val = windows3c.wxQueryLayoutInfoEvent_SetRequestedLength(self, *_args, **_kwargs)
08127323 140 return val
1d99702e 141 def GetRequestedLength(self, *_args, **_kwargs):
5a2a9da2 142 val = windows3c.wxQueryLayoutInfoEvent_GetRequestedLength(self, *_args, **_kwargs)
08127323 143 return val
1d99702e 144 def SetFlags(self, *_args, **_kwargs):
5a2a9da2 145 val = windows3c.wxQueryLayoutInfoEvent_SetFlags(self, *_args, **_kwargs)
08127323 146 return val
1d99702e 147 def GetFlags(self, *_args, **_kwargs):
5a2a9da2 148 val = windows3c.wxQueryLayoutInfoEvent_GetFlags(self, *_args, **_kwargs)
08127323 149 return val
1d99702e 150 def SetSize(self, *_args, **_kwargs):
5a2a9da2 151 val = windows3c.wxQueryLayoutInfoEvent_SetSize(self, *_args, **_kwargs)
08127323 152 return val
1d99702e 153 def GetSize(self, *_args, **_kwargs):
5a2a9da2 154 val = windows3c.wxQueryLayoutInfoEvent_GetSize(self, *_args, **_kwargs)
1d99702e 155 if val: val = wxSizePtr(val) ; val.thisown = 1
08127323 156 return val
1d99702e 157 def SetOrientation(self, *_args, **_kwargs):
5a2a9da2 158 val = windows3c.wxQueryLayoutInfoEvent_SetOrientation(self, *_args, **_kwargs)
08127323 159 return val
1d99702e 160 def GetOrientation(self, *_args, **_kwargs):
5a2a9da2 161 val = windows3c.wxQueryLayoutInfoEvent_GetOrientation(self, *_args, **_kwargs)
08127323 162 return val
1d99702e 163 def SetAlignment(self, *_args, **_kwargs):
5a2a9da2 164 val = windows3c.wxQueryLayoutInfoEvent_SetAlignment(self, *_args, **_kwargs)
08127323 165 return val
1d99702e 166 def GetAlignment(self, *_args, **_kwargs):
5a2a9da2 167 val = windows3c.wxQueryLayoutInfoEvent_GetAlignment(self, *_args, **_kwargs)
08127323
RD
168 return val
169 def __repr__(self):
5a2a9da2 170 return "<%s.%s instance; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
08127323 171class wxQueryLayoutInfoEvent(wxQueryLayoutInfoEventPtr):
09f3d4e6 172 def __init__(self,*_args,**_kwargs):
5a2a9da2 173 self.this = windows3c.new_wxQueryLayoutInfoEvent(*_args,**_kwargs)
09f3d4e6 174 self.thisown = 1
08127323
RD
175
176
177
178
179class wxCalculateLayoutEventPtr(wxEventPtr):
180 def __init__(self,this):
181 self.this = this
182 self.thisown = 0
1d99702e 183 def SetFlags(self, *_args, **_kwargs):
5a2a9da2 184 val = windows3c.wxCalculateLayoutEvent_SetFlags(self, *_args, **_kwargs)
08127323 185 return val
1d99702e 186 def GetFlags(self, *_args, **_kwargs):
5a2a9da2 187 val = windows3c.wxCalculateLayoutEvent_GetFlags(self, *_args, **_kwargs)
08127323 188 return val
1d99702e 189 def SetRect(self, *_args, **_kwargs):
5a2a9da2 190 val = windows3c.wxCalculateLayoutEvent_SetRect(self, *_args, **_kwargs)
08127323 191 return val
1d99702e 192 def GetRect(self, *_args, **_kwargs):
5a2a9da2 193 val = windows3c.wxCalculateLayoutEvent_GetRect(self, *_args, **_kwargs)
1d99702e 194 if val: val = wxRectPtr(val) ; val.thisown = 1
08127323
RD
195 return val
196 def __repr__(self):
5a2a9da2 197 return "<%s.%s instance; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
08127323 198class wxCalculateLayoutEvent(wxCalculateLayoutEventPtr):
09f3d4e6 199 def __init__(self,*_args,**_kwargs):
5a2a9da2 200 self.this = windows3c.new_wxCalculateLayoutEvent(*_args,**_kwargs)
09f3d4e6 201 self.thisown = 1
08127323
RD
202
203
204
205
206class wxSashLayoutWindowPtr(wxSashWindowPtr):
207 def __init__(self,this):
208 self.this = this
209 self.thisown = 0
09f3d4e6 210 def Create(self, *_args, **_kwargs):
5a2a9da2 211 val = windows3c.wxSashLayoutWindow_Create(self, *_args, **_kwargs)
09f3d4e6 212 return val
1d99702e 213 def GetAlignment(self, *_args, **_kwargs):
5a2a9da2 214 val = windows3c.wxSashLayoutWindow_GetAlignment(self, *_args, **_kwargs)
08127323 215 return val
1d99702e 216 def GetOrientation(self, *_args, **_kwargs):
5a2a9da2 217 val = windows3c.wxSashLayoutWindow_GetOrientation(self, *_args, **_kwargs)
08127323 218 return val
1d99702e 219 def SetAlignment(self, *_args, **_kwargs):
5a2a9da2 220 val = windows3c.wxSashLayoutWindow_SetAlignment(self, *_args, **_kwargs)
08127323 221 return val
1d99702e 222 def SetDefaultSize(self, *_args, **_kwargs):
5a2a9da2 223 val = windows3c.wxSashLayoutWindow_SetDefaultSize(self, *_args, **_kwargs)
08127323 224 return val
1d99702e 225 def SetOrientation(self, *_args, **_kwargs):
5a2a9da2 226 val = windows3c.wxSashLayoutWindow_SetOrientation(self, *_args, **_kwargs)
08127323
RD
227 return val
228 def __repr__(self):
5a2a9da2 229 return "<%s.%s instance; proxy of C++ wxSashLayoutWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
08127323 230class wxSashLayoutWindow(wxSashLayoutWindowPtr):
1d99702e 231 def __init__(self,*_args,**_kwargs):
5a2a9da2 232 self.this = windows3c.new_wxSashLayoutWindow(*_args,**_kwargs)
08127323 233 self.thisown = 1
0122b7e3 234 self._setOORInfo(self)
08127323
RD
235
236
237
09f3d4e6 238def wxPreSashLayoutWindow(*_args,**_kwargs):
5a2a9da2 239 val = wxSashLayoutWindowPtr(windows3c.new_wxPreSashLayoutWindow(*_args,**_kwargs))
09f3d4e6 240 val.thisown = 1
17c0e08c 241 val._setOORInfo(val)
09f3d4e6
RD
242 return val
243
08127323 244
9416aa89 245class wxLayoutAlgorithmPtr(wxObjectPtr):
08127323
RD
246 def __init__(self,this):
247 self.this = this
248 self.thisown = 0
7e50db3f
RD
249 def __del__(self, delfunc=windows3c.delete_wxLayoutAlgorithm):
250 if self.thisown == 1:
251 try:
252 delfunc(self)
253 except:
254 pass
1d99702e 255 def LayoutMDIFrame(self, *_args, **_kwargs):
5a2a9da2 256 val = windows3c.wxLayoutAlgorithm_LayoutMDIFrame(self, *_args, **_kwargs)
1d99702e
RD
257 return val
258 def LayoutFrame(self, *_args, **_kwargs):
5a2a9da2 259 val = windows3c.wxLayoutAlgorithm_LayoutFrame(self, *_args, **_kwargs)
1d99702e
RD
260 return val
261 def LayoutWindow(self, *_args, **_kwargs):
5a2a9da2 262 val = windows3c.wxLayoutAlgorithm_LayoutWindow(self, *_args, **_kwargs)
cf694132 263 return val
08127323 264 def __repr__(self):
5a2a9da2 265 return "<%s.%s instance; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
08127323 266class wxLayoutAlgorithm(wxLayoutAlgorithmPtr):
1d99702e 267 def __init__(self,*_args,**_kwargs):
5a2a9da2 268 self.this = windows3c.new_wxLayoutAlgorithm(*_args,**_kwargs)
08127323
RD
269 self.thisown = 1
270
271
272
273
0122b7e3
RD
274class wxPopupWindowPtr(wxWindowPtr):
275 def __init__(self,this):
276 self.this = this
277 self.thisown = 0
278 def Create(self, *_args, **_kwargs):
5a2a9da2 279 val = windows3c.wxPopupWindow_Create(self, *_args, **_kwargs)
0122b7e3
RD
280 return val
281 def Position(self, *_args, **_kwargs):
5a2a9da2 282 val = windows3c.wxPopupWindow_Position(self, *_args, **_kwargs)
0122b7e3
RD
283 return val
284 def __repr__(self):
5a2a9da2 285 return "<%s.%s instance; proxy of C++ wxPopupWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
0122b7e3
RD
286class wxPopupWindow(wxPopupWindowPtr):
287 def __init__(self,*_args,**_kwargs):
5a2a9da2 288 self.this = windows3c.new_wxPopupWindow(*_args,**_kwargs)
0122b7e3
RD
289 self.thisown = 1
290 self._setOORInfo(self)
291
292
293
294def wxPrePopupWindow(*_args,**_kwargs):
5a2a9da2 295 val = wxPopupWindowPtr(windows3c.new_wxPrePopupWindow(*_args,**_kwargs))
0122b7e3 296 val.thisown = 1
17c0e08c 297 val._setOORInfo(val)
0122b7e3
RD
298 return val
299
300
301class wxPopupTransientWindowPtr(wxPopupWindowPtr):
302 def __init__(self,this):
303 self.this = this
304 self.thisown = 0
305 def _setCallbackInfo(self, *_args, **_kwargs):
5a2a9da2 306 val = windows3c.wxPopupTransientWindow__setCallbackInfo(self, *_args, **_kwargs)
0122b7e3
RD
307 return val
308 def Popup(self, *_args, **_kwargs):
5a2a9da2 309 val = windows3c.wxPopupTransientWindow_Popup(self, *_args, **_kwargs)
0122b7e3
RD
310 return val
311 def Dismiss(self, *_args, **_kwargs):
5a2a9da2 312 val = windows3c.wxPopupTransientWindow_Dismiss(self, *_args, **_kwargs)
0122b7e3
RD
313 return val
314 def __repr__(self):
5a2a9da2 315 return "<%s.%s instance; proxy of C++ wxPopupTransientWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
0122b7e3
RD
316class wxPopupTransientWindow(wxPopupTransientWindowPtr):
317 def __init__(self,*_args,**_kwargs):
5a2a9da2 318 self.this = windows3c.new_wxPopupTransientWindow(*_args,**_kwargs)
0122b7e3
RD
319 self.thisown = 1
320 self._setCallbackInfo(self, wxPopupTransientWindow)
321 self._setOORInfo(self)
322
323
324
325def wxPrePopupTransientWindow(*_args,**_kwargs):
5a2a9da2 326 val = wxPopupTransientWindowPtr(windows3c.new_wxPrePopupTransientWindow(*_args,**_kwargs))
0122b7e3 327 val.thisown = 1
17c0e08c 328 val._setOORInfo(val)
0122b7e3
RD
329 return val
330
331
4416b508
RD
332class wxTipWindowPtr(wxPopupTransientWindowPtr):
333 def __init__(self,this):
334 self.this = this
335 self.thisown = 0
ce914f73 336 def SetBoundingRect(self, *_args, **_kwargs):
5a2a9da2 337 val = windows3c.wxTipWindow_SetBoundingRect(self, *_args, **_kwargs)
ce914f73
RD
338 return val
339 def Close(self, *_args, **_kwargs):
5a2a9da2 340 val = windows3c.wxTipWindow_Close(self, *_args, **_kwargs)
ce914f73 341 return val
4416b508 342 def __repr__(self):
5a2a9da2 343 return "<%s.%s instance; proxy of C++ wxTipWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
4416b508
RD
344class wxTipWindow(wxTipWindowPtr):
345 def __init__(self,*_args,**_kwargs):
5a2a9da2 346 self.this = windows3c.new_wxTipWindow(*_args,**_kwargs)
4416b508
RD
347 self.thisown = 1
348 self._setOORInfo(self)
349
350
351
352
8a12f92d
RD
353class wxVScrolledWindowPtr(wxPanelPtr):
354 def __init__(self,this):
355 self.this = this
356 self.thisown = 0
357 def _setCallbackInfo(self, *_args, **_kwargs):
358 val = windows3c.wxVScrolledWindow__setCallbackInfo(self, *_args, **_kwargs)
359 return val
360 def Create(self, *_args, **_kwargs):
361 val = windows3c.wxVScrolledWindow_Create(self, *_args, **_kwargs)
362 return val
363 def SetLineCount(self, *_args, **_kwargs):
364 val = windows3c.wxVScrolledWindow_SetLineCount(self, *_args, **_kwargs)
365 return val
366 def ScrollToLine(self, *_args, **_kwargs):
367 val = windows3c.wxVScrolledWindow_ScrollToLine(self, *_args, **_kwargs)
368 return val
369 def ScrollLines(self, *_args, **_kwargs):
370 val = windows3c.wxVScrolledWindow_ScrollLines(self, *_args, **_kwargs)
371 return val
372 def ScrollPages(self, *_args, **_kwargs):
373 val = windows3c.wxVScrolledWindow_ScrollPages(self, *_args, **_kwargs)
374 return val
375 def RefreshLine(self, *_args, **_kwargs):
376 val = windows3c.wxVScrolledWindow_RefreshLine(self, *_args, **_kwargs)
377 return val
378 def RefreshLines(self, *_args, **_kwargs):
379 val = windows3c.wxVScrolledWindow_RefreshLines(self, *_args, **_kwargs)
380 return val
381 def HitTestXT(self, *_args, **_kwargs):
382 val = windows3c.wxVScrolledWindow_HitTestXT(self, *_args, **_kwargs)
383 return val
384 def HitTest(self, *_args, **_kwargs):
385 val = windows3c.wxVScrolledWindow_HitTest(self, *_args, **_kwargs)
386 return val
387 def RefreshAll(self, *_args, **_kwargs):
388 val = windows3c.wxVScrolledWindow_RefreshAll(self, *_args, **_kwargs)
389 return val
390 def GetLineCount(self, *_args, **_kwargs):
391 val = windows3c.wxVScrolledWindow_GetLineCount(self, *_args, **_kwargs)
392 return val
393 def GetFirstVisibleLine(self, *_args, **_kwargs):
394 val = windows3c.wxVScrolledWindow_GetFirstVisibleLine(self, *_args, **_kwargs)
395 return val
396 def GetLastVisibleLine(self, *_args, **_kwargs):
397 val = windows3c.wxVScrolledWindow_GetLastVisibleLine(self, *_args, **_kwargs)
398 return val
399 def IsVisible(self, *_args, **_kwargs):
400 val = windows3c.wxVScrolledWindow_IsVisible(self, *_args, **_kwargs)
401 return val
402 def __repr__(self):
403 return "<%s.%s instance; proxy of C++ wxVScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
404class wxVScrolledWindow(wxVScrolledWindowPtr):
405 def __init__(self,*_args,**_kwargs):
406 self.this = windows3c.new_wxVScrolledWindow(*_args,**_kwargs)
407 self.thisown = 1
408 self._setCallbackInfo(self, wxVScrolledWindow)
409 self._setOORInfo(self)
410
411
412
413def wxPreVScrolledWindow(*_args,**_kwargs):
414 val = wxVScrolledWindowPtr(windows3c.new_wxPreVScrolledWindow(*_args,**_kwargs))
415 val.thisown = 1
416 val._setOORInfo(val)
417 return val
418
419
420class wxVListBoxPtr(wxVScrolledWindowPtr):
421 def __init__(self,this):
422 self.this = this
423 self.thisown = 0
424 def _setCallbackInfo(self, *_args, **_kwargs):
425 val = windows3c.wxVListBox__setCallbackInfo(self, *_args, **_kwargs)
426 return val
427 def Create(self, *_args, **_kwargs):
428 val = windows3c.wxVListBox_Create(self, *_args, **_kwargs)
429 return val
430 def GetItemCount(self, *_args, **_kwargs):
431 val = windows3c.wxVListBox_GetItemCount(self, *_args, **_kwargs)
432 return val
433 def HasMultipleSelection(self, *_args, **_kwargs):
434 val = windows3c.wxVListBox_HasMultipleSelection(self, *_args, **_kwargs)
435 return val
436 def GetSelection(self, *_args, **_kwargs):
437 val = windows3c.wxVListBox_GetSelection(self, *_args, **_kwargs)
438 return val
439 def IsCurrent(self, *_args, **_kwargs):
440 val = windows3c.wxVListBox_IsCurrent(self, *_args, **_kwargs)
441 return val
442 def IsSelected(self, *_args, **_kwargs):
443 val = windows3c.wxVListBox_IsSelected(self, *_args, **_kwargs)
444 return val
445 def GetSelectedCount(self, *_args, **_kwargs):
446 val = windows3c.wxVListBox_GetSelectedCount(self, *_args, **_kwargs)
447 return val
448 def GetFirstSelected(self, *_args, **_kwargs):
449 val = windows3c.wxVListBox_GetFirstSelected(self, *_args, **_kwargs)
450 return val
451 def GetNextSelected(self, *_args, **_kwargs):
452 val = windows3c.wxVListBox_GetNextSelected(self, *_args, **_kwargs)
453 return val
454 def GetMargins(self, *_args, **_kwargs):
455 val = windows3c.wxVListBox_GetMargins(self, *_args, **_kwargs)
456 if val: val = wxPointPtr(val) ; val.thisown = 1
457 return val
458 def GetSelectionBackground(self, *_args, **_kwargs):
459 val = windows3c.wxVListBox_GetSelectionBackground(self, *_args, **_kwargs)
460 if val: val = wxColourPtr(val)
461 return val
462 def SetItemCount(self, *_args, **_kwargs):
463 val = windows3c.wxVListBox_SetItemCount(self, *_args, **_kwargs)
464 return val
465 def Clear(self, *_args, **_kwargs):
466 val = windows3c.wxVListBox_Clear(self, *_args, **_kwargs)
467 return val
468 def SetSelection(self, *_args, **_kwargs):
469 val = windows3c.wxVListBox_SetSelection(self, *_args, **_kwargs)
470 return val
471 def Select(self, *_args, **_kwargs):
472 val = windows3c.wxVListBox_Select(self, *_args, **_kwargs)
473 return val
474 def SelectRange(self, *_args, **_kwargs):
475 val = windows3c.wxVListBox_SelectRange(self, *_args, **_kwargs)
476 return val
477 def Toggle(self, *_args, **_kwargs):
478 val = windows3c.wxVListBox_Toggle(self, *_args, **_kwargs)
479 return val
480 def SelectAll(self, *_args, **_kwargs):
481 val = windows3c.wxVListBox_SelectAll(self, *_args, **_kwargs)
482 return val
483 def DeselectAll(self, *_args, **_kwargs):
484 val = windows3c.wxVListBox_DeselectAll(self, *_args, **_kwargs)
485 return val
486 def SetMargins(self, *_args, **_kwargs):
487 val = windows3c.wxVListBox_SetMargins(self, *_args, **_kwargs)
488 return val
489 def SetMarginsXY(self, *_args, **_kwargs):
490 val = windows3c.wxVListBox_SetMarginsXY(self, *_args, **_kwargs)
491 return val
492 def SetSelectionBackground(self, *_args, **_kwargs):
493 val = windows3c.wxVListBox_SetSelectionBackground(self, *_args, **_kwargs)
494 return val
495 def __repr__(self):
496 return "<%s.%s instance; proxy of C++ wxVListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
497class wxVListBox(wxVListBoxPtr):
498 def __init__(self,*_args,**_kwargs):
499 self.this = windows3c.new_wxVListBox(*_args,**_kwargs)
500 self.thisown = 1
501 self._setCallbackInfo(self, wxVListBox)
502 self._setOORInfo(self)
503
504
505
506def wxPreVListBox(*_args,**_kwargs):
507 val = wxVListBoxPtr(windows3c.new_wxPreVListBox(*_args,**_kwargs))
508 val.thisown = 1
509 val._setOORInfo(val)
510 return val
511
512
513class wxHtmlListBoxPtr(wxVListBoxPtr):
514 def __init__(self,this):
515 self.this = this
516 self.thisown = 0
517 def _setCallbackInfo(self, *_args, **_kwargs):
518 val = windows3c.wxHtmlListBox__setCallbackInfo(self, *_args, **_kwargs)
519 return val
520 def Create(self, *_args, **_kwargs):
521 val = windows3c.wxHtmlListBox_Create(self, *_args, **_kwargs)
522 return val
523 def RefreshAll(self, *_args, **_kwargs):
524 val = windows3c.wxHtmlListBox_RefreshAll(self, *_args, **_kwargs)
525 return val
526 def SetItemCount(self, *_args, **_kwargs):
527 val = windows3c.wxHtmlListBox_SetItemCount(self, *_args, **_kwargs)
528 return val
529 def __repr__(self):
530 return "<%s.%s instance; proxy of C++ wxHtmlListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
531class wxHtmlListBox(wxHtmlListBoxPtr):
532 def __init__(self,*_args,**_kwargs):
533 self.this = windows3c.new_wxHtmlListBox(*_args,**_kwargs)
534 self.thisown = 1
535 self._setCallbackInfo(self, wxHtmlListBox)
536 self._setOORInfo(self)
537
538
539
540def wxPreHtmlListBox(*_args,**_kwargs):
541 val = wxHtmlListBoxPtr(windows3c.new_wxPreHtmlListBox(*_args,**_kwargs))
542 val.thisown = 1
543 val._setOORInfo(val)
544 return val
545
546
08127323
RD
547
548
549#-------------- FUNCTION WRAPPERS ------------------
550
551
552
553#-------------- VARIABLE WRAPPERS ------------------
554
555wxSASH_TOP = windows3c.wxSASH_TOP
556wxSASH_RIGHT = windows3c.wxSASH_RIGHT
557wxSASH_BOTTOM = windows3c.wxSASH_BOTTOM
558wxSASH_LEFT = windows3c.wxSASH_LEFT
559wxSASH_NONE = windows3c.wxSASH_NONE
560wxEVT_SASH_DRAGGED = windows3c.wxEVT_SASH_DRAGGED
561wxSW_3D = windows3c.wxSW_3D
1b62f00d
RD
562wxSW_3DSASH = windows3c.wxSW_3DSASH
563wxSW_3DBORDER = windows3c.wxSW_3DBORDER
564wxSW_BORDER = windows3c.wxSW_BORDER
08127323
RD
565wxSASH_STATUS_OK = windows3c.wxSASH_STATUS_OK
566wxSASH_STATUS_OUT_OF_RANGE = windows3c.wxSASH_STATUS_OUT_OF_RANGE
567wxLAYOUT_HORIZONTAL = windows3c.wxLAYOUT_HORIZONTAL
568wxLAYOUT_VERTICAL = windows3c.wxLAYOUT_VERTICAL
569wxLAYOUT_NONE = windows3c.wxLAYOUT_NONE
570wxLAYOUT_TOP = windows3c.wxLAYOUT_TOP
571wxLAYOUT_LEFT = windows3c.wxLAYOUT_LEFT
572wxLAYOUT_RIGHT = windows3c.wxLAYOUT_RIGHT
573wxLAYOUT_BOTTOM = windows3c.wxLAYOUT_BOTTOM
574wxEVT_QUERY_LAYOUT_INFO = windows3c.wxEVT_QUERY_LAYOUT_INFO
575wxEVT_CALCULATE_LAYOUT = windows3c.wxEVT_CALCULATE_LAYOUT