]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/misc2.py
fix text scrolling in GTK2 (patch 703988)
[wxWidgets.git] / wxPython / src / mac / misc2.py
CommitLineData
e6056257
RD
1# This file was created automatically by SWIG.
2import misc2c
3
4from windows import *
5
6from misc import *
7
8from gdi import *
9
40699168
RD
10from fonts import *
11
e6056257
RD
12from clip_dnd import *
13
14from events import *
15
16from streams import *
742fc581
RD
17
18from utils import *
3e1f6ec4
RD
19
20# Art clients
21wxART_TOOLBAR = 'wxART_TOOLBAR_C'
22wxART_MENU = 'wxART_MENU_C'
23wxART_FRAME_ICON = 'wxART_FRAME_ICON_C'
24wxART_CMN_DIALOG = 'wxART_CMN_DIALOG_C'
25wxART_HELP_BROWSER = 'wxART_HELP_BROWSER_C'
26wxART_MESSAGE_BOX = 'wxART_MESSAGE_BOX_C'
27wxART_OTHER = 'wxART_OTHER_C'
28
29# Art IDs
30wxART_ADD_BOOKMARK = 'wxART_ADD_BOOKMARK'
31wxART_DEL_BOOKMARK = 'wxART_DEL_BOOKMARK'
32wxART_HELP_SIDE_PANEL = 'wxART_HELP_SIDE_PANEL'
33wxART_HELP_SETTINGS = 'wxART_HELP_SETTINGS'
34wxART_HELP_BOOK = 'wxART_HELP_BOOK'
35wxART_HELP_FOLDER = 'wxART_HELP_FOLDER'
36wxART_HELP_PAGE = 'wxART_HELP_PAGE'
37wxART_GO_BACK = 'wxART_GO_BACK'
38wxART_GO_FORWARD = 'wxART_GO_FORWARD'
39wxART_GO_UP = 'wxART_GO_UP'
40wxART_GO_DOWN = 'wxART_GO_DOWN'
41wxART_GO_TO_PARENT = 'wxART_GO_TO_PARENT'
42wxART_GO_HOME = 'wxART_GO_HOME'
43wxART_FILE_OPEN = 'wxART_FILE_OPEN'
44wxART_PRINT = 'wxART_PRINT'
45wxART_HELP = 'wxART_HELP'
46wxART_TIP = 'wxART_TIP'
47wxART_REPORT_VIEW = 'wxART_REPORT_VIEW'
48wxART_LIST_VIEW = 'wxART_LIST_VIEW'
49wxART_NEW_DIR = 'wxART_NEW_DIR'
50wxART_FOLDER = 'wxART_FOLDER'
51wxART_GO_DIR_UP = 'wxART_GO_DIR_UP'
52wxART_EXECUTABLE_FILE = 'wxART_EXECUTABLE_FILE'
53wxART_NORMAL_FILE = 'wxART_NORMAL_FILE'
54wxART_TICK_MARK = 'wxART_TICK_MARK'
55wxART_CROSS_MARK = 'wxART_CROSS_MARK'
56wxART_ERROR = 'wxART_ERROR'
57wxART_QUESTION = 'wxART_QUESTION'
58wxART_WARNING = 'wxART_WARNING'
59wxART_INFORMATION = 'wxART_INFORMATION'
2b9e4799 60wxART_MISSING_IMAGE = 'wxART_MISSING_IMAGE'
3e1f6ec4 61
6abe8375
RD
62class wxSystemSettingsPtr :
63 def __init__(self,this):
64 self.this = this
65 self.thisown = 0
66 def __repr__(self):
d84a9306 67 return "<%s.%s instance; proxy of C++ wxSystemSettings instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
6abe8375
RD
68class wxSystemSettings(wxSystemSettingsPtr):
69 def __init__(self,this):
70 self.this = this
71
72
73
74
d84a9306
RD
75class wxSystemOptionsPtr(wxObjectPtr):
76 def __init__(self,this):
77 self.this = this
78 self.thisown = 0
79 def __repr__(self):
80 return "<%s.%s instance; proxy of C++ wxSystemOptions instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
81class wxSystemOptions(wxSystemOptionsPtr):
82 def __init__(self,*_args,**_kwargs):
83 self.this = misc2c.new_wxSystemOptions(*_args,**_kwargs)
84 self.thisown = 1
85
86
87
88
e6056257
RD
89class wxToolTipPtr(wxObjectPtr):
90 def __init__(self,this):
91 self.this = this
92 self.thisown = 0
93 def SetTip(self, *_args, **_kwargs):
d84a9306 94 val = misc2c.wxToolTip_SetTip(self, *_args, **_kwargs)
e6056257
RD
95 return val
96 def GetTip(self, *_args, **_kwargs):
d84a9306 97 val = misc2c.wxToolTip_GetTip(self, *_args, **_kwargs)
e6056257
RD
98 return val
99 def GetWindow(self, *_args, **_kwargs):
d84a9306 100 val = misc2c.wxToolTip_GetWindow(self, *_args, **_kwargs)
e6056257
RD
101 return val
102 def __repr__(self):
d84a9306 103 return "<%s.%s instance; proxy of C++ wxToolTip instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
104class wxToolTip(wxToolTipPtr):
105 def __init__(self,*_args,**_kwargs):
d84a9306 106 self.this = misc2c.new_wxToolTip(*_args,**_kwargs)
e6056257
RD
107 self.thisown = 1
108
109
110
111
112class wxCaretPtr :
113 def __init__(self,this):
114 self.this = this
115 self.thisown = 0
7108497a
RD
116 def __del__(self, delfunc=misc2c.delete_wxCaret):
117 if self.thisown == 1:
118 try:
119 delfunc(self)
120 except:
121 pass
e6056257 122 def IsOk(self, *_args, **_kwargs):
d84a9306 123 val = misc2c.wxCaret_IsOk(self, *_args, **_kwargs)
e6056257
RD
124 return val
125 def IsVisible(self, *_args, **_kwargs):
d84a9306 126 val = misc2c.wxCaret_IsVisible(self, *_args, **_kwargs)
e6056257
RD
127 return val
128 def GetPositionTuple(self, *_args, **_kwargs):
d84a9306 129 val = misc2c.wxCaret_GetPositionTuple(self, *_args, **_kwargs)
e6056257
RD
130 return val
131 def GetPosition(self, *_args, **_kwargs):
d84a9306 132 val = misc2c.wxCaret_GetPosition(self, *_args, **_kwargs)
e6056257
RD
133 if val: val = wxPointPtr(val) ; val.thisown = 1
134 return val
135 def GetSizeTuple(self, *_args, **_kwargs):
d84a9306 136 val = misc2c.wxCaret_GetSizeTuple(self, *_args, **_kwargs)
e6056257
RD
137 return val
138 def GetSize(self, *_args, **_kwargs):
d84a9306 139 val = misc2c.wxCaret_GetSize(self, *_args, **_kwargs)
e6056257
RD
140 if val: val = wxSizePtr(val) ; val.thisown = 1
141 return val
142 def GetWindow(self, *_args, **_kwargs):
d84a9306 143 val = misc2c.wxCaret_GetWindow(self, *_args, **_kwargs)
e6056257
RD
144 return val
145 def MoveXY(self, *_args, **_kwargs):
d84a9306 146 val = misc2c.wxCaret_MoveXY(self, *_args, **_kwargs)
e6056257
RD
147 return val
148 def Move(self, *_args, **_kwargs):
d84a9306 149 val = misc2c.wxCaret_Move(self, *_args, **_kwargs)
e6056257
RD
150 return val
151 def SetSizeWH(self, *_args, **_kwargs):
d84a9306 152 val = misc2c.wxCaret_SetSizeWH(self, *_args, **_kwargs)
e6056257
RD
153 return val
154 def SetSize(self, *_args, **_kwargs):
d84a9306 155 val = misc2c.wxCaret_SetSize(self, *_args, **_kwargs)
e6056257
RD
156 return val
157 def Show(self, *_args, **_kwargs):
d84a9306 158 val = misc2c.wxCaret_Show(self, *_args, **_kwargs)
e6056257
RD
159 return val
160 def Hide(self, *_args, **_kwargs):
d84a9306 161 val = misc2c.wxCaret_Hide(self, *_args, **_kwargs)
e6056257
RD
162 return val
163 def __repr__(self):
d84a9306
RD
164 return "<%s.%s instance; proxy of C++ wxCaret instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
165 def __nonzero__(self): return self.IsOk()
e6056257
RD
166class wxCaret(wxCaretPtr):
167 def __init__(self,*_args,**_kwargs):
d84a9306 168 self.this = misc2c.new_wxCaret(*_args,**_kwargs)
e6056257
RD
169 self.thisown = 1
170
171
172
173
e6056257
RD
174class wxBusyCursorPtr :
175 def __init__(self,this):
176 self.this = this
177 self.thisown = 0
7108497a
RD
178 def __del__(self, delfunc=misc2c.delete_wxBusyCursor):
179 if self.thisown == 1:
180 try:
181 delfunc(self)
182 except:
183 pass
e6056257 184 def __repr__(self):
d84a9306 185 return "<%s.%s instance; proxy of C++ wxBusyCursor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
186class wxBusyCursor(wxBusyCursorPtr):
187 def __init__(self,*_args,**_kwargs):
d84a9306 188 self.this = misc2c.new_wxBusyCursor(*_args,**_kwargs)
e6056257
RD
189 self.thisown = 1
190
191
192
193
194class wxWindowDisablerPtr :
195 def __init__(self,this):
196 self.this = this
197 self.thisown = 0
7108497a
RD
198 def __del__(self, delfunc=misc2c.delete_wxWindowDisabler):
199 if self.thisown == 1:
200 try:
201 delfunc(self)
202 except:
203 pass
e6056257 204 def __repr__(self):
d84a9306 205 return "<%s.%s instance; proxy of C++ wxWindowDisabler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
206class wxWindowDisabler(wxWindowDisablerPtr):
207 def __init__(self,*_args,**_kwargs):
d84a9306 208 self.this = misc2c.new_wxWindowDisabler(*_args,**_kwargs)
e6056257
RD
209 self.thisown = 1
210
211
212
213
214class wxMutexGuiLockerPtr :
215 def __init__(self,this):
216 self.this = this
217 self.thisown = 0
7108497a
RD
218 def __del__(self, delfunc=misc2c.delete_wxMutexGuiLocker):
219 if self.thisown == 1:
220 try:
221 delfunc(self)
222 except:
223 pass
e6056257 224 def __repr__(self):
d84a9306 225 return "<%s.%s instance; proxy of C++ wxMutexGuiLocker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
226class wxMutexGuiLocker(wxMutexGuiLockerPtr):
227 def __init__(self,*_args,**_kwargs):
d84a9306 228 self.this = misc2c.new_wxMutexGuiLocker(*_args,**_kwargs)
e6056257
RD
229 self.thisown = 1
230
231
232
233
234class wxTipProviderPtr :
235 def __init__(self,this):
236 self.this = this
237 self.thisown = 0
7108497a
RD
238 def __del__(self, delfunc=misc2c.delete_wxTipProvider):
239 if self.thisown == 1:
240 try:
241 delfunc(self)
242 except:
243 pass
e6056257 244 def GetTip(self, *_args, **_kwargs):
d84a9306 245 val = misc2c.wxTipProvider_GetTip(self, *_args, **_kwargs)
e6056257
RD
246 return val
247 def GetCurrentTip(self, *_args, **_kwargs):
d84a9306 248 val = misc2c.wxTipProvider_GetCurrentTip(self, *_args, **_kwargs)
e6056257 249 return val
4ea97290 250 def PreprocessTip(self, *_args, **_kwargs):
d84a9306 251 val = misc2c.wxTipProvider_PreprocessTip(self, *_args, **_kwargs)
4ea97290 252 return val
e6056257 253 def __repr__(self):
d84a9306 254 return "<%s.%s instance; proxy of C++ wxTipProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
255class wxTipProvider(wxTipProviderPtr):
256 def __init__(self,this):
257 self.this = this
258
259
260
261
262class wxPyTipProviderPtr(wxTipProviderPtr):
263 def __init__(self,this):
264 self.this = this
265 self.thisown = 0
383ea3d0 266 def _setCallbackInfo(self, *_args, **_kwargs):
d84a9306 267 val = misc2c.wxPyTipProvider__setCallbackInfo(self, *_args, **_kwargs)
383ea3d0 268 return val
e6056257 269 def __repr__(self):
d84a9306 270 return "<%s.%s instance; proxy of C++ wxPyTipProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
271class wxPyTipProvider(wxPyTipProviderPtr):
272 def __init__(self,*_args,**_kwargs):
d84a9306 273 self.this = misc2c.new_wxPyTipProvider(*_args,**_kwargs)
e6056257 274 self.thisown = 1
383ea3d0 275 self._setCallbackInfo(self, wxPyTipProvider)
e6056257
RD
276
277
278
279
280class wxDragImagePtr(wxObjectPtr):
281 def __init__(self,this):
282 self.this = this
283 self.thisown = 0
7108497a
RD
284 def __del__(self, delfunc=misc2c.delete_wxDragImage):
285 if self.thisown == 1:
286 try:
287 delfunc(self)
288 except:
289 pass
e6056257 290 def SetBackingBitmap(self, *_args, **_kwargs):
d84a9306 291 val = misc2c.wxDragImage_SetBackingBitmap(self, *_args, **_kwargs)
e6056257
RD
292 return val
293 def BeginDrag(self, *_args, **_kwargs):
d84a9306 294 val = misc2c.wxDragImage_BeginDrag(self, *_args, **_kwargs)
e6056257 295 return val
7108497a 296 def BeginDragBounded(self, *_args, **_kwargs):
d84a9306 297 val = misc2c.wxDragImage_BeginDragBounded(self, *_args, **_kwargs)
e6056257
RD
298 return val
299 def EndDrag(self, *_args, **_kwargs):
d84a9306 300 val = misc2c.wxDragImage_EndDrag(self, *_args, **_kwargs)
e6056257
RD
301 return val
302 def Move(self, *_args, **_kwargs):
d84a9306 303 val = misc2c.wxDragImage_Move(self, *_args, **_kwargs)
e6056257
RD
304 return val
305 def Show(self, *_args, **_kwargs):
d84a9306 306 val = misc2c.wxDragImage_Show(self, *_args, **_kwargs)
e6056257
RD
307 return val
308 def Hide(self, *_args, **_kwargs):
d84a9306 309 val = misc2c.wxDragImage_Hide(self, *_args, **_kwargs)
e6056257
RD
310 return val
311 def GetImageRect(self, *_args, **_kwargs):
d84a9306 312 val = misc2c.wxDragImage_GetImageRect(self, *_args, **_kwargs)
e6056257
RD
313 if val: val = wxRectPtr(val) ; val.thisown = 1
314 return val
315 def RedrawImage(self, *_args, **_kwargs):
d84a9306 316 val = misc2c.wxDragImage_RedrawImage(self, *_args, **_kwargs)
e6056257
RD
317 return val
318 def __repr__(self):
d84a9306 319 return "<%s.%s instance; proxy of C++ wxDragImage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
7108497a 320 BeginDrag2 = BeginDragBounded
e6056257
RD
321class wxDragImage(wxDragImagePtr):
322 def __init__(self,*_args,**_kwargs):
d84a9306 323 self.this = misc2c.new_wxDragImage(*_args,**_kwargs)
e6056257
RD
324 self.thisown = 1
325
326
327
328def wxDragIcon(*_args,**_kwargs):
d84a9306 329 val = wxDragImagePtr(misc2c.new_wxDragIcon(*_args,**_kwargs))
e6056257
RD
330 val.thisown = 1
331 return val
332
333def wxDragString(*_args,**_kwargs):
d84a9306 334 val = wxDragImagePtr(misc2c.new_wxDragString(*_args,**_kwargs))
e6056257
RD
335 val.thisown = 1
336 return val
337
338def wxDragTreeItem(*_args,**_kwargs):
d84a9306 339 val = wxDragImagePtr(misc2c.new_wxDragTreeItem(*_args,**_kwargs))
e6056257
RD
340 val.thisown = 1
341 return val
342
343def wxDragListItem(*_args,**_kwargs):
d84a9306 344 val = wxDragImagePtr(misc2c.new_wxDragListItem(*_args,**_kwargs))
e6056257
RD
345 val.thisown = 1
346 return val
347
348
349class wxPyTimerPtr(wxObjectPtr):
350 def __init__(self,this):
351 self.this = this
352 self.thisown = 0
7108497a
RD
353 def __del__(self, delfunc=misc2c.delete_wxPyTimer):
354 if self.thisown == 1:
355 try:
356 delfunc(self)
357 except:
358 pass
e6056257 359 def GetInterval(self, *_args, **_kwargs):
d84a9306 360 val = misc2c.wxPyTimer_GetInterval(self, *_args, **_kwargs)
e6056257
RD
361 return val
362 def IsOneShot(self, *_args, **_kwargs):
d84a9306 363 val = misc2c.wxPyTimer_IsOneShot(self, *_args, **_kwargs)
e6056257
RD
364 return val
365 def IsRunning(self, *_args, **_kwargs):
d84a9306 366 val = misc2c.wxPyTimer_IsRunning(self, *_args, **_kwargs)
e6056257
RD
367 return val
368 def SetOwner(self, *_args, **_kwargs):
d84a9306 369 val = misc2c.wxPyTimer_SetOwner(self, *_args, **_kwargs)
e6056257
RD
370 return val
371 def Start(self, *_args, **_kwargs):
d84a9306 372 val = misc2c.wxPyTimer_Start(self, *_args, **_kwargs)
e6056257
RD
373 return val
374 def Stop(self, *_args, **_kwargs):
d84a9306 375 val = misc2c.wxPyTimer_Stop(self, *_args, **_kwargs)
e6056257
RD
376 return val
377 def __repr__(self):
d84a9306 378 return "<%s.%s instance; proxy of C++ wxPyTimer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
379class wxPyTimer(wxPyTimerPtr):
380 def __init__(self,*_args,**_kwargs):
d84a9306 381 self.this = misc2c.new_wxPyTimer(*_args,**_kwargs)
e6056257
RD
382 self.thisown = 1
383
384
385
386
b6e5c445
RD
387class wxStopWatchPtr :
388 def __init__(self,this):
389 self.this = this
390 self.thisown = 0
7108497a
RD
391 def __del__(self, delfunc=misc2c.delete_wxStopWatch):
392 if self.thisown == 1:
393 try:
394 delfunc(self)
395 except:
396 pass
b6e5c445 397 def Start(self, *_args, **_kwargs):
d84a9306 398 val = misc2c.wxStopWatch_Start(self, *_args, **_kwargs)
b6e5c445
RD
399 return val
400 def Pause(self, *_args, **_kwargs):
d84a9306 401 val = misc2c.wxStopWatch_Pause(self, *_args, **_kwargs)
b6e5c445
RD
402 return val
403 def Resume(self, *_args, **_kwargs):
d84a9306 404 val = misc2c.wxStopWatch_Resume(self, *_args, **_kwargs)
b6e5c445
RD
405 return val
406 def Time(self, *_args, **_kwargs):
d84a9306 407 val = misc2c.wxStopWatch_Time(self, *_args, **_kwargs)
b6e5c445
RD
408 return val
409 def __repr__(self):
d84a9306 410 return "<%s.%s instance; proxy of C++ wxStopWatch instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
b6e5c445
RD
411class wxStopWatch(wxStopWatchPtr):
412 def __init__(self,*_args,**_kwargs):
d84a9306 413 self.this = misc2c.new_wxStopWatch(*_args,**_kwargs)
b6e5c445
RD
414 self.thisown = 1
415
416
417
418
e6056257
RD
419class wxLogPtr :
420 def __init__(self,this):
421 self.this = this
422 self.thisown = 0
423 def Flush(self, *_args, **_kwargs):
d84a9306 424 val = misc2c.wxLog_Flush(self, *_args, **_kwargs)
e6056257 425 return val
e6056257 426 def GetVerbose(self, *_args, **_kwargs):
d84a9306 427 val = misc2c.wxLog_GetVerbose(self, *_args, **_kwargs)
e6056257
RD
428 return val
429 def TimeStamp(self, *_args, **_kwargs):
d84a9306 430 val = misc2c.wxLog_TimeStamp(self, *_args, **_kwargs)
e6056257
RD
431 return val
432 def __repr__(self):
d84a9306 433 return "<%s.%s instance; proxy of C++ wxLog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
434class wxLog(wxLogPtr):
435 def __init__(self,*_args,**_kwargs):
d84a9306 436 self.this = misc2c.new_wxLog(*_args,**_kwargs)
e6056257
RD
437 self.thisown = 1
438
439
440
441
442class wxLogStderrPtr(wxLogPtr):
443 def __init__(self,this):
444 self.this = this
445 self.thisown = 0
446 def __repr__(self):
d84a9306 447 return "<%s.%s instance; proxy of C++ wxLogStderr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
448class wxLogStderr(wxLogStderrPtr):
449 def __init__(self,*_args,**_kwargs):
d84a9306 450 self.this = misc2c.new_wxLogStderr(*_args,**_kwargs)
e6056257
RD
451 self.thisown = 1
452
453
454
455
456class wxLogTextCtrlPtr(wxLogPtr):
457 def __init__(self,this):
458 self.this = this
459 self.thisown = 0
460 def __repr__(self):
d84a9306 461 return "<%s.%s instance; proxy of C++ wxLogTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
462class wxLogTextCtrl(wxLogTextCtrlPtr):
463 def __init__(self,*_args,**_kwargs):
d84a9306 464 self.this = misc2c.new_wxLogTextCtrl(*_args,**_kwargs)
e6056257
RD
465 self.thisown = 1
466
467
468
469
470class wxLogGuiPtr(wxLogPtr):
471 def __init__(self,this):
472 self.this = this
473 self.thisown = 0
474 def __repr__(self):
d84a9306 475 return "<%s.%s instance; proxy of C++ wxLogGui instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
476class wxLogGui(wxLogGuiPtr):
477 def __init__(self,*_args,**_kwargs):
d84a9306 478 self.this = misc2c.new_wxLogGui(*_args,**_kwargs)
e6056257
RD
479 self.thisown = 1
480
481
482
483
484class wxLogWindowPtr(wxLogPtr):
485 def __init__(self,this):
486 self.this = this
487 self.thisown = 0
488 def Show(self, *_args, **_kwargs):
d84a9306 489 val = misc2c.wxLogWindow_Show(self, *_args, **_kwargs)
e6056257
RD
490 return val
491 def GetFrame(self, *_args, **_kwargs):
d84a9306 492 val = misc2c.wxLogWindow_GetFrame(self, *_args, **_kwargs)
e6056257
RD
493 return val
494 def GetOldLog(self, *_args, **_kwargs):
d84a9306 495 val = misc2c.wxLogWindow_GetOldLog(self, *_args, **_kwargs)
e6056257
RD
496 if val: val = wxLogPtr(val)
497 return val
498 def IsPassingMessages(self, *_args, **_kwargs):
d84a9306 499 val = misc2c.wxLogWindow_IsPassingMessages(self, *_args, **_kwargs)
e6056257
RD
500 return val
501 def PassMessages(self, *_args, **_kwargs):
d84a9306 502 val = misc2c.wxLogWindow_PassMessages(self, *_args, **_kwargs)
e6056257
RD
503 return val
504 def __repr__(self):
d84a9306 505 return "<%s.%s instance; proxy of C++ wxLogWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
506class wxLogWindow(wxLogWindowPtr):
507 def __init__(self,*_args,**_kwargs):
d84a9306 508 self.this = misc2c.new_wxLogWindow(*_args,**_kwargs)
e6056257
RD
509 self.thisown = 1
510
511
512
513
e6056257
RD
514class wxLogChainPtr(wxLogPtr):
515 def __init__(self,this):
516 self.this = this
517 self.thisown = 0
518 def SetLog(self, *_args, **_kwargs):
d84a9306 519 val = misc2c.wxLogChain_SetLog(self, *_args, **_kwargs)
e6056257
RD
520 return val
521 def PassMessages(self, *_args, **_kwargs):
d84a9306 522 val = misc2c.wxLogChain_PassMessages(self, *_args, **_kwargs)
e6056257
RD
523 return val
524 def IsPassingMessages(self, *_args, **_kwargs):
d84a9306 525 val = misc2c.wxLogChain_IsPassingMessages(self, *_args, **_kwargs)
e6056257
RD
526 return val
527 def GetOldLog(self, *_args, **_kwargs):
d84a9306 528 val = misc2c.wxLogChain_GetOldLog(self, *_args, **_kwargs)
e6056257
RD
529 if val: val = wxLogPtr(val)
530 return val
531 def __repr__(self):
d84a9306 532 return "<%s.%s instance; proxy of C++ wxLogChain instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
533class wxLogChain(wxLogChainPtr):
534 def __init__(self,*_args,**_kwargs):
d84a9306 535 self.this = misc2c.new_wxLogChain(*_args,**_kwargs)
e6056257
RD
536 self.thisown = 1
537
538
539
540
eb28fd47
RD
541class wxLogNullPtr :
542 def __init__(self,this):
543 self.this = this
544 self.thisown = 0
7108497a
RD
545 def __del__(self, delfunc=misc2c.delete_wxLogNull):
546 if self.thisown == 1:
547 try:
548 delfunc(self)
549 except:
550 pass
eb28fd47 551 def __repr__(self):
d84a9306 552 return "<%s.%s instance; proxy of C++ wxLogNull instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
eb28fd47
RD
553class wxLogNull(wxLogNullPtr):
554 def __init__(self,*_args,**_kwargs):
d84a9306 555 self.this = misc2c.new_wxLogNull(*_args,**_kwargs)
eb28fd47
RD
556 self.thisown = 1
557
558
559
560
e6056257
RD
561class wxPyLogPtr(wxLogPtr):
562 def __init__(self,this):
563 self.this = this
564 self.thisown = 0
565 def _setCallbackInfo(self, *_args, **_kwargs):
d84a9306 566 val = misc2c.wxPyLog__setCallbackInfo(self, *_args, **_kwargs)
e6056257
RD
567 return val
568 def Destroy(self, *_args, **_kwargs):
d84a9306 569 val = misc2c.wxPyLog_Destroy(self, *_args, **_kwargs)
e6056257
RD
570 return val
571 def __repr__(self):
d84a9306 572 return "<%s.%s instance; proxy of C++ wxPyLog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
573class wxPyLog(wxPyLogPtr):
574 def __init__(self,*_args,**_kwargs):
d84a9306 575 self.this = misc2c.new_wxPyLog(*_args,**_kwargs)
e6056257
RD
576 self.thisown = 1
577 self._setCallbackInfo(self, wxPyLog)
578
579
580
581
582class wxProcessEventPtr(wxEventPtr):
583 def __init__(self,this):
584 self.this = this
585 self.thisown = 0
586 def GetPid(self, *_args, **_kwargs):
d84a9306 587 val = misc2c.wxProcessEvent_GetPid(self, *_args, **_kwargs)
e6056257
RD
588 return val
589 def GetExitCode(self, *_args, **_kwargs):
d84a9306 590 val = misc2c.wxProcessEvent_GetExitCode(self, *_args, **_kwargs)
e6056257
RD
591 return val
592 def __setattr__(self,name,value):
593 if name == "m_pid" :
594 misc2c.wxProcessEvent_m_pid_set(self,value)
595 return
596 if name == "m_exitcode" :
597 misc2c.wxProcessEvent_m_exitcode_set(self,value)
598 return
599 self.__dict__[name] = value
600 def __getattr__(self,name):
601 if name == "m_pid" :
602 return misc2c.wxProcessEvent_m_pid_get(self)
603 if name == "m_exitcode" :
604 return misc2c.wxProcessEvent_m_exitcode_get(self)
605 raise AttributeError,name
606 def __repr__(self):
d84a9306 607 return "<%s.%s instance; proxy of C++ wxProcessEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
608class wxProcessEvent(wxProcessEventPtr):
609 def __init__(self,*_args,**_kwargs):
d84a9306 610 self.this = misc2c.new_wxProcessEvent(*_args,**_kwargs)
e6056257
RD
611 self.thisown = 1
612
613
614
615
616class wxProcessPtr(wxEvtHandlerPtr):
617 def __init__(self,this):
618 self.this = this
619 self.thisown = 0
620 def Destroy(self, *_args, **_kwargs):
d84a9306 621 val = misc2c.wxProcess_Destroy(self, *_args, **_kwargs)
e6056257
RD
622 return val
623 def _setCallbackInfo(self, *_args, **_kwargs):
d84a9306 624 val = misc2c.wxProcess__setCallbackInfo(self, *_args, **_kwargs)
e6056257
RD
625 return val
626 def base_OnTerminate(self, *_args, **_kwargs):
d84a9306 627 val = misc2c.wxProcess_base_OnTerminate(self, *_args, **_kwargs)
e6056257
RD
628 return val
629 def Redirect(self, *_args, **_kwargs):
d84a9306 630 val = misc2c.wxProcess_Redirect(self, *_args, **_kwargs)
e6056257
RD
631 return val
632 def IsRedirected(self, *_args, **_kwargs):
d84a9306 633 val = misc2c.wxProcess_IsRedirected(self, *_args, **_kwargs)
e6056257
RD
634 return val
635 def Detach(self, *_args, **_kwargs):
d84a9306 636 val = misc2c.wxProcess_Detach(self, *_args, **_kwargs)
e6056257
RD
637 return val
638 def GetInputStream(self, *_args, **_kwargs):
d84a9306 639 val = misc2c.wxProcess_GetInputStream(self, *_args, **_kwargs)
e6056257
RD
640 return val
641 def GetErrorStream(self, *_args, **_kwargs):
d84a9306 642 val = misc2c.wxProcess_GetErrorStream(self, *_args, **_kwargs)
e6056257
RD
643 return val
644 def GetOutputStream(self, *_args, **_kwargs):
d84a9306 645 val = misc2c.wxProcess_GetOutputStream(self, *_args, **_kwargs)
e6056257
RD
646 if val: val = wxOutputStreamPtr(val)
647 return val
648 def CloseOutput(self, *_args, **_kwargs):
d84a9306 649 val = misc2c.wxProcess_CloseOutput(self, *_args, **_kwargs)
e6056257 650 return val
3e1f6ec4 651 def IsInputOpened(self, *_args, **_kwargs):
d84a9306 652 val = misc2c.wxProcess_IsInputOpened(self, *_args, **_kwargs)
3e1f6ec4
RD
653 return val
654 def IsInputAvailable(self, *_args, **_kwargs):
d84a9306 655 val = misc2c.wxProcess_IsInputAvailable(self, *_args, **_kwargs)
3e1f6ec4
RD
656 return val
657 def IsErrorAvailable(self, *_args, **_kwargs):
d84a9306 658 val = misc2c.wxProcess_IsErrorAvailable(self, *_args, **_kwargs)
3e1f6ec4 659 return val
e6056257 660 def __repr__(self):
d84a9306 661 return "<%s.%s instance; proxy of C++ wxProcess instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
662class wxProcess(wxProcessPtr):
663 def __init__(self,*_args,**_kwargs):
d84a9306 664 self.this = misc2c.new_wxProcess(*_args,**_kwargs)
e6056257
RD
665 self.thisown = 1
666 self._setCallbackInfo(self, wxProcess)
667
668
669
670
671class wxJoystickPtr(wxObjectPtr):
672 def __init__(self,this):
673 self.this = this
674 self.thisown = 0
7108497a
RD
675 def __del__(self, delfunc=misc2c.delete_wxJoystick):
676 if self.thisown == 1:
677 try:
678 delfunc(self)
679 except:
680 pass
e6056257 681 def GetPosition(self, *_args, **_kwargs):
d84a9306 682 val = misc2c.wxJoystick_GetPosition(self, *_args, **_kwargs)
e6056257
RD
683 if val: val = wxPointPtr(val) ; val.thisown = 1
684 return val
685 def GetZPosition(self, *_args, **_kwargs):
d84a9306 686 val = misc2c.wxJoystick_GetZPosition(self, *_args, **_kwargs)
e6056257
RD
687 return val
688 def GetButtonState(self, *_args, **_kwargs):
d84a9306 689 val = misc2c.wxJoystick_GetButtonState(self, *_args, **_kwargs)
e6056257
RD
690 return val
691 def GetPOVPosition(self, *_args, **_kwargs):
d84a9306 692 val = misc2c.wxJoystick_GetPOVPosition(self, *_args, **_kwargs)
e6056257
RD
693 return val
694 def GetPOVCTSPosition(self, *_args, **_kwargs):
d84a9306 695 val = misc2c.wxJoystick_GetPOVCTSPosition(self, *_args, **_kwargs)
e6056257
RD
696 return val
697 def GetRudderPosition(self, *_args, **_kwargs):
d84a9306 698 val = misc2c.wxJoystick_GetRudderPosition(self, *_args, **_kwargs)
e6056257
RD
699 return val
700 def GetUPosition(self, *_args, **_kwargs):
d84a9306 701 val = misc2c.wxJoystick_GetUPosition(self, *_args, **_kwargs)
e6056257
RD
702 return val
703 def GetVPosition(self, *_args, **_kwargs):
d84a9306 704 val = misc2c.wxJoystick_GetVPosition(self, *_args, **_kwargs)
e6056257
RD
705 return val
706 def GetMovementThreshold(self, *_args, **_kwargs):
d84a9306 707 val = misc2c.wxJoystick_GetMovementThreshold(self, *_args, **_kwargs)
e6056257
RD
708 return val
709 def SetMovementThreshold(self, *_args, **_kwargs):
d84a9306 710 val = misc2c.wxJoystick_SetMovementThreshold(self, *_args, **_kwargs)
e6056257
RD
711 return val
712 def IsOk(self, *_args, **_kwargs):
d84a9306 713 val = misc2c.wxJoystick_IsOk(self, *_args, **_kwargs)
e6056257
RD
714 return val
715 def GetNumberJoysticks(self, *_args, **_kwargs):
d84a9306 716 val = misc2c.wxJoystick_GetNumberJoysticks(self, *_args, **_kwargs)
e6056257
RD
717 return val
718 def GetManufacturerId(self, *_args, **_kwargs):
d84a9306 719 val = misc2c.wxJoystick_GetManufacturerId(self, *_args, **_kwargs)
e6056257
RD
720 return val
721 def GetProductId(self, *_args, **_kwargs):
d84a9306 722 val = misc2c.wxJoystick_GetProductId(self, *_args, **_kwargs)
e6056257
RD
723 return val
724 def GetProductName(self, *_args, **_kwargs):
d84a9306 725 val = misc2c.wxJoystick_GetProductName(self, *_args, **_kwargs)
e6056257
RD
726 return val
727 def GetXMin(self, *_args, **_kwargs):
d84a9306 728 val = misc2c.wxJoystick_GetXMin(self, *_args, **_kwargs)
e6056257
RD
729 return val
730 def GetYMin(self, *_args, **_kwargs):
d84a9306 731 val = misc2c.wxJoystick_GetYMin(self, *_args, **_kwargs)
e6056257
RD
732 return val
733 def GetZMin(self, *_args, **_kwargs):
d84a9306 734 val = misc2c.wxJoystick_GetZMin(self, *_args, **_kwargs)
e6056257
RD
735 return val
736 def GetXMax(self, *_args, **_kwargs):
d84a9306 737 val = misc2c.wxJoystick_GetXMax(self, *_args, **_kwargs)
e6056257
RD
738 return val
739 def GetYMax(self, *_args, **_kwargs):
d84a9306 740 val = misc2c.wxJoystick_GetYMax(self, *_args, **_kwargs)
e6056257
RD
741 return val
742 def GetZMax(self, *_args, **_kwargs):
d84a9306 743 val = misc2c.wxJoystick_GetZMax(self, *_args, **_kwargs)
e6056257
RD
744 return val
745 def GetNumberButtons(self, *_args, **_kwargs):
d84a9306 746 val = misc2c.wxJoystick_GetNumberButtons(self, *_args, **_kwargs)
e6056257
RD
747 return val
748 def GetNumberAxes(self, *_args, **_kwargs):
d84a9306 749 val = misc2c.wxJoystick_GetNumberAxes(self, *_args, **_kwargs)
e6056257
RD
750 return val
751 def GetMaxButtons(self, *_args, **_kwargs):
d84a9306 752 val = misc2c.wxJoystick_GetMaxButtons(self, *_args, **_kwargs)
e6056257
RD
753 return val
754 def GetMaxAxes(self, *_args, **_kwargs):
d84a9306 755 val = misc2c.wxJoystick_GetMaxAxes(self, *_args, **_kwargs)
e6056257
RD
756 return val
757 def GetPollingMin(self, *_args, **_kwargs):
d84a9306 758 val = misc2c.wxJoystick_GetPollingMin(self, *_args, **_kwargs)
e6056257
RD
759 return val
760 def GetPollingMax(self, *_args, **_kwargs):
d84a9306 761 val = misc2c.wxJoystick_GetPollingMax(self, *_args, **_kwargs)
e6056257
RD
762 return val
763 def GetRudderMin(self, *_args, **_kwargs):
d84a9306 764 val = misc2c.wxJoystick_GetRudderMin(self, *_args, **_kwargs)
e6056257
RD
765 return val
766 def GetRudderMax(self, *_args, **_kwargs):
d84a9306 767 val = misc2c.wxJoystick_GetRudderMax(self, *_args, **_kwargs)
e6056257
RD
768 return val
769 def GetUMin(self, *_args, **_kwargs):
d84a9306 770 val = misc2c.wxJoystick_GetUMin(self, *_args, **_kwargs)
e6056257
RD
771 return val
772 def GetUMax(self, *_args, **_kwargs):
d84a9306 773 val = misc2c.wxJoystick_GetUMax(self, *_args, **_kwargs)
e6056257
RD
774 return val
775 def GetVMin(self, *_args, **_kwargs):
d84a9306 776 val = misc2c.wxJoystick_GetVMin(self, *_args, **_kwargs)
e6056257
RD
777 return val
778 def GetVMax(self, *_args, **_kwargs):
d84a9306 779 val = misc2c.wxJoystick_GetVMax(self, *_args, **_kwargs)
e6056257
RD
780 return val
781 def HasRudder(self, *_args, **_kwargs):
d84a9306 782 val = misc2c.wxJoystick_HasRudder(self, *_args, **_kwargs)
e6056257
RD
783 return val
784 def HasZ(self, *_args, **_kwargs):
d84a9306 785 val = misc2c.wxJoystick_HasZ(self, *_args, **_kwargs)
e6056257
RD
786 return val
787 def HasU(self, *_args, **_kwargs):
d84a9306 788 val = misc2c.wxJoystick_HasU(self, *_args, **_kwargs)
e6056257
RD
789 return val
790 def HasV(self, *_args, **_kwargs):
d84a9306 791 val = misc2c.wxJoystick_HasV(self, *_args, **_kwargs)
e6056257
RD
792 return val
793 def HasPOV(self, *_args, **_kwargs):
d84a9306 794 val = misc2c.wxJoystick_HasPOV(self, *_args, **_kwargs)
e6056257
RD
795 return val
796 def HasPOV4Dir(self, *_args, **_kwargs):
d84a9306 797 val = misc2c.wxJoystick_HasPOV4Dir(self, *_args, **_kwargs)
e6056257
RD
798 return val
799 def HasPOVCTS(self, *_args, **_kwargs):
d84a9306 800 val = misc2c.wxJoystick_HasPOVCTS(self, *_args, **_kwargs)
e6056257
RD
801 return val
802 def SetCapture(self, *_args, **_kwargs):
d84a9306 803 val = misc2c.wxJoystick_SetCapture(self, *_args, **_kwargs)
e6056257
RD
804 return val
805 def ReleaseCapture(self, *_args, **_kwargs):
d84a9306 806 val = misc2c.wxJoystick_ReleaseCapture(self, *_args, **_kwargs)
e6056257
RD
807 return val
808 def __repr__(self):
d84a9306
RD
809 return "<%s.%s instance; proxy of C++ wxJoystick instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
810 def __nonzero__(self): return self.IsOk()
e6056257
RD
811class wxJoystick(wxJoystickPtr):
812 def __init__(self,*_args,**_kwargs):
d84a9306 813 self.this = misc2c.new_wxJoystick(*_args,**_kwargs)
e6056257
RD
814 self.thisown = 1
815
816
817
818
819class wxWavePtr(wxObjectPtr):
820 def __init__(self,this):
821 self.this = this
822 self.thisown = 0
7108497a
RD
823 def __del__(self, delfunc=misc2c.delete_wxWave):
824 if self.thisown == 1:
825 try:
826 delfunc(self)
827 except:
828 pass
e6056257 829 def IsOk(self, *_args, **_kwargs):
d84a9306 830 val = misc2c.wxWave_IsOk(self, *_args, **_kwargs)
e6056257
RD
831 return val
832 def Play(self, *_args, **_kwargs):
d84a9306 833 val = misc2c.wxWave_Play(self, *_args, **_kwargs)
e6056257
RD
834 return val
835 def __repr__(self):
d84a9306
RD
836 return "<%s.%s instance; proxy of C++ wxWave instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
837 def __nonzero__(self): return self.IsOk()
e6056257
RD
838class wxWave(wxWavePtr):
839 def __init__(self,*_args,**_kwargs):
d84a9306 840 self.this = misc2c.new_wxWave(*_args,**_kwargs)
e6056257
RD
841 self.thisown = 1
842
843
844
845
b6e5c445
RD
846class wxFileTypeInfoPtr :
847 def __init__(self,this):
848 self.this = this
849 self.thisown = 0
850 def IsValid(self, *_args, **_kwargs):
d84a9306 851 val = misc2c.wxFileTypeInfo_IsValid(self, *_args, **_kwargs)
b6e5c445
RD
852 return val
853 def SetIcon(self, *_args, **_kwargs):
d84a9306 854 val = misc2c.wxFileTypeInfo_SetIcon(self, *_args, **_kwargs)
b6e5c445
RD
855 return val
856 def SetShortDesc(self, *_args, **_kwargs):
d84a9306 857 val = misc2c.wxFileTypeInfo_SetShortDesc(self, *_args, **_kwargs)
b6e5c445
RD
858 return val
859 def GetMimeType(self, *_args, **_kwargs):
d84a9306 860 val = misc2c.wxFileTypeInfo_GetMimeType(self, *_args, **_kwargs)
b6e5c445
RD
861 return val
862 def GetOpenCommand(self, *_args, **_kwargs):
d84a9306 863 val = misc2c.wxFileTypeInfo_GetOpenCommand(self, *_args, **_kwargs)
b6e5c445
RD
864 return val
865 def GetPrintCommand(self, *_args, **_kwargs):
d84a9306 866 val = misc2c.wxFileTypeInfo_GetPrintCommand(self, *_args, **_kwargs)
b6e5c445
RD
867 return val
868 def GetShortDesc(self, *_args, **_kwargs):
d84a9306 869 val = misc2c.wxFileTypeInfo_GetShortDesc(self, *_args, **_kwargs)
b6e5c445
RD
870 return val
871 def GetDescription(self, *_args, **_kwargs):
d84a9306 872 val = misc2c.wxFileTypeInfo_GetDescription(self, *_args, **_kwargs)
b6e5c445
RD
873 return val
874 def GetExtensions(self, *_args, **_kwargs):
d84a9306 875 val = misc2c.wxFileTypeInfo_GetExtensions(self, *_args, **_kwargs)
b6e5c445
RD
876 return val
877 def GetExtensionsCount(self, *_args, **_kwargs):
d84a9306 878 val = misc2c.wxFileTypeInfo_GetExtensionsCount(self, *_args, **_kwargs)
b6e5c445
RD
879 return val
880 def GetIconFile(self, *_args, **_kwargs):
d84a9306 881 val = misc2c.wxFileTypeInfo_GetIconFile(self, *_args, **_kwargs)
b6e5c445
RD
882 return val
883 def GetIconIndex(self, *_args, **_kwargs):
d84a9306 884 val = misc2c.wxFileTypeInfo_GetIconIndex(self, *_args, **_kwargs)
b6e5c445
RD
885 return val
886 def __repr__(self):
d84a9306 887 return "<%s.%s instance; proxy of C++ wxFileTypeInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
b6e5c445
RD
888class wxFileTypeInfo(wxFileTypeInfoPtr):
889 def __init__(self,*_args,**_kwargs):
d84a9306 890 self.this = misc2c.new_wxFileTypeInfo(*_args,**_kwargs)
b6e5c445
RD
891 self.thisown = 1
892
893
894
895def wxFileTypeInfoSequence(*_args,**_kwargs):
d84a9306 896 val = wxFileTypeInfoPtr(misc2c.new_wxFileTypeInfoSequence(*_args,**_kwargs))
b6e5c445
RD
897 val.thisown = 1
898 return val
899
900def wxNullFileTypeInfo(*_args,**_kwargs):
d84a9306 901 val = wxFileTypeInfoPtr(misc2c.new_wxNullFileTypeInfo(*_args,**_kwargs))
b6e5c445
RD
902 val.thisown = 1
903 return val
904
905
906class wxFileTypePtr :
907 def __init__(self,this):
908 self.this = this
909 self.thisown = 0
910 def GetMimeType(self, *_args, **_kwargs):
d84a9306 911 val = misc2c.wxFileType_GetMimeType(self, *_args, **_kwargs)
b6e5c445
RD
912 return val
913 def GetMimeTypes(self, *_args, **_kwargs):
d84a9306 914 val = misc2c.wxFileType_GetMimeTypes(self, *_args, **_kwargs)
b6e5c445
RD
915 return val
916 def GetExtensions(self, *_args, **_kwargs):
d84a9306 917 val = misc2c.wxFileType_GetExtensions(self, *_args, **_kwargs)
b6e5c445
RD
918 return val
919 def GetIcon(self, *_args, **_kwargs):
d84a9306 920 val = misc2c.wxFileType_GetIcon(self, *_args, **_kwargs)
b6e5c445
RD
921 if val: val = wxIconPtr(val) ; val.thisown = 1
922 return val
923 def GetIconInfo(self, *_args, **_kwargs):
d84a9306 924 val = misc2c.wxFileType_GetIconInfo(self, *_args, **_kwargs)
b6e5c445
RD
925 return val
926 def GetDescription(self, *_args, **_kwargs):
d84a9306 927 val = misc2c.wxFileType_GetDescription(self, *_args, **_kwargs)
b6e5c445
RD
928 return val
929 def GetOpenCommand(self, *_args, **_kwargs):
d84a9306 930 val = misc2c.wxFileType_GetOpenCommand(self, *_args, **_kwargs)
b6e5c445
RD
931 return val
932 def GetPrintCommand(self, *_args, **_kwargs):
d84a9306 933 val = misc2c.wxFileType_GetPrintCommand(self, *_args, **_kwargs)
b6e5c445
RD
934 return val
935 def GetAllCommands(self, *_args, **_kwargs):
d84a9306 936 val = misc2c.wxFileType_GetAllCommands(self, *_args, **_kwargs)
b6e5c445
RD
937 return val
938 def SetCommand(self, *_args, **_kwargs):
d84a9306 939 val = misc2c.wxFileType_SetCommand(self, *_args, **_kwargs)
b6e5c445
RD
940 return val
941 def SetDefaultIcon(self, *_args, **_kwargs):
d84a9306 942 val = misc2c.wxFileType_SetDefaultIcon(self, *_args, **_kwargs)
b6e5c445
RD
943 return val
944 def Unassociate(self, *_args, **_kwargs):
d84a9306 945 val = misc2c.wxFileType_Unassociate(self, *_args, **_kwargs)
b6e5c445 946 return val
7108497a
RD
947 def __del__(self, delfunc=misc2c.delete_wxFileType):
948 if self.thisown == 1:
949 try:
950 delfunc(self)
951 except:
952 pass
b6e5c445 953 def __repr__(self):
d84a9306 954 return "<%s.%s instance; proxy of C++ wxFileType instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
b6e5c445
RD
955class wxFileType(wxFileTypePtr):
956 def __init__(self,*_args,**_kwargs):
d84a9306 957 self.this = misc2c.new_wxFileType(*_args,**_kwargs)
b6e5c445
RD
958 self.thisown = 1
959
960
961
962
963class wxMimeTypesManagerPtr :
964 def __init__(self,this):
965 self.this = this
966 self.thisown = 0
967 def Initialize(self, *_args, **_kwargs):
d84a9306 968 val = misc2c.wxMimeTypesManager_Initialize(self, *_args, **_kwargs)
b6e5c445
RD
969 return val
970 def ClearData(self, *_args, **_kwargs):
d84a9306 971 val = misc2c.wxMimeTypesManager_ClearData(self, *_args, **_kwargs)
b6e5c445
RD
972 return val
973 def GetFileTypeFromExtension(self, *_args, **_kwargs):
d84a9306 974 val = misc2c.wxMimeTypesManager_GetFileTypeFromExtension(self, *_args, **_kwargs)
b6e5c445
RD
975 if val: val = wxFileTypePtr(val) ; val.thisown = 1
976 return val
977 def GetFileTypeFromMimeType(self, *_args, **_kwargs):
d84a9306 978 val = misc2c.wxMimeTypesManager_GetFileTypeFromMimeType(self, *_args, **_kwargs)
b6e5c445
RD
979 if val: val = wxFileTypePtr(val) ; val.thisown = 1
980 return val
981 def ReadMailcap(self, *_args, **_kwargs):
d84a9306 982 val = misc2c.wxMimeTypesManager_ReadMailcap(self, *_args, **_kwargs)
b6e5c445
RD
983 return val
984 def ReadMimeTypes(self, *_args, **_kwargs):
d84a9306 985 val = misc2c.wxMimeTypesManager_ReadMimeTypes(self, *_args, **_kwargs)
b6e5c445
RD
986 return val
987 def EnumAllFileTypes(self, *_args, **_kwargs):
d84a9306 988 val = misc2c.wxMimeTypesManager_EnumAllFileTypes(self, *_args, **_kwargs)
b6e5c445
RD
989 return val
990 def AddFallback(self, *_args, **_kwargs):
d84a9306 991 val = misc2c.wxMimeTypesManager_AddFallback(self, *_args, **_kwargs)
b6e5c445
RD
992 return val
993 def Associate(self, *_args, **_kwargs):
d84a9306 994 val = misc2c.wxMimeTypesManager_Associate(self, *_args, **_kwargs)
b6e5c445
RD
995 if val: val = wxFileTypePtr(val) ; val.thisown = 1
996 return val
997 def Unassociate(self, *_args, **_kwargs):
d84a9306 998 val = misc2c.wxMimeTypesManager_Unassociate(self, *_args, **_kwargs)
b6e5c445 999 return val
7108497a
RD
1000 def __del__(self, delfunc=misc2c.delete_wxMimeTypesManager):
1001 if self.thisown == 1:
1002 try:
1003 delfunc(self)
1004 except:
1005 pass
b6e5c445 1006 def __repr__(self):
d84a9306 1007 return "<%s.%s instance; proxy of C++ wxMimeTypesManager instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
b6e5c445
RD
1008class wxMimeTypesManager(wxMimeTypesManagerPtr):
1009 def __init__(self,*_args,**_kwargs):
d84a9306 1010 self.this = misc2c.new_wxMimeTypesManager(*_args,**_kwargs)
b6e5c445
RD
1011 self.thisown = 1
1012
1013
1014
1015
3bc1a8e6
RD
1016class wxArtProviderPtr(wxObjectPtr):
1017 def __init__(self,this):
1018 self.this = this
1019 self.thisown = 0
1020 def _setCallbackInfo(self, *_args, **_kwargs):
d84a9306 1021 val = misc2c.wxArtProvider__setCallbackInfo(self, *_args, **_kwargs)
3bc1a8e6
RD
1022 return val
1023 def __repr__(self):
d84a9306 1024 return "<%s.%s instance; proxy of C++ wxArtProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
3bc1a8e6
RD
1025class wxArtProvider(wxArtProviderPtr):
1026 def __init__(self,*_args,**_kwargs):
d84a9306 1027 self.this = misc2c.new_wxArtProvider(*_args,**_kwargs)
3bc1a8e6
RD
1028 self.thisown = 1
1029 self._setCallbackInfo(self, wxArtProvider)
1030
1031
1032
1033
742fc581
RD
1034class wxFileHistoryPtr(wxObjectPtr):
1035 def __init__(self,this):
1036 self.this = this
1037 self.thisown = 0
7108497a
RD
1038 def __del__(self, delfunc=misc2c.delete_wxFileHistory):
1039 if self.thisown == 1:
1040 try:
1041 delfunc(self)
1042 except:
1043 pass
742fc581 1044 def AddFileToHistory(self, *_args, **_kwargs):
d84a9306 1045 val = misc2c.wxFileHistory_AddFileToHistory(self, *_args, **_kwargs)
742fc581
RD
1046 return val
1047 def RemoveFileFromHistory(self, *_args, **_kwargs):
d84a9306 1048 val = misc2c.wxFileHistory_RemoveFileFromHistory(self, *_args, **_kwargs)
742fc581
RD
1049 return val
1050 def GetMaxFiles(self, *_args, **_kwargs):
d84a9306 1051 val = misc2c.wxFileHistory_GetMaxFiles(self, *_args, **_kwargs)
742fc581
RD
1052 return val
1053 def UseMenu(self, *_args, **_kwargs):
d84a9306 1054 val = misc2c.wxFileHistory_UseMenu(self, *_args, **_kwargs)
742fc581
RD
1055 return val
1056 def RemoveMenu(self, *_args, **_kwargs):
d84a9306 1057 val = misc2c.wxFileHistory_RemoveMenu(self, *_args, **_kwargs)
742fc581
RD
1058 return val
1059 def Load(self, *_args, **_kwargs):
d84a9306 1060 val = misc2c.wxFileHistory_Load(self, *_args, **_kwargs)
742fc581
RD
1061 return val
1062 def Save(self, *_args, **_kwargs):
d84a9306 1063 val = misc2c.wxFileHistory_Save(self, *_args, **_kwargs)
742fc581
RD
1064 return val
1065 def AddFilesToMenu(self, *_args, **_kwargs):
d84a9306 1066 val = misc2c.wxFileHistory_AddFilesToMenu(self, *_args, **_kwargs)
742fc581 1067 return val
40699168 1068 def AddFilesToThisMenu(self, *_args, **_kwargs):
d84a9306 1069 val = misc2c.wxFileHistory_AddFilesToThisMenu(self, *_args, **_kwargs)
742fc581
RD
1070 return val
1071 def GetHistoryFile(self, *_args, **_kwargs):
d84a9306 1072 val = misc2c.wxFileHistory_GetHistoryFile(self, *_args, **_kwargs)
742fc581
RD
1073 return val
1074 def GetCount(self, *_args, **_kwargs):
d84a9306 1075 val = misc2c.wxFileHistory_GetCount(self, *_args, **_kwargs)
742fc581
RD
1076 return val
1077 def __repr__(self):
d84a9306
RD
1078 return "<%s.%s instance; proxy of C++ wxFileHistory instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
1079 GetNoHistoryFiles = GetCount
742fc581
RD
1080class wxFileHistory(wxFileHistoryPtr):
1081 def __init__(self,*_args,**_kwargs):
d84a9306 1082 self.this = misc2c.new_wxFileHistory(*_args,**_kwargs)
742fc581
RD
1083 self.thisown = 1
1084
1085
1086
1087
4ea97290
RD
1088class wxEffectsPtr(wxObjectPtr):
1089 def __init__(self,this):
1090 self.this = this
1091 self.thisown = 0
1092 def GetHighlightColour(self, *_args, **_kwargs):
d84a9306 1093 val = misc2c.wxEffects_GetHighlightColour(self, *_args, **_kwargs)
4ea97290
RD
1094 if val: val = wxColourPtr(val) ; val.thisown = 1
1095 return val
1096 def GetLightShadow(self, *_args, **_kwargs):
d84a9306 1097 val = misc2c.wxEffects_GetLightShadow(self, *_args, **_kwargs)
4ea97290
RD
1098 if val: val = wxColourPtr(val) ; val.thisown = 1
1099 return val
1100 def GetFaceColour(self, *_args, **_kwargs):
d84a9306 1101 val = misc2c.wxEffects_GetFaceColour(self, *_args, **_kwargs)
4ea97290
RD
1102 if val: val = wxColourPtr(val) ; val.thisown = 1
1103 return val
1104 def GetMediumShadow(self, *_args, **_kwargs):
d84a9306 1105 val = misc2c.wxEffects_GetMediumShadow(self, *_args, **_kwargs)
4ea97290
RD
1106 if val: val = wxColourPtr(val) ; val.thisown = 1
1107 return val
1108 def GetDarkShadow(self, *_args, **_kwargs):
d84a9306 1109 val = misc2c.wxEffects_GetDarkShadow(self, *_args, **_kwargs)
4ea97290
RD
1110 if val: val = wxColourPtr(val) ; val.thisown = 1
1111 return val
1112 def SetHighlightColour(self, *_args, **_kwargs):
d84a9306 1113 val = misc2c.wxEffects_SetHighlightColour(self, *_args, **_kwargs)
4ea97290
RD
1114 return val
1115 def SetLightShadow(self, *_args, **_kwargs):
d84a9306 1116 val = misc2c.wxEffects_SetLightShadow(self, *_args, **_kwargs)
4ea97290
RD
1117 return val
1118 def SetFaceColour(self, *_args, **_kwargs):
d84a9306 1119 val = misc2c.wxEffects_SetFaceColour(self, *_args, **_kwargs)
4ea97290
RD
1120 return val
1121 def SetMediumShadow(self, *_args, **_kwargs):
d84a9306 1122 val = misc2c.wxEffects_SetMediumShadow(self, *_args, **_kwargs)
4ea97290
RD
1123 return val
1124 def SetDarkShadow(self, *_args, **_kwargs):
d84a9306 1125 val = misc2c.wxEffects_SetDarkShadow(self, *_args, **_kwargs)
4ea97290
RD
1126 return val
1127 def Set(self, *_args, **_kwargs):
d84a9306 1128 val = misc2c.wxEffects_Set(self, *_args, **_kwargs)
4ea97290
RD
1129 return val
1130 def DrawSunkenEdge(self, *_args, **_kwargs):
d84a9306 1131 val = misc2c.wxEffects_DrawSunkenEdge(self, *_args, **_kwargs)
4ea97290
RD
1132 return val
1133 def TileBitmap(self, *_args, **_kwargs):
d84a9306 1134 val = misc2c.wxEffects_TileBitmap(self, *_args, **_kwargs)
4ea97290
RD
1135 return val
1136 def __repr__(self):
d84a9306 1137 return "<%s.%s instance; proxy of C++ wxEffects instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
4ea97290
RD
1138class wxEffects(wxEffectsPtr):
1139 def __init__(self,*_args,**_kwargs):
d84a9306 1140 self.this = misc2c.new_wxEffects(*_args,**_kwargs)
4ea97290
RD
1141 self.thisown = 1
1142
1143
1144
1145
1146class wxSingleInstanceCheckerPtr :
1147 def __init__(self,this):
1148 self.this = this
1149 self.thisown = 0
7108497a
RD
1150 def __del__(self, delfunc=misc2c.delete_wxSingleInstanceChecker):
1151 if self.thisown == 1:
1152 try:
1153 delfunc(self)
1154 except:
1155 pass
4ea97290 1156 def Create(self, *_args, **_kwargs):
d84a9306 1157 val = misc2c.wxSingleInstanceChecker_Create(self, *_args, **_kwargs)
4ea97290
RD
1158 return val
1159 def IsAnotherRunning(self, *_args, **_kwargs):
d84a9306 1160 val = misc2c.wxSingleInstanceChecker_IsAnotherRunning(self, *_args, **_kwargs)
4ea97290
RD
1161 return val
1162 def __repr__(self):
d84a9306 1163 return "<%s.%s instance; proxy of C++ wxSingleInstanceChecker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
4ea97290
RD
1164class wxSingleInstanceChecker(wxSingleInstanceCheckerPtr):
1165 def __init__(self,*_args,**_kwargs):
d84a9306 1166 self.this = misc2c.new_wxSingleInstanceChecker(*_args,**_kwargs)
4ea97290
RD
1167 self.thisown = 1
1168
1169
1170
1171def wxPreSingleInstanceChecker(*_args,**_kwargs):
d84a9306 1172 val = wxSingleInstanceCheckerPtr(misc2c.new_wxPreSingleInstanceChecker(*_args,**_kwargs))
4ea97290
RD
1173 val.thisown = 1
1174 return val
1175
1176
e6056257
RD
1177
1178
1179#-------------- FUNCTION WRAPPERS ------------------
1180
1181wxFileSelector = misc2c.wxFileSelector
1182
c3bfa1cb
RD
1183wxLoadFileSelector = misc2c.wxLoadFileSelector
1184
1185wxSaveFileSelector = misc2c.wxSaveFileSelector
1186
59988cd0
RD
1187wxDirSelector = misc2c.wxDirSelector
1188
e6056257
RD
1189wxGetTextFromUser = misc2c.wxGetTextFromUser
1190
1191wxGetPasswordFromUser = misc2c.wxGetPasswordFromUser
1192
1193wxGetSingleChoice = misc2c.wxGetSingleChoice
1194
1195wxGetSingleChoiceIndex = misc2c.wxGetSingleChoiceIndex
1196
1197wxMessageBox = misc2c.wxMessageBox
1198
1199wxGetNumberFromUser = misc2c.wxGetNumberFromUser
1200
1201wxColourDisplay = misc2c.wxColourDisplay
1202
1203wxDisplayDepth = misc2c.wxDisplayDepth
1204
1205wxGetDisplayDepth = misc2c.wxGetDisplayDepth
1206
1207wxDisplaySize = misc2c.wxDisplaySize
1208
1209def wxGetDisplaySize(*_args, **_kwargs):
d84a9306 1210 val = misc2c.wxGetDisplaySize(*_args,**_kwargs)
e6056257
RD
1211 if val: val = wxSizePtr(val); val.thisown = 1
1212 return val
1213
1214wxDisplaySizeMM = misc2c.wxDisplaySizeMM
1215
1216def wxGetDisplaySizeMM(*_args, **_kwargs):
d84a9306 1217 val = misc2c.wxGetDisplaySizeMM(*_args,**_kwargs)
e6056257
RD
1218 if val: val = wxSizePtr(val); val.thisown = 1
1219 return val
1220
1221wxClientDisplayRect = misc2c.wxClientDisplayRect
1222
1223def wxGetClientDisplayRect(*_args, **_kwargs):
d84a9306 1224 val = misc2c.wxGetClientDisplayRect(*_args,**_kwargs)
e6056257
RD
1225 if val: val = wxRectPtr(val); val.thisown = 1
1226 return val
1227
1228wxSetCursor = misc2c.wxSetCursor
1229
e6056257
RD
1230wxBeginBusyCursor = misc2c.wxBeginBusyCursor
1231
1232def wxGetActiveWindow(*_args, **_kwargs):
d84a9306 1233 val = misc2c.wxGetActiveWindow(*_args,**_kwargs)
e6056257
RD
1234 return val
1235
1236def wxGenericFindWindowAtPoint(*_args, **_kwargs):
d84a9306 1237 val = misc2c.wxGenericFindWindowAtPoint(*_args,**_kwargs)
e6056257
RD
1238 return val
1239
1240def wxFindWindowAtPoint(*_args, **_kwargs):
d84a9306 1241 val = misc2c.wxFindWindowAtPoint(*_args,**_kwargs)
e6056257
RD
1242 return val
1243
eb28fd47 1244def wxGetTopLevelParent(*_args, **_kwargs):
d84a9306 1245 val = misc2c.wxGetTopLevelParent(*_args,**_kwargs)
eb28fd47
RD
1246 return val
1247
e6056257
RD
1248wxCaret_GetBlinkTime = misc2c.wxCaret_GetBlinkTime
1249
1250wxCaret_SetBlinkTime = misc2c.wxCaret_SetBlinkTime
1251
1252wxSafeYield = misc2c.wxSafeYield
1253
1254wxPostEvent = misc2c.wxPostEvent
1255
1256wxWakeUpIdle = misc2c.wxWakeUpIdle
1257
1258wxMutexGuiEnter = misc2c.wxMutexGuiEnter
1259
1260wxMutexGuiLeave = misc2c.wxMutexGuiLeave
1261
1262wxThread_IsMain = misc2c.wxThread_IsMain
1263
1264wxShowTip = misc2c.wxShowTip
1265
1266def wxCreateFileTipProvider(*_args, **_kwargs):
d84a9306 1267 val = misc2c.wxCreateFileTipProvider(*_args,**_kwargs)
e6056257
RD
1268 if val: val = wxTipProviderPtr(val); val.thisown = 1
1269 return val
1270
1271wxSysErrorCode = misc2c.wxSysErrorCode
1272
1273wxSysErrorMsg = misc2c.wxSysErrorMsg
1274
1275wxLogFatalError = misc2c.wxLogFatalError
1276
1277wxLogError = misc2c.wxLogError
1278
1279wxLogWarning = misc2c.wxLogWarning
1280
1281wxLogMessage = misc2c.wxLogMessage
1282
1283wxLogInfo = misc2c.wxLogInfo
1284
7108497a
RD
1285wxLogDebug = misc2c.wxLogDebug
1286
e6056257
RD
1287wxLogVerbose = misc2c.wxLogVerbose
1288
1289wxLogStatus = misc2c.wxLogStatus
1290
1291wxLogStatusFrame = misc2c.wxLogStatusFrame
1292
1293wxLogSysError = misc2c.wxLogSysError
1294
3a37d753
RD
1295wxLogTrace = misc2c.wxLogTrace
1296
1297wxLogTraceMask = misc2c.wxLogTraceMask
1298
1299wxLogGeneric = misc2c.wxLogGeneric
1300
26eb8715
RD
1301wxSafeShowMessage = misc2c.wxSafeShowMessage
1302
e6056257
RD
1303wxExecute = misc2c.wxExecute
1304
1305def wxWaveData(*_args, **_kwargs):
d84a9306 1306 val = misc2c.wxWaveData(*_args,**_kwargs)
e6056257
RD
1307 if val: val = wxWavePtr(val); val.thisown = 1
1308 return val
1309
77762d0f
RD
1310wxDrawWindowOnDC = misc2c.wxDrawWindowOnDC
1311
6abe8375 1312def wxSystemSettings_GetColour(*_args, **_kwargs):
d84a9306 1313 val = misc2c.wxSystemSettings_GetColour(*_args,**_kwargs)
6abe8375
RD
1314 if val: val = wxColourPtr(val); val.thisown = 1
1315 return val
1316
1317def wxSystemSettings_GetFont(*_args, **_kwargs):
d84a9306 1318 val = misc2c.wxSystemSettings_GetFont(*_args,**_kwargs)
6abe8375
RD
1319 if val: val = wxFontPtr(val); val.thisown = 1
1320 return val
1321
1322wxSystemSettings_GetMetric = misc2c.wxSystemSettings_GetMetric
1323
1324wxSystemSettings_HasFeature = misc2c.wxSystemSettings_HasFeature
1325
557a93b9 1326wxSystemSettings_GetScreenType = misc2c.wxSystemSettings_GetScreenType
26eb8715 1327
557a93b9 1328wxSystemSettings_SetScreenType = misc2c.wxSystemSettings_SetScreenType
26eb8715 1329
d84a9306
RD
1330wxSystemOptions_SetOption = misc2c.wxSystemOptions_SetOption
1331
1332wxSystemOptions_SetOptionInt = misc2c.wxSystemOptions_SetOptionInt
1333
1334wxSystemOptions_GetOption = misc2c.wxSystemOptions_GetOption
1335
1336wxSystemOptions_GetOptionInt = misc2c.wxSystemOptions_GetOptionInt
1337
1338wxSystemOptions_HasOption = misc2c.wxSystemOptions_HasOption
1339
e6056257
RD
1340wxToolTip_Enable = misc2c.wxToolTip_Enable
1341
1342wxToolTip_SetDelay = misc2c.wxToolTip_SetDelay
1343
1344wxLog_IsEnabled = misc2c.wxLog_IsEnabled
1345
1346wxLog_EnableLogging = misc2c.wxLog_EnableLogging
1347
1348wxLog_OnLog = misc2c.wxLog_OnLog
1349
1350wxLog_FlushActive = misc2c.wxLog_FlushActive
1351
1352def wxLog_GetActiveTarget(*_args, **_kwargs):
d84a9306 1353 val = misc2c.wxLog_GetActiveTarget(*_args,**_kwargs)
e6056257
RD
1354 if val: val = wxLogPtr(val)
1355 return val
1356
1357def wxLog_SetActiveTarget(*_args, **_kwargs):
d84a9306 1358 val = misc2c.wxLog_SetActiveTarget(*_args,**_kwargs)
e6056257
RD
1359 if val: val = wxLogPtr(val)
1360 return val
1361
1362wxLog_Suspend = misc2c.wxLog_Suspend
1363
1364wxLog_Resume = misc2c.wxLog_Resume
1365
40699168
RD
1366wxLog_SetVerbose = misc2c.wxLog_SetVerbose
1367
e6056257
RD
1368wxLog_DontCreateOnDemand = misc2c.wxLog_DontCreateOnDemand
1369
1370wxLog_SetTraceMask = misc2c.wxLog_SetTraceMask
1371
1372wxLog_AddTraceMask = misc2c.wxLog_AddTraceMask
1373
1374wxLog_RemoveTraceMask = misc2c.wxLog_RemoveTraceMask
1375
1376wxLog_ClearTraceMasks = misc2c.wxLog_ClearTraceMasks
1377
4ea97290
RD
1378wxLog_GetTraceMasks = misc2c.wxLog_GetTraceMasks
1379
e6056257
RD
1380wxLog_SetTimestamp = misc2c.wxLog_SetTimestamp
1381
1382wxLog_GetTimestamp = misc2c.wxLog_GetTimestamp
1383
1384wxLog_GetTraceMask = misc2c.wxLog_GetTraceMask
1385
1386wxLog_IsAllowedTraceMask = misc2c.wxLog_IsAllowedTraceMask
1387
7108497a
RD
1388wxLog_SetLogLevel = misc2c.wxLog_SetLogLevel
1389
1390wxLog_GetLogLevel = misc2c.wxLog_GetLogLevel
1391
8961add6
RD
1392wxProcess_Kill = misc2c.wxProcess_Kill
1393
1394wxProcess_Exists = misc2c.wxProcess_Exists
1395
1396def wxProcess_Open(*_args, **_kwargs):
d84a9306 1397 val = misc2c.wxProcess_Open(*_args,**_kwargs)
8961add6
RD
1398 if val: val = wxProcessPtr(val)
1399 return val
1400
b6e5c445
RD
1401wxFileType_ExpandCommand = misc2c.wxFileType_ExpandCommand
1402
1403wxMimeTypesManager_IsOfType = misc2c.wxMimeTypesManager_IsOfType
1404
3bc1a8e6
RD
1405wxArtProvider_PushProvider = misc2c.wxArtProvider_PushProvider
1406
1407wxArtProvider_PopProvider = misc2c.wxArtProvider_PopProvider
1408
1409wxArtProvider_RemoveProvider = misc2c.wxArtProvider_RemoveProvider
1410
1411def wxArtProvider_GetBitmap(*_args, **_kwargs):
d84a9306 1412 val = misc2c.wxArtProvider_GetBitmap(*_args,**_kwargs)
3bc1a8e6
RD
1413 if val: val = wxBitmapPtr(val); val.thisown = 1
1414 return val
1415
1416def wxArtProvider_GetIcon(*_args, **_kwargs):
d84a9306 1417 val = misc2c.wxArtProvider_GetIcon(*_args,**_kwargs)
3bc1a8e6
RD
1418 if val: val = wxIconPtr(val); val.thisown = 1
1419 return val
1420
e6056257
RD
1421
1422
1423#-------------- VARIABLE WRAPPERS ------------------
1424
e6056257
RD
1425wxSYS_OEM_FIXED_FONT = misc2c.wxSYS_OEM_FIXED_FONT
1426wxSYS_ANSI_FIXED_FONT = misc2c.wxSYS_ANSI_FIXED_FONT
1427wxSYS_ANSI_VAR_FONT = misc2c.wxSYS_ANSI_VAR_FONT
1428wxSYS_SYSTEM_FONT = misc2c.wxSYS_SYSTEM_FONT
1429wxSYS_DEVICE_DEFAULT_FONT = misc2c.wxSYS_DEVICE_DEFAULT_FONT
1430wxSYS_DEFAULT_PALETTE = misc2c.wxSYS_DEFAULT_PALETTE
1431wxSYS_SYSTEM_FIXED_FONT = misc2c.wxSYS_SYSTEM_FIXED_FONT
1432wxSYS_DEFAULT_GUI_FONT = misc2c.wxSYS_DEFAULT_GUI_FONT
1433wxSYS_COLOUR_SCROLLBAR = misc2c.wxSYS_COLOUR_SCROLLBAR
1434wxSYS_COLOUR_BACKGROUND = misc2c.wxSYS_COLOUR_BACKGROUND
ca31b3da 1435wxSYS_COLOUR_DESKTOP = misc2c.wxSYS_COLOUR_DESKTOP
e6056257
RD
1436wxSYS_COLOUR_ACTIVECAPTION = misc2c.wxSYS_COLOUR_ACTIVECAPTION
1437wxSYS_COLOUR_INACTIVECAPTION = misc2c.wxSYS_COLOUR_INACTIVECAPTION
1438wxSYS_COLOUR_MENU = misc2c.wxSYS_COLOUR_MENU
1439wxSYS_COLOUR_WINDOW = misc2c.wxSYS_COLOUR_WINDOW
1440wxSYS_COLOUR_WINDOWFRAME = misc2c.wxSYS_COLOUR_WINDOWFRAME
1441wxSYS_COLOUR_MENUTEXT = misc2c.wxSYS_COLOUR_MENUTEXT
1442wxSYS_COLOUR_WINDOWTEXT = misc2c.wxSYS_COLOUR_WINDOWTEXT
1443wxSYS_COLOUR_CAPTIONTEXT = misc2c.wxSYS_COLOUR_CAPTIONTEXT
1444wxSYS_COLOUR_ACTIVEBORDER = misc2c.wxSYS_COLOUR_ACTIVEBORDER
1445wxSYS_COLOUR_INACTIVEBORDER = misc2c.wxSYS_COLOUR_INACTIVEBORDER
1446wxSYS_COLOUR_APPWORKSPACE = misc2c.wxSYS_COLOUR_APPWORKSPACE
1447wxSYS_COLOUR_HIGHLIGHT = misc2c.wxSYS_COLOUR_HIGHLIGHT
1448wxSYS_COLOUR_HIGHLIGHTTEXT = misc2c.wxSYS_COLOUR_HIGHLIGHTTEXT
1449wxSYS_COLOUR_BTNFACE = misc2c.wxSYS_COLOUR_BTNFACE
ca31b3da 1450wxSYS_COLOUR_3DFACE = misc2c.wxSYS_COLOUR_3DFACE
e6056257 1451wxSYS_COLOUR_BTNSHADOW = misc2c.wxSYS_COLOUR_BTNSHADOW
ca31b3da 1452wxSYS_COLOUR_3DSHADOW = misc2c.wxSYS_COLOUR_3DSHADOW
e6056257
RD
1453wxSYS_COLOUR_GRAYTEXT = misc2c.wxSYS_COLOUR_GRAYTEXT
1454wxSYS_COLOUR_BTNTEXT = misc2c.wxSYS_COLOUR_BTNTEXT
1455wxSYS_COLOUR_INACTIVECAPTIONTEXT = misc2c.wxSYS_COLOUR_INACTIVECAPTIONTEXT
1456wxSYS_COLOUR_BTNHIGHLIGHT = misc2c.wxSYS_COLOUR_BTNHIGHLIGHT
ca31b3da
RD
1457wxSYS_COLOUR_BTNHILIGHT = misc2c.wxSYS_COLOUR_BTNHILIGHT
1458wxSYS_COLOUR_3DHIGHLIGHT = misc2c.wxSYS_COLOUR_3DHIGHLIGHT
1459wxSYS_COLOUR_3DHILIGHT = misc2c.wxSYS_COLOUR_3DHILIGHT
e6056257
RD
1460wxSYS_COLOUR_3DDKSHADOW = misc2c.wxSYS_COLOUR_3DDKSHADOW
1461wxSYS_COLOUR_3DLIGHT = misc2c.wxSYS_COLOUR_3DLIGHT
1462wxSYS_COLOUR_INFOTEXT = misc2c.wxSYS_COLOUR_INFOTEXT
1463wxSYS_COLOUR_INFOBK = misc2c.wxSYS_COLOUR_INFOBK
6abe8375 1464wxSYS_COLOUR_LISTBOX = misc2c.wxSYS_COLOUR_LISTBOX
ca31b3da
RD
1465wxSYS_COLOUR_HOTLIGHT = misc2c.wxSYS_COLOUR_HOTLIGHT
1466wxSYS_COLOUR_GRADIENTACTIVECAPTION = misc2c.wxSYS_COLOUR_GRADIENTACTIVECAPTION
1467wxSYS_COLOUR_GRADIENTINACTIVECAPTION = misc2c.wxSYS_COLOUR_GRADIENTINACTIVECAPTION
1468wxSYS_COLOUR_MENUHILIGHT = misc2c.wxSYS_COLOUR_MENUHILIGHT
1469wxSYS_COLOUR_MENUBAR = misc2c.wxSYS_COLOUR_MENUBAR
1470wxSYS_COLOUR_MAX = misc2c.wxSYS_COLOUR_MAX
e6056257
RD
1471wxSYS_MOUSE_BUTTONS = misc2c.wxSYS_MOUSE_BUTTONS
1472wxSYS_BORDER_X = misc2c.wxSYS_BORDER_X
1473wxSYS_BORDER_Y = misc2c.wxSYS_BORDER_Y
1474wxSYS_CURSOR_X = misc2c.wxSYS_CURSOR_X
1475wxSYS_CURSOR_Y = misc2c.wxSYS_CURSOR_Y
1476wxSYS_DCLICK_X = misc2c.wxSYS_DCLICK_X
1477wxSYS_DCLICK_Y = misc2c.wxSYS_DCLICK_Y
1478wxSYS_DRAG_X = misc2c.wxSYS_DRAG_X
1479wxSYS_DRAG_Y = misc2c.wxSYS_DRAG_Y
1480wxSYS_EDGE_X = misc2c.wxSYS_EDGE_X
1481wxSYS_EDGE_Y = misc2c.wxSYS_EDGE_Y
1482wxSYS_HSCROLL_ARROW_X = misc2c.wxSYS_HSCROLL_ARROW_X
1483wxSYS_HSCROLL_ARROW_Y = misc2c.wxSYS_HSCROLL_ARROW_Y
1484wxSYS_HTHUMB_X = misc2c.wxSYS_HTHUMB_X
1485wxSYS_ICON_X = misc2c.wxSYS_ICON_X
1486wxSYS_ICON_Y = misc2c.wxSYS_ICON_Y
1487wxSYS_ICONSPACING_X = misc2c.wxSYS_ICONSPACING_X
1488wxSYS_ICONSPACING_Y = misc2c.wxSYS_ICONSPACING_Y
1489wxSYS_WINDOWMIN_X = misc2c.wxSYS_WINDOWMIN_X
1490wxSYS_WINDOWMIN_Y = misc2c.wxSYS_WINDOWMIN_Y
1491wxSYS_SCREEN_X = misc2c.wxSYS_SCREEN_X
1492wxSYS_SCREEN_Y = misc2c.wxSYS_SCREEN_Y
1493wxSYS_FRAMESIZE_X = misc2c.wxSYS_FRAMESIZE_X
1494wxSYS_FRAMESIZE_Y = misc2c.wxSYS_FRAMESIZE_Y
1495wxSYS_SMALLICON_X = misc2c.wxSYS_SMALLICON_X
1496wxSYS_SMALLICON_Y = misc2c.wxSYS_SMALLICON_Y
1497wxSYS_HSCROLL_Y = misc2c.wxSYS_HSCROLL_Y
1498wxSYS_VSCROLL_X = misc2c.wxSYS_VSCROLL_X
1499wxSYS_VSCROLL_ARROW_X = misc2c.wxSYS_VSCROLL_ARROW_X
1500wxSYS_VSCROLL_ARROW_Y = misc2c.wxSYS_VSCROLL_ARROW_Y
1501wxSYS_VTHUMB_Y = misc2c.wxSYS_VTHUMB_Y
1502wxSYS_CAPTION_Y = misc2c.wxSYS_CAPTION_Y
1503wxSYS_MENU_Y = misc2c.wxSYS_MENU_Y
1504wxSYS_NETWORK_PRESENT = misc2c.wxSYS_NETWORK_PRESENT
1505wxSYS_PENWINDOWS_PRESENT = misc2c.wxSYS_PENWINDOWS_PRESENT
1506wxSYS_SHOW_SOUNDS = misc2c.wxSYS_SHOW_SOUNDS
1507wxSYS_SWAP_BUTTONS = misc2c.wxSYS_SWAP_BUTTONS
6abe8375
RD
1508wxSYS_CAN_DRAW_FRAME_DECORATIONS = misc2c.wxSYS_CAN_DRAW_FRAME_DECORATIONS
1509wxSYS_CAN_ICONIZE_FRAME = misc2c.wxSYS_CAN_ICONIZE_FRAME
ec3589a6 1510wxSYS_SCREEN_NONE = misc2c.wxSYS_SCREEN_NONE
ec3589a6 1511wxSYS_SCREEN_TINY = misc2c.wxSYS_SCREEN_TINY
557a93b9
RD
1512wxSYS_SCREEN_PDA = misc2c.wxSYS_SCREEN_PDA
1513wxSYS_SCREEN_SMALL = misc2c.wxSYS_SCREEN_SMALL
1514wxSYS_SCREEN_DESKTOP = misc2c.wxSYS_SCREEN_DESKTOP
e6056257
RD
1515wxLOG_FatalError = misc2c.wxLOG_FatalError
1516wxLOG_Error = misc2c.wxLOG_Error
1517wxLOG_Warning = misc2c.wxLOG_Warning
1518wxLOG_Message = misc2c.wxLOG_Message
1519wxLOG_Info = misc2c.wxLOG_Info
1520wxLOG_Status = misc2c.wxLOG_Status
1521wxLOG_Debug = misc2c.wxLOG_Debug
1522wxLOG_Trace = misc2c.wxLOG_Trace
1523wxLOG_Progress = misc2c.wxLOG_Progress
1524wxLOG_User = misc2c.wxLOG_User
3a37d753
RD
1525wxTRACE_MemAlloc = misc2c.wxTRACE_MemAlloc
1526wxTRACE_Messages = misc2c.wxTRACE_Messages
1527wxTRACE_ResAlloc = misc2c.wxTRACE_ResAlloc
1528wxTRACE_RefCount = misc2c.wxTRACE_RefCount
1529wxTraceMemAlloc = misc2c.wxTraceMemAlloc
1530wxTraceMessages = misc2c.wxTraceMessages
1531wxTraceResAlloc = misc2c.wxTraceResAlloc
1532wxTraceRefCount = misc2c.wxTraceRefCount
8961add6
RD
1533wxKILL_OK = misc2c.wxKILL_OK
1534wxKILL_BAD_SIGNAL = misc2c.wxKILL_BAD_SIGNAL
1535wxKILL_ACCESS_DENIED = misc2c.wxKILL_ACCESS_DENIED
1536wxKILL_NO_PROCESS = misc2c.wxKILL_NO_PROCESS
1537wxKILL_ERROR = misc2c.wxKILL_ERROR
1538wxSIGNONE = misc2c.wxSIGNONE
1539wxSIGHUP = misc2c.wxSIGHUP
1540wxSIGINT = misc2c.wxSIGINT
1541wxSIGQUIT = misc2c.wxSIGQUIT
1542wxSIGILL = misc2c.wxSIGILL
1543wxSIGTRAP = misc2c.wxSIGTRAP
1544wxSIGABRT = misc2c.wxSIGABRT
1545wxSIGIOT = misc2c.wxSIGIOT
1546wxSIGEMT = misc2c.wxSIGEMT
1547wxSIGFPE = misc2c.wxSIGFPE
1548wxSIGKILL = misc2c.wxSIGKILL
1549wxSIGBUS = misc2c.wxSIGBUS
1550wxSIGSEGV = misc2c.wxSIGSEGV
1551wxSIGSYS = misc2c.wxSIGSYS
1552wxSIGPIPE = misc2c.wxSIGPIPE
1553wxSIGALRM = misc2c.wxSIGALRM
1554wxSIGTERM = misc2c.wxSIGTERM
e6056257 1555wxEVT_END_PROCESS = misc2c.wxEVT_END_PROCESS
40699168
RD
1556wxEXEC_ASYNC = misc2c.wxEXEC_ASYNC
1557wxEXEC_SYNC = misc2c.wxEXEC_SYNC
1558wxEXEC_NOHIDE = misc2c.wxEXEC_NOHIDE
1559wxEXEC_MAKE_GROUP_LEADER = misc2c.wxEXEC_MAKE_GROUP_LEADER
3a37d753
RD
1560wxJOYSTICK1 = misc2c.wxJOYSTICK1
1561wxJOYSTICK2 = misc2c.wxJOYSTICK2
1562wxJOY_BUTTON_ANY = misc2c.wxJOY_BUTTON_ANY
1563wxJOY_BUTTON1 = misc2c.wxJOY_BUTTON1
1564wxJOY_BUTTON2 = misc2c.wxJOY_BUTTON2
1565wxJOY_BUTTON3 = misc2c.wxJOY_BUTTON3
1566wxJOY_BUTTON4 = misc2c.wxJOY_BUTTON4
b6e5c445
RD
1567wxMAILCAP_STANDARD = misc2c.wxMAILCAP_STANDARD
1568wxMAILCAP_NETSCAPE = misc2c.wxMAILCAP_NETSCAPE
1569wxMAILCAP_KDE = misc2c.wxMAILCAP_KDE
1570wxMAILCAP_GNOME = misc2c.wxMAILCAP_GNOME
1571wxMAILCAP_ALL = misc2c.wxMAILCAP_ALL
1572cvar = misc2c.cvar
1573wxTheMimeTypesManager = wxMimeTypesManagerPtr(misc2c.cvar.wxTheMimeTypesManager)