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