]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/misc2.py
Save the initial tstate during initialization
[wxWidgets.git] / wxPython / src / gtk / 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
a323d3bd
RD
10from fonts import *
11
4120ef2b
RD
12from clip_dnd import *
13
14from events import *
c368d904
RD
15
16from streams import *
93283355
RD
17
18from utils import *
c81fd4b9
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'
3100de99 60wxART_MISSING_IMAGE = 'wxART_MISSING_IMAGE'
c81fd4b9 61
1893b029
RD
62class wxSystemSettingsPtr :
63 def __init__(self,this):
64 self.this = this
65 self.thisown = 0
66 def __repr__(self):
1fded56b 67 return "<%s.%s instance; proxy of C++ wxSystemSettings instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
1893b029
RD
68class wxSystemSettings(wxSystemSettingsPtr):
69 def __init__(self,this):
70 self.this = this
71
72
73
74
3ef86e32
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
9df61a29 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):
1fded56b 94 val = misc2c.wxToolTip_SetTip(self, *_args, **_kwargs)
d24a34bb 95 return val
2d091820 96 def GetTip(self, *_args, **_kwargs):
1fded56b 97 val = misc2c.wxToolTip_GetTip(self, *_args, **_kwargs)
d24a34bb 98 return val
2d091820 99 def GetWindow(self, *_args, **_kwargs):
1fded56b 100 val = misc2c.wxToolTip_GetWindow(self, *_args, **_kwargs)
d24a34bb
RD
101 return val
102 def __repr__(self):
1fded56b 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):
1fded56b 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
b67a9327
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):
1fded56b 123 val = misc2c.wxCaret_IsOk(self, *_args, **_kwargs)
8f17924e
RD
124 return val
125 def IsVisible(self, *_args, **_kwargs):
1fded56b 126 val = misc2c.wxCaret_IsVisible(self, *_args, **_kwargs)
8f17924e
RD
127 return val
128 def GetPositionTuple(self, *_args, **_kwargs):
1fded56b 129 val = misc2c.wxCaret_GetPositionTuple(self, *_args, **_kwargs)
8f17924e
RD
130 return val
131 def GetPosition(self, *_args, **_kwargs):
1fded56b 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):
1fded56b 136 val = misc2c.wxCaret_GetSizeTuple(self, *_args, **_kwargs)
8f17924e
RD
137 return val
138 def GetSize(self, *_args, **_kwargs):
1fded56b 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):
1fded56b 143 val = misc2c.wxCaret_GetWindow(self, *_args, **_kwargs)
8f17924e
RD
144 return val
145 def MoveXY(self, *_args, **_kwargs):
1fded56b 146 val = misc2c.wxCaret_MoveXY(self, *_args, **_kwargs)
8f17924e
RD
147 return val
148 def Move(self, *_args, **_kwargs):
1fded56b 149 val = misc2c.wxCaret_Move(self, *_args, **_kwargs)
8f17924e 150 return val
e02c03a4 151 def SetSizeWH(self, *_args, **_kwargs):
1fded56b 152 val = misc2c.wxCaret_SetSizeWH(self, *_args, **_kwargs)
e02c03a4
RD
153 return val
154 def SetSize(self, *_args, **_kwargs):
1fded56b 155 val = misc2c.wxCaret_SetSize(self, *_args, **_kwargs)
e02c03a4 156 return val
8f17924e 157 def Show(self, *_args, **_kwargs):
1fded56b 158 val = misc2c.wxCaret_Show(self, *_args, **_kwargs)
8f17924e
RD
159 return val
160 def Hide(self, *_args, **_kwargs):
1fded56b 161 val = misc2c.wxCaret_Hide(self, *_args, **_kwargs)
8f17924e 162 return val
8f17924e 163 def __repr__(self):
1fded56b
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):
1fded56b 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
b67a9327
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):
1fded56b 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):
1fded56b 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
b67a9327
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):
1fded56b 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):
1fded56b 208 self.this = misc2c.new_wxWindowDisabler(*_args,**_kwargs)
c368d904
RD
209 self.thisown = 1
210
211
212
213
4662be59
RD
214class wxMutexGuiLockerPtr :
215 def __init__(self,this):
216 self.this = this
217 self.thisown = 0
b67a9327
RD
218 def __del__(self, delfunc=misc2c.delete_wxMutexGuiLocker):
219 if self.thisown == 1:
220 try:
221 delfunc(self)
222 except:
223 pass
4662be59 224 def __repr__(self):
1fded56b 225 return "<%s.%s instance; proxy of C++ wxMutexGuiLocker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
4662be59
RD
226class wxMutexGuiLocker(wxMutexGuiLockerPtr):
227 def __init__(self,*_args,**_kwargs):
1fded56b 228 self.this = misc2c.new_wxMutexGuiLocker(*_args,**_kwargs)
4662be59
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
b67a9327
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):
1fded56b 245 val = misc2c.wxTipProvider_GetTip(self, *_args, **_kwargs)
f6bcfd97
BP
246 return val
247 def GetCurrentTip(self, *_args, **_kwargs):
1fded56b 248 val = misc2c.wxTipProvider_GetCurrentTip(self, *_args, **_kwargs)
f6bcfd97 249 return val
4eb65923 250 def PreprocessTip(self, *_args, **_kwargs):
1fded56b 251 val = misc2c.wxTipProvider_PreprocessTip(self, *_args, **_kwargs)
4eb65923 252 return val
f6bcfd97 253 def __repr__(self):
1fded56b 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
d99400b2 266 def _setCallbackInfo(self, *_args, **_kwargs):
1fded56b 267 val = misc2c.wxPyTipProvider__setCallbackInfo(self, *_args, **_kwargs)
d99400b2 268 return val
f6bcfd97 269 def __repr__(self):
1fded56b 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):
1fded56b 273 self.this = misc2c.new_wxPyTipProvider(*_args,**_kwargs)
f6bcfd97 274 self.thisown = 1
d99400b2 275 self._setCallbackInfo(self, wxPyTipProvider)
f6bcfd97
BP
276
277
278
279
9df61a29 280class wxDragImagePtr(wxObjectPtr):
f6bcfd97
BP
281 def __init__(self,this):
282 self.this = this
283 self.thisown = 0
b67a9327
RD
284 def __del__(self, delfunc=misc2c.delete_wxDragImage):
285 if self.thisown == 1:
286 try:
287 delfunc(self)
288 except:
289 pass
4dfaa61e 290 def SetBackingBitmap(self, *_args, **_kwargs):
1fded56b 291 val = misc2c.wxDragImage_SetBackingBitmap(self, *_args, **_kwargs)
4dfaa61e 292 return val
f6bcfd97 293 def BeginDrag(self, *_args, **_kwargs):
1fded56b 294 val = misc2c.wxDragImage_BeginDrag(self, *_args, **_kwargs)
f6bcfd97 295 return val
b67a9327 296 def BeginDragBounded(self, *_args, **_kwargs):
1fded56b 297 val = misc2c.wxDragImage_BeginDragBounded(self, *_args, **_kwargs)
f6bcfd97
BP
298 return val
299 def EndDrag(self, *_args, **_kwargs):
1fded56b 300 val = misc2c.wxDragImage_EndDrag(self, *_args, **_kwargs)
f6bcfd97
BP
301 return val
302 def Move(self, *_args, **_kwargs):
1fded56b 303 val = misc2c.wxDragImage_Move(self, *_args, **_kwargs)
f6bcfd97
BP
304 return val
305 def Show(self, *_args, **_kwargs):
1fded56b 306 val = misc2c.wxDragImage_Show(self, *_args, **_kwargs)
f6bcfd97
BP
307 return val
308 def Hide(self, *_args, **_kwargs):
1fded56b 309 val = misc2c.wxDragImage_Hide(self, *_args, **_kwargs)
f6bcfd97
BP
310 return val
311 def GetImageRect(self, *_args, **_kwargs):
1fded56b 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):
1fded56b 316 val = misc2c.wxDragImage_RedrawImage(self, *_args, **_kwargs)
f6bcfd97
BP
317 return val
318 def __repr__(self):
1fded56b 319 return "<%s.%s instance; proxy of C++ wxDragImage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
b67a9327 320 BeginDrag2 = BeginDragBounded
f6bcfd97
BP
321class wxDragImage(wxDragImagePtr):
322 def __init__(self,*_args,**_kwargs):
1fded56b 323 self.this = misc2c.new_wxDragImage(*_args,**_kwargs)
f6bcfd97
BP
324 self.thisown = 1
325
326
327
059a841c 328def wxDragIcon(*_args,**_kwargs):
1fded56b 329 val = wxDragImagePtr(misc2c.new_wxDragIcon(*_args,**_kwargs))
059a841c
RD
330 val.thisown = 1
331 return val
332
333def wxDragString(*_args,**_kwargs):
1fded56b 334 val = wxDragImagePtr(misc2c.new_wxDragString(*_args,**_kwargs))
059a841c
RD
335 val.thisown = 1
336 return val
337
338def wxDragTreeItem(*_args,**_kwargs):
1fded56b 339 val = wxDragImagePtr(misc2c.new_wxDragTreeItem(*_args,**_kwargs))
059a841c
RD
340 val.thisown = 1
341 return val
342
343def wxDragListItem(*_args,**_kwargs):
1fded56b 344 val = wxDragImagePtr(misc2c.new_wxDragListItem(*_args,**_kwargs))
059a841c
RD
345 val.thisown = 1
346 return val
347
f6bcfd97 348
9df61a29 349class wxPyTimerPtr(wxObjectPtr):
f6bcfd97
BP
350 def __init__(self,this):
351 self.this = this
352 self.thisown = 0
b67a9327
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):
1fded56b 360 val = misc2c.wxPyTimer_GetInterval(self, *_args, **_kwargs)
f6bcfd97
BP
361 return val
362 def IsOneShot(self, *_args, **_kwargs):
1fded56b 363 val = misc2c.wxPyTimer_IsOneShot(self, *_args, **_kwargs)
f6bcfd97
BP
364 return val
365 def IsRunning(self, *_args, **_kwargs):
1fded56b 366 val = misc2c.wxPyTimer_IsRunning(self, *_args, **_kwargs)
f6bcfd97
BP
367 return val
368 def SetOwner(self, *_args, **_kwargs):
1fded56b 369 val = misc2c.wxPyTimer_SetOwner(self, *_args, **_kwargs)
f6bcfd97
BP
370 return val
371 def Start(self, *_args, **_kwargs):
1fded56b 372 val = misc2c.wxPyTimer_Start(self, *_args, **_kwargs)
f6bcfd97
BP
373 return val
374 def Stop(self, *_args, **_kwargs):
1fded56b 375 val = misc2c.wxPyTimer_Stop(self, *_args, **_kwargs)
f6bcfd97
BP
376 return val
377 def __repr__(self):
1fded56b 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):
1fded56b 381 self.this = misc2c.new_wxPyTimer(*_args,**_kwargs)
f6bcfd97
BP
382 self.thisown = 1
383
384
385
386
5c0282d5
RD
387class wxStopWatchPtr :
388 def __init__(self,this):
389 self.this = this
390 self.thisown = 0
b67a9327
RD
391 def __del__(self, delfunc=misc2c.delete_wxStopWatch):
392 if self.thisown == 1:
393 try:
394 delfunc(self)
395 except:
396 pass
5c0282d5 397 def Start(self, *_args, **_kwargs):
1fded56b 398 val = misc2c.wxStopWatch_Start(self, *_args, **_kwargs)
5c0282d5
RD
399 return val
400 def Pause(self, *_args, **_kwargs):
1fded56b 401 val = misc2c.wxStopWatch_Pause(self, *_args, **_kwargs)
5c0282d5
RD
402 return val
403 def Resume(self, *_args, **_kwargs):
1fded56b 404 val = misc2c.wxStopWatch_Resume(self, *_args, **_kwargs)
5c0282d5
RD
405 return val
406 def Time(self, *_args, **_kwargs):
1fded56b 407 val = misc2c.wxStopWatch_Time(self, *_args, **_kwargs)
5c0282d5
RD
408 return val
409 def __repr__(self):
1fded56b 410 return "<%s.%s instance; proxy of C++ wxStopWatch instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
5c0282d5
RD
411class wxStopWatch(wxStopWatchPtr):
412 def __init__(self,*_args,**_kwargs):
1fded56b 413 self.this = misc2c.new_wxStopWatch(*_args,**_kwargs)
5c0282d5
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):
1fded56b 424 val = misc2c.wxLog_Flush(self, *_args, **_kwargs)
f6bcfd97 425 return val
f6bcfd97 426 def GetVerbose(self, *_args, **_kwargs):
1fded56b 427 val = misc2c.wxLog_GetVerbose(self, *_args, **_kwargs)
f6bcfd97 428 return val
0220cbc1 429 def TimeStamp(self, *_args, **_kwargs):
1fded56b 430 val = misc2c.wxLog_TimeStamp(self, *_args, **_kwargs)
0220cbc1 431 return val
f6bcfd97 432 def __repr__(self):
1fded56b 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):
1fded56b 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):
1fded56b 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):
1fded56b 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):
1fded56b 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):
1fded56b 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):
1fded56b 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):
1fded56b 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):
1fded56b 489 val = misc2c.wxLogWindow_Show(self, *_args, **_kwargs)
f6bcfd97
BP
490 return val
491 def GetFrame(self, *_args, **_kwargs):
1fded56b 492 val = misc2c.wxLogWindow_GetFrame(self, *_args, **_kwargs)
f6bcfd97
BP
493 return val
494 def GetOldLog(self, *_args, **_kwargs):
1fded56b 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):
1fded56b 499 val = misc2c.wxLogWindow_IsPassingMessages(self, *_args, **_kwargs)
f6bcfd97
BP
500 return val
501 def PassMessages(self, *_args, **_kwargs):
1fded56b 502 val = misc2c.wxLogWindow_PassMessages(self, *_args, **_kwargs)
f6bcfd97
BP
503 return val
504 def __repr__(self):
1fded56b 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):
1fded56b 508 self.this = misc2c.new_wxLogWindow(*_args,**_kwargs)
f6bcfd97
BP
509 self.thisown = 1
510
511
512
513
0220cbc1
RD
514class wxLogChainPtr(wxLogPtr):
515 def __init__(self,this):
516 self.this = this
517 self.thisown = 0
518 def SetLog(self, *_args, **_kwargs):
1fded56b 519 val = misc2c.wxLogChain_SetLog(self, *_args, **_kwargs)
0220cbc1
RD
520 return val
521 def PassMessages(self, *_args, **_kwargs):
1fded56b 522 val = misc2c.wxLogChain_PassMessages(self, *_args, **_kwargs)
0220cbc1
RD
523 return val
524 def IsPassingMessages(self, *_args, **_kwargs):
1fded56b 525 val = misc2c.wxLogChain_IsPassingMessages(self, *_args, **_kwargs)
0220cbc1
RD
526 return val
527 def GetOldLog(self, *_args, **_kwargs):
1fded56b 528 val = misc2c.wxLogChain_GetOldLog(self, *_args, **_kwargs)
0220cbc1
RD
529 if val: val = wxLogPtr(val)
530 return val
531 def __repr__(self):
1fded56b 532 return "<%s.%s instance; proxy of C++ wxLogChain instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
0220cbc1
RD
533class wxLogChain(wxLogChainPtr):
534 def __init__(self,*_args,**_kwargs):
1fded56b 535 self.this = misc2c.new_wxLogChain(*_args,**_kwargs)
0220cbc1
RD
536 self.thisown = 1
537
538
539
540
b98a5dfc
RD
541class wxLogNullPtr :
542 def __init__(self,this):
543 self.this = this
544 self.thisown = 0
b67a9327
RD
545 def __del__(self, delfunc=misc2c.delete_wxLogNull):
546 if self.thisown == 1:
547 try:
548 delfunc(self)
549 except:
550 pass
b98a5dfc 551 def __repr__(self):
1fded56b 552 return "<%s.%s instance; proxy of C++ wxLogNull instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
b98a5dfc
RD
553class wxLogNull(wxLogNullPtr):
554 def __init__(self,*_args,**_kwargs):
1fded56b 555 self.this = misc2c.new_wxLogNull(*_args,**_kwargs)
b98a5dfc
RD
556 self.thisown = 1
557
558
559
560
0220cbc1
RD
561class wxPyLogPtr(wxLogPtr):
562 def __init__(self,this):
563 self.this = this
564 self.thisown = 0
565 def _setCallbackInfo(self, *_args, **_kwargs):
1fded56b 566 val = misc2c.wxPyLog__setCallbackInfo(self, *_args, **_kwargs)
0220cbc1
RD
567 return val
568 def Destroy(self, *_args, **_kwargs):
1fded56b 569 val = misc2c.wxPyLog_Destroy(self, *_args, **_kwargs)
0220cbc1
RD
570 return val
571 def __repr__(self):
1fded56b 572 return "<%s.%s instance; proxy of C++ wxPyLog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
0220cbc1
RD
573class wxPyLog(wxPyLogPtr):
574 def __init__(self,*_args,**_kwargs):
1fded56b 575 self.this = misc2c.new_wxPyLog(*_args,**_kwargs)
0220cbc1
RD
576 self.thisown = 1
577 self._setCallbackInfo(self, wxPyLog)
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):
1fded56b 587 val = misc2c.wxProcessEvent_GetPid(self, *_args, **_kwargs)
c368d904
RD
588 return val
589 def GetExitCode(self, *_args, **_kwargs):
1fded56b 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):
1fded56b 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):
1fded56b 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):
1fded56b 621 val = misc2c.wxProcess_Destroy(self, *_args, **_kwargs)
c368d904 622 return val
0220cbc1 623 def _setCallbackInfo(self, *_args, **_kwargs):
1fded56b 624 val = misc2c.wxProcess__setCallbackInfo(self, *_args, **_kwargs)
c368d904
RD
625 return val
626 def base_OnTerminate(self, *_args, **_kwargs):
1fded56b 627 val = misc2c.wxProcess_base_OnTerminate(self, *_args, **_kwargs)
c368d904
RD
628 return val
629 def Redirect(self, *_args, **_kwargs):
1fded56b 630 val = misc2c.wxProcess_Redirect(self, *_args, **_kwargs)
c368d904
RD
631 return val
632 def IsRedirected(self, *_args, **_kwargs):
1fded56b 633 val = misc2c.wxProcess_IsRedirected(self, *_args, **_kwargs)
c368d904
RD
634 return val
635 def Detach(self, *_args, **_kwargs):
1fded56b 636 val = misc2c.wxProcess_Detach(self, *_args, **_kwargs)
c368d904
RD
637 return val
638 def GetInputStream(self, *_args, **_kwargs):
1fded56b 639 val = misc2c.wxProcess_GetInputStream(self, *_args, **_kwargs)
c368d904
RD
640 return val
641 def GetErrorStream(self, *_args, **_kwargs):
1fded56b 642 val = misc2c.wxProcess_GetErrorStream(self, *_args, **_kwargs)
c368d904
RD
643 return val
644 def GetOutputStream(self, *_args, **_kwargs):
1fded56b 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):
1fded56b 649 val = misc2c.wxProcess_CloseOutput(self, *_args, **_kwargs)
c368d904 650 return val
c81fd4b9 651 def IsInputOpened(self, *_args, **_kwargs):
1fded56b 652 val = misc2c.wxProcess_IsInputOpened(self, *_args, **_kwargs)
c81fd4b9
RD
653 return val
654 def IsInputAvailable(self, *_args, **_kwargs):
1fded56b 655 val = misc2c.wxProcess_IsInputAvailable(self, *_args, **_kwargs)
c81fd4b9
RD
656 return val
657 def IsErrorAvailable(self, *_args, **_kwargs):
1fded56b 658 val = misc2c.wxProcess_IsErrorAvailable(self, *_args, **_kwargs)
c81fd4b9 659 return val
c368d904 660 def __repr__(self):
1fded56b 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):
1fded56b 664 self.this = misc2c.new_wxProcess(*_args,**_kwargs)
c368d904 665 self.thisown = 1
0220cbc1 666 self._setCallbackInfo(self, wxProcess)
c368d904
RD
667
668
669
670
4dfaa61e
RD
671class wxJoystickPtr(wxObjectPtr):
672 def __init__(self,this):
673 self.this = this
674 self.thisown = 0
b67a9327
RD
675 def __del__(self, delfunc=misc2c.delete_wxJoystick):
676 if self.thisown == 1:
677 try:
678 delfunc(self)
679 except:
680 pass
4dfaa61e 681 def GetPosition(self, *_args, **_kwargs):
1fded56b 682 val = misc2c.wxJoystick_GetPosition(self, *_args, **_kwargs)
4dfaa61e
RD
683 if val: val = wxPointPtr(val) ; val.thisown = 1
684 return val
685 def GetZPosition(self, *_args, **_kwargs):
1fded56b 686 val = misc2c.wxJoystick_GetZPosition(self, *_args, **_kwargs)
4dfaa61e
RD
687 return val
688 def GetButtonState(self, *_args, **_kwargs):
1fded56b 689 val = misc2c.wxJoystick_GetButtonState(self, *_args, **_kwargs)
4dfaa61e
RD
690 return val
691 def GetPOVPosition(self, *_args, **_kwargs):
1fded56b 692 val = misc2c.wxJoystick_GetPOVPosition(self, *_args, **_kwargs)
4dfaa61e
RD
693 return val
694 def GetPOVCTSPosition(self, *_args, **_kwargs):
1fded56b 695 val = misc2c.wxJoystick_GetPOVCTSPosition(self, *_args, **_kwargs)
4dfaa61e
RD
696 return val
697 def GetRudderPosition(self, *_args, **_kwargs):
1fded56b 698 val = misc2c.wxJoystick_GetRudderPosition(self, *_args, **_kwargs)
4dfaa61e
RD
699 return val
700 def GetUPosition(self, *_args, **_kwargs):
1fded56b 701 val = misc2c.wxJoystick_GetUPosition(self, *_args, **_kwargs)
4dfaa61e
RD
702 return val
703 def GetVPosition(self, *_args, **_kwargs):
1fded56b 704 val = misc2c.wxJoystick_GetVPosition(self, *_args, **_kwargs)
4dfaa61e
RD
705 return val
706 def GetMovementThreshold(self, *_args, **_kwargs):
1fded56b 707 val = misc2c.wxJoystick_GetMovementThreshold(self, *_args, **_kwargs)
4dfaa61e
RD
708 return val
709 def SetMovementThreshold(self, *_args, **_kwargs):
1fded56b 710 val = misc2c.wxJoystick_SetMovementThreshold(self, *_args, **_kwargs)
4dfaa61e
RD
711 return val
712 def IsOk(self, *_args, **_kwargs):
1fded56b 713 val = misc2c.wxJoystick_IsOk(self, *_args, **_kwargs)
4dfaa61e
RD
714 return val
715 def GetNumberJoysticks(self, *_args, **_kwargs):
1fded56b 716 val = misc2c.wxJoystick_GetNumberJoysticks(self, *_args, **_kwargs)
4dfaa61e
RD
717 return val
718 def GetManufacturerId(self, *_args, **_kwargs):
1fded56b 719 val = misc2c.wxJoystick_GetManufacturerId(self, *_args, **_kwargs)
4dfaa61e
RD
720 return val
721 def GetProductId(self, *_args, **_kwargs):
1fded56b 722 val = misc2c.wxJoystick_GetProductId(self, *_args, **_kwargs)
4dfaa61e
RD
723 return val
724 def GetProductName(self, *_args, **_kwargs):
1fded56b 725 val = misc2c.wxJoystick_GetProductName(self, *_args, **_kwargs)
4dfaa61e
RD
726 return val
727 def GetXMin(self, *_args, **_kwargs):
1fded56b 728 val = misc2c.wxJoystick_GetXMin(self, *_args, **_kwargs)
4dfaa61e
RD
729 return val
730 def GetYMin(self, *_args, **_kwargs):
1fded56b 731 val = misc2c.wxJoystick_GetYMin(self, *_args, **_kwargs)
4dfaa61e
RD
732 return val
733 def GetZMin(self, *_args, **_kwargs):
1fded56b 734 val = misc2c.wxJoystick_GetZMin(self, *_args, **_kwargs)
4dfaa61e
RD
735 return val
736 def GetXMax(self, *_args, **_kwargs):
1fded56b 737 val = misc2c.wxJoystick_GetXMax(self, *_args, **_kwargs)
4dfaa61e
RD
738 return val
739 def GetYMax(self, *_args, **_kwargs):
1fded56b 740 val = misc2c.wxJoystick_GetYMax(self, *_args, **_kwargs)
4dfaa61e
RD
741 return val
742 def GetZMax(self, *_args, **_kwargs):
1fded56b 743 val = misc2c.wxJoystick_GetZMax(self, *_args, **_kwargs)
4dfaa61e
RD
744 return val
745 def GetNumberButtons(self, *_args, **_kwargs):
1fded56b 746 val = misc2c.wxJoystick_GetNumberButtons(self, *_args, **_kwargs)
4dfaa61e
RD
747 return val
748 def GetNumberAxes(self, *_args, **_kwargs):
1fded56b 749 val = misc2c.wxJoystick_GetNumberAxes(self, *_args, **_kwargs)
4dfaa61e
RD
750 return val
751 def GetMaxButtons(self, *_args, **_kwargs):
1fded56b 752 val = misc2c.wxJoystick_GetMaxButtons(self, *_args, **_kwargs)
4dfaa61e
RD
753 return val
754 def GetMaxAxes(self, *_args, **_kwargs):
1fded56b 755 val = misc2c.wxJoystick_GetMaxAxes(self, *_args, **_kwargs)
4dfaa61e
RD
756 return val
757 def GetPollingMin(self, *_args, **_kwargs):
1fded56b 758 val = misc2c.wxJoystick_GetPollingMin(self, *_args, **_kwargs)
4dfaa61e
RD
759 return val
760 def GetPollingMax(self, *_args, **_kwargs):
1fded56b 761 val = misc2c.wxJoystick_GetPollingMax(self, *_args, **_kwargs)
4dfaa61e
RD
762 return val
763 def GetRudderMin(self, *_args, **_kwargs):
1fded56b 764 val = misc2c.wxJoystick_GetRudderMin(self, *_args, **_kwargs)
4dfaa61e
RD
765 return val
766 def GetRudderMax(self, *_args, **_kwargs):
1fded56b 767 val = misc2c.wxJoystick_GetRudderMax(self, *_args, **_kwargs)
4dfaa61e
RD
768 return val
769 def GetUMin(self, *_args, **_kwargs):
1fded56b 770 val = misc2c.wxJoystick_GetUMin(self, *_args, **_kwargs)
4dfaa61e
RD
771 return val
772 def GetUMax(self, *_args, **_kwargs):
1fded56b 773 val = misc2c.wxJoystick_GetUMax(self, *_args, **_kwargs)
4dfaa61e
RD
774 return val
775 def GetVMin(self, *_args, **_kwargs):
1fded56b 776 val = misc2c.wxJoystick_GetVMin(self, *_args, **_kwargs)
4dfaa61e
RD
777 return val
778 def GetVMax(self, *_args, **_kwargs):
1fded56b 779 val = misc2c.wxJoystick_GetVMax(self, *_args, **_kwargs)
4dfaa61e
RD
780 return val
781 def HasRudder(self, *_args, **_kwargs):
1fded56b 782 val = misc2c.wxJoystick_HasRudder(self, *_args, **_kwargs)
4dfaa61e
RD
783 return val
784 def HasZ(self, *_args, **_kwargs):
1fded56b 785 val = misc2c.wxJoystick_HasZ(self, *_args, **_kwargs)
4dfaa61e
RD
786 return val
787 def HasU(self, *_args, **_kwargs):
1fded56b 788 val = misc2c.wxJoystick_HasU(self, *_args, **_kwargs)
4dfaa61e
RD
789 return val
790 def HasV(self, *_args, **_kwargs):
1fded56b 791 val = misc2c.wxJoystick_HasV(self, *_args, **_kwargs)
4dfaa61e
RD
792 return val
793 def HasPOV(self, *_args, **_kwargs):
1fded56b 794 val = misc2c.wxJoystick_HasPOV(self, *_args, **_kwargs)
4dfaa61e
RD
795 return val
796 def HasPOV4Dir(self, *_args, **_kwargs):
1fded56b 797 val = misc2c.wxJoystick_HasPOV4Dir(self, *_args, **_kwargs)
4dfaa61e
RD
798 return val
799 def HasPOVCTS(self, *_args, **_kwargs):
1fded56b 800 val = misc2c.wxJoystick_HasPOVCTS(self, *_args, **_kwargs)
4dfaa61e
RD
801 return val
802 def SetCapture(self, *_args, **_kwargs):
1fded56b 803 val = misc2c.wxJoystick_SetCapture(self, *_args, **_kwargs)
4dfaa61e
RD
804 return val
805 def ReleaseCapture(self, *_args, **_kwargs):
1fded56b 806 val = misc2c.wxJoystick_ReleaseCapture(self, *_args, **_kwargs)
4dfaa61e
RD
807 return val
808 def __repr__(self):
1fded56b
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()
4dfaa61e
RD
811class wxJoystick(wxJoystickPtr):
812 def __init__(self,*_args,**_kwargs):
1fded56b 813 self.this = misc2c.new_wxJoystick(*_args,**_kwargs)
4dfaa61e
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
b67a9327
RD
823 def __del__(self, delfunc=misc2c.delete_wxWave):
824 if self.thisown == 1:
825 try:
826 delfunc(self)
827 except:
828 pass
4dfaa61e 829 def IsOk(self, *_args, **_kwargs):
1fded56b 830 val = misc2c.wxWave_IsOk(self, *_args, **_kwargs)
4dfaa61e
RD
831 return val
832 def Play(self, *_args, **_kwargs):
1fded56b 833 val = misc2c.wxWave_Play(self, *_args, **_kwargs)
4dfaa61e
RD
834 return val
835 def __repr__(self):
1fded56b
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()
4dfaa61e
RD
838class wxWave(wxWavePtr):
839 def __init__(self,*_args,**_kwargs):
1fded56b 840 self.this = misc2c.new_wxWave(*_args,**_kwargs)
4dfaa61e
RD
841 self.thisown = 1
842
843
844
845
5c0282d5
RD
846class wxFileTypeInfoPtr :
847 def __init__(self,this):
848 self.this = this
849 self.thisown = 0
850 def IsValid(self, *_args, **_kwargs):
1fded56b 851 val = misc2c.wxFileTypeInfo_IsValid(self, *_args, **_kwargs)
5c0282d5
RD
852 return val
853 def SetIcon(self, *_args, **_kwargs):
1fded56b 854 val = misc2c.wxFileTypeInfo_SetIcon(self, *_args, **_kwargs)
5c0282d5
RD
855 return val
856 def SetShortDesc(self, *_args, **_kwargs):
1fded56b 857 val = misc2c.wxFileTypeInfo_SetShortDesc(self, *_args, **_kwargs)
5c0282d5
RD
858 return val
859 def GetMimeType(self, *_args, **_kwargs):
1fded56b 860 val = misc2c.wxFileTypeInfo_GetMimeType(self, *_args, **_kwargs)
5c0282d5
RD
861 return val
862 def GetOpenCommand(self, *_args, **_kwargs):
1fded56b 863 val = misc2c.wxFileTypeInfo_GetOpenCommand(self, *_args, **_kwargs)
5c0282d5
RD
864 return val
865 def GetPrintCommand(self, *_args, **_kwargs):
1fded56b 866 val = misc2c.wxFileTypeInfo_GetPrintCommand(self, *_args, **_kwargs)
5c0282d5
RD
867 return val
868 def GetShortDesc(self, *_args, **_kwargs):
1fded56b 869 val = misc2c.wxFileTypeInfo_GetShortDesc(self, *_args, **_kwargs)
5c0282d5
RD
870 return val
871 def GetDescription(self, *_args, **_kwargs):
1fded56b 872 val = misc2c.wxFileTypeInfo_GetDescription(self, *_args, **_kwargs)
5c0282d5
RD
873 return val
874 def GetExtensions(self, *_args, **_kwargs):
1fded56b 875 val = misc2c.wxFileTypeInfo_GetExtensions(self, *_args, **_kwargs)
5c0282d5
RD
876 return val
877 def GetExtensionsCount(self, *_args, **_kwargs):
1fded56b 878 val = misc2c.wxFileTypeInfo_GetExtensionsCount(self, *_args, **_kwargs)
5c0282d5
RD
879 return val
880 def GetIconFile(self, *_args, **_kwargs):
1fded56b 881 val = misc2c.wxFileTypeInfo_GetIconFile(self, *_args, **_kwargs)
5c0282d5
RD
882 return val
883 def GetIconIndex(self, *_args, **_kwargs):
1fded56b 884 val = misc2c.wxFileTypeInfo_GetIconIndex(self, *_args, **_kwargs)
5c0282d5
RD
885 return val
886 def __repr__(self):
1fded56b 887 return "<%s.%s instance; proxy of C++ wxFileTypeInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
5c0282d5
RD
888class wxFileTypeInfo(wxFileTypeInfoPtr):
889 def __init__(self,*_args,**_kwargs):
1fded56b 890 self.this = misc2c.new_wxFileTypeInfo(*_args,**_kwargs)
5c0282d5
RD
891 self.thisown = 1
892
893
894
895def wxFileTypeInfoSequence(*_args,**_kwargs):
1fded56b 896 val = wxFileTypeInfoPtr(misc2c.new_wxFileTypeInfoSequence(*_args,**_kwargs))
5c0282d5
RD
897 val.thisown = 1
898 return val
899
900def wxNullFileTypeInfo(*_args,**_kwargs):
1fded56b 901 val = wxFileTypeInfoPtr(misc2c.new_wxNullFileTypeInfo(*_args,**_kwargs))
5c0282d5
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):
1fded56b 911 val = misc2c.wxFileType_GetMimeType(self, *_args, **_kwargs)
5c0282d5
RD
912 return val
913 def GetMimeTypes(self, *_args, **_kwargs):
1fded56b 914 val = misc2c.wxFileType_GetMimeTypes(self, *_args, **_kwargs)
5c0282d5
RD
915 return val
916 def GetExtensions(self, *_args, **_kwargs):
1fded56b 917 val = misc2c.wxFileType_GetExtensions(self, *_args, **_kwargs)
5c0282d5
RD
918 return val
919 def GetIcon(self, *_args, **_kwargs):
1fded56b 920 val = misc2c.wxFileType_GetIcon(self, *_args, **_kwargs)
5c0282d5
RD
921 if val: val = wxIconPtr(val) ; val.thisown = 1
922 return val
923 def GetIconInfo(self, *_args, **_kwargs):
1fded56b 924 val = misc2c.wxFileType_GetIconInfo(self, *_args, **_kwargs)
5c0282d5
RD
925 return val
926 def GetDescription(self, *_args, **_kwargs):
1fded56b 927 val = misc2c.wxFileType_GetDescription(self, *_args, **_kwargs)
5c0282d5
RD
928 return val
929 def GetOpenCommand(self, *_args, **_kwargs):
1fded56b 930 val = misc2c.wxFileType_GetOpenCommand(self, *_args, **_kwargs)
5c0282d5
RD
931 return val
932 def GetPrintCommand(self, *_args, **_kwargs):
1fded56b 933 val = misc2c.wxFileType_GetPrintCommand(self, *_args, **_kwargs)
5c0282d5
RD
934 return val
935 def GetAllCommands(self, *_args, **_kwargs):
1fded56b 936 val = misc2c.wxFileType_GetAllCommands(self, *_args, **_kwargs)
5c0282d5
RD
937 return val
938 def SetCommand(self, *_args, **_kwargs):
1fded56b 939 val = misc2c.wxFileType_SetCommand(self, *_args, **_kwargs)
5c0282d5
RD
940 return val
941 def SetDefaultIcon(self, *_args, **_kwargs):
1fded56b 942 val = misc2c.wxFileType_SetDefaultIcon(self, *_args, **_kwargs)
5c0282d5
RD
943 return val
944 def Unassociate(self, *_args, **_kwargs):
1fded56b 945 val = misc2c.wxFileType_Unassociate(self, *_args, **_kwargs)
5c0282d5 946 return val
b67a9327
RD
947 def __del__(self, delfunc=misc2c.delete_wxFileType):
948 if self.thisown == 1:
949 try:
950 delfunc(self)
951 except:
952 pass
5c0282d5 953 def __repr__(self):
1fded56b 954 return "<%s.%s instance; proxy of C++ wxFileType instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
5c0282d5
RD
955class wxFileType(wxFileTypePtr):
956 def __init__(self,*_args,**_kwargs):
1fded56b 957 self.this = misc2c.new_wxFileType(*_args,**_kwargs)
5c0282d5
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):
1fded56b 968 val = misc2c.wxMimeTypesManager_Initialize(self, *_args, **_kwargs)
5c0282d5
RD
969 return val
970 def ClearData(self, *_args, **_kwargs):
1fded56b 971 val = misc2c.wxMimeTypesManager_ClearData(self, *_args, **_kwargs)
5c0282d5
RD
972 return val
973 def GetFileTypeFromExtension(self, *_args, **_kwargs):
1fded56b 974 val = misc2c.wxMimeTypesManager_GetFileTypeFromExtension(self, *_args, **_kwargs)
5c0282d5
RD
975 if val: val = wxFileTypePtr(val) ; val.thisown = 1
976 return val
977 def GetFileTypeFromMimeType(self, *_args, **_kwargs):
1fded56b 978 val = misc2c.wxMimeTypesManager_GetFileTypeFromMimeType(self, *_args, **_kwargs)
5c0282d5
RD
979 if val: val = wxFileTypePtr(val) ; val.thisown = 1
980 return val
981 def ReadMailcap(self, *_args, **_kwargs):
1fded56b 982 val = misc2c.wxMimeTypesManager_ReadMailcap(self, *_args, **_kwargs)
5c0282d5
RD
983 return val
984 def ReadMimeTypes(self, *_args, **_kwargs):
1fded56b 985 val = misc2c.wxMimeTypesManager_ReadMimeTypes(self, *_args, **_kwargs)
5c0282d5
RD
986 return val
987 def EnumAllFileTypes(self, *_args, **_kwargs):
1fded56b 988 val = misc2c.wxMimeTypesManager_EnumAllFileTypes(self, *_args, **_kwargs)
5c0282d5
RD
989 return val
990 def AddFallback(self, *_args, **_kwargs):
1fded56b 991 val = misc2c.wxMimeTypesManager_AddFallback(self, *_args, **_kwargs)
5c0282d5
RD
992 return val
993 def Associate(self, *_args, **_kwargs):
1fded56b 994 val = misc2c.wxMimeTypesManager_Associate(self, *_args, **_kwargs)
5c0282d5
RD
995 if val: val = wxFileTypePtr(val) ; val.thisown = 1
996 return val
997 def Unassociate(self, *_args, **_kwargs):
1fded56b 998 val = misc2c.wxMimeTypesManager_Unassociate(self, *_args, **_kwargs)
5c0282d5 999 return val
b67a9327
RD
1000 def __del__(self, delfunc=misc2c.delete_wxMimeTypesManager):
1001 if self.thisown == 1:
1002 try:
1003 delfunc(self)
1004 except:
1005 pass
5c0282d5 1006 def __repr__(self):
1fded56b 1007 return "<%s.%s instance; proxy of C++ wxMimeTypesManager instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
5c0282d5
RD
1008class wxMimeTypesManager(wxMimeTypesManagerPtr):
1009 def __init__(self,*_args,**_kwargs):
1fded56b 1010 self.this = misc2c.new_wxMimeTypesManager(*_args,**_kwargs)
5c0282d5
RD
1011 self.thisown = 1
1012
1013
1014
1015
8f8b0a8d
RD
1016class wxArtProviderPtr(wxObjectPtr):
1017 def __init__(self,this):
1018 self.this = this
1019 self.thisown = 0
1020 def _setCallbackInfo(self, *_args, **_kwargs):
1fded56b 1021 val = misc2c.wxArtProvider__setCallbackInfo(self, *_args, **_kwargs)
8f8b0a8d
RD
1022 return val
1023 def __repr__(self):
1fded56b 1024 return "<%s.%s instance; proxy of C++ wxArtProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
8f8b0a8d
RD
1025class wxArtProvider(wxArtProviderPtr):
1026 def __init__(self,*_args,**_kwargs):
1fded56b 1027 self.this = misc2c.new_wxArtProvider(*_args,**_kwargs)
8f8b0a8d
RD
1028 self.thisown = 1
1029 self._setCallbackInfo(self, wxArtProvider)
1030
1031
1032
1033
93283355
RD
1034class wxFileHistoryPtr(wxObjectPtr):
1035 def __init__(self,this):
1036 self.this = this
1037 self.thisown = 0
b67a9327
RD
1038 def __del__(self, delfunc=misc2c.delete_wxFileHistory):
1039 if self.thisown == 1:
1040 try:
1041 delfunc(self)
1042 except:
1043 pass
93283355 1044 def AddFileToHistory(self, *_args, **_kwargs):
1fded56b 1045 val = misc2c.wxFileHistory_AddFileToHistory(self, *_args, **_kwargs)
93283355
RD
1046 return val
1047 def RemoveFileFromHistory(self, *_args, **_kwargs):
1fded56b 1048 val = misc2c.wxFileHistory_RemoveFileFromHistory(self, *_args, **_kwargs)
93283355
RD
1049 return val
1050 def GetMaxFiles(self, *_args, **_kwargs):
1fded56b 1051 val = misc2c.wxFileHistory_GetMaxFiles(self, *_args, **_kwargs)
93283355
RD
1052 return val
1053 def UseMenu(self, *_args, **_kwargs):
1fded56b 1054 val = misc2c.wxFileHistory_UseMenu(self, *_args, **_kwargs)
93283355
RD
1055 return val
1056 def RemoveMenu(self, *_args, **_kwargs):
1fded56b 1057 val = misc2c.wxFileHistory_RemoveMenu(self, *_args, **_kwargs)
93283355
RD
1058 return val
1059 def Load(self, *_args, **_kwargs):
1fded56b 1060 val = misc2c.wxFileHistory_Load(self, *_args, **_kwargs)
93283355
RD
1061 return val
1062 def Save(self, *_args, **_kwargs):
1fded56b 1063 val = misc2c.wxFileHistory_Save(self, *_args, **_kwargs)
93283355
RD
1064 return val
1065 def AddFilesToMenu(self, *_args, **_kwargs):
1fded56b 1066 val = misc2c.wxFileHistory_AddFilesToMenu(self, *_args, **_kwargs)
93283355 1067 return val
a323d3bd 1068 def AddFilesToThisMenu(self, *_args, **_kwargs):
1fded56b 1069 val = misc2c.wxFileHistory_AddFilesToThisMenu(self, *_args, **_kwargs)
93283355
RD
1070 return val
1071 def GetHistoryFile(self, *_args, **_kwargs):
1fded56b 1072 val = misc2c.wxFileHistory_GetHistoryFile(self, *_args, **_kwargs)
93283355
RD
1073 return val
1074 def GetCount(self, *_args, **_kwargs):
1fded56b 1075 val = misc2c.wxFileHistory_GetCount(self, *_args, **_kwargs)
93283355 1076 return val
93283355 1077 def __repr__(self):
1fded56b 1078 return "<%s.%s instance; proxy of C++ wxFileHistory instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
dd116e73 1079 GetNoHistoryFiles = GetCount
93283355
RD
1080class wxFileHistory(wxFileHistoryPtr):
1081 def __init__(self,*_args,**_kwargs):
1fded56b 1082 self.this = misc2c.new_wxFileHistory(*_args,**_kwargs)
93283355
RD
1083 self.thisown = 1
1084
1085
1086
1087
4eb65923
RD
1088class wxEffectsPtr(wxObjectPtr):
1089 def __init__(self,this):
1090 self.this = this
1091 self.thisown = 0
1092 def GetHighlightColour(self, *_args, **_kwargs):
1fded56b 1093 val = misc2c.wxEffects_GetHighlightColour(self, *_args, **_kwargs)
4eb65923
RD
1094 if val: val = wxColourPtr(val) ; val.thisown = 1
1095 return val
1096 def GetLightShadow(self, *_args, **_kwargs):
1fded56b 1097 val = misc2c.wxEffects_GetLightShadow(self, *_args, **_kwargs)
4eb65923
RD
1098 if val: val = wxColourPtr(val) ; val.thisown = 1
1099 return val
1100 def GetFaceColour(self, *_args, **_kwargs):
1fded56b 1101 val = misc2c.wxEffects_GetFaceColour(self, *_args, **_kwargs)
4eb65923
RD
1102 if val: val = wxColourPtr(val) ; val.thisown = 1
1103 return val
1104 def GetMediumShadow(self, *_args, **_kwargs):
1fded56b 1105 val = misc2c.wxEffects_GetMediumShadow(self, *_args, **_kwargs)
4eb65923
RD
1106 if val: val = wxColourPtr(val) ; val.thisown = 1
1107 return val
1108 def GetDarkShadow(self, *_args, **_kwargs):
1fded56b 1109 val = misc2c.wxEffects_GetDarkShadow(self, *_args, **_kwargs)
4eb65923
RD
1110 if val: val = wxColourPtr(val) ; val.thisown = 1
1111 return val
1112 def SetHighlightColour(self, *_args, **_kwargs):
1fded56b 1113 val = misc2c.wxEffects_SetHighlightColour(self, *_args, **_kwargs)
4eb65923
RD
1114 return val
1115 def SetLightShadow(self, *_args, **_kwargs):
1fded56b 1116 val = misc2c.wxEffects_SetLightShadow(self, *_args, **_kwargs)
4eb65923
RD
1117 return val
1118 def SetFaceColour(self, *_args, **_kwargs):
1fded56b 1119 val = misc2c.wxEffects_SetFaceColour(self, *_args, **_kwargs)
4eb65923
RD
1120 return val
1121 def SetMediumShadow(self, *_args, **_kwargs):
1fded56b 1122 val = misc2c.wxEffects_SetMediumShadow(self, *_args, **_kwargs)
4eb65923
RD
1123 return val
1124 def SetDarkShadow(self, *_args, **_kwargs):
1fded56b 1125 val = misc2c.wxEffects_SetDarkShadow(self, *_args, **_kwargs)
4eb65923
RD
1126 return val
1127 def Set(self, *_args, **_kwargs):
1fded56b 1128 val = misc2c.wxEffects_Set(self, *_args, **_kwargs)
4eb65923
RD
1129 return val
1130 def DrawSunkenEdge(self, *_args, **_kwargs):
1fded56b 1131 val = misc2c.wxEffects_DrawSunkenEdge(self, *_args, **_kwargs)
4eb65923
RD
1132 return val
1133 def TileBitmap(self, *_args, **_kwargs):
1fded56b 1134 val = misc2c.wxEffects_TileBitmap(self, *_args, **_kwargs)
4eb65923
RD
1135 return val
1136 def __repr__(self):
1fded56b 1137 return "<%s.%s instance; proxy of C++ wxEffects instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
4eb65923
RD
1138class wxEffects(wxEffectsPtr):
1139 def __init__(self,*_args,**_kwargs):
1fded56b 1140 self.this = misc2c.new_wxEffects(*_args,**_kwargs)
4eb65923
RD
1141 self.thisown = 1
1142
1143
1144
1145
1146class wxSingleInstanceCheckerPtr :
1147 def __init__(self,this):
1148 self.this = this
1149 self.thisown = 0
b67a9327
RD
1150 def __del__(self, delfunc=misc2c.delete_wxSingleInstanceChecker):
1151 if self.thisown == 1:
1152 try:
1153 delfunc(self)
1154 except:
1155 pass
4eb65923 1156 def Create(self, *_args, **_kwargs):
1fded56b 1157 val = misc2c.wxSingleInstanceChecker_Create(self, *_args, **_kwargs)
4eb65923
RD
1158 return val
1159 def IsAnotherRunning(self, *_args, **_kwargs):
1fded56b 1160 val = misc2c.wxSingleInstanceChecker_IsAnotherRunning(self, *_args, **_kwargs)
4eb65923
RD
1161 return val
1162 def __repr__(self):
1fded56b 1163 return "<%s.%s instance; proxy of C++ wxSingleInstanceChecker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
4eb65923
RD
1164class wxSingleInstanceChecker(wxSingleInstanceCheckerPtr):
1165 def __init__(self,*_args,**_kwargs):
1fded56b 1166 self.this = misc2c.new_wxSingleInstanceChecker(*_args,**_kwargs)
4eb65923
RD
1167 self.thisown = 1
1168
1169
1170
1171def wxPreSingleInstanceChecker(*_args,**_kwargs):
1fded56b 1172 val = wxSingleInstanceCheckerPtr(misc2c.new_wxPreSingleInstanceChecker(*_args,**_kwargs))
4eb65923
RD
1173 val.thisown = 1
1174 return val
1175
1176
d24a34bb
RD
1177
1178
1179#-------------- FUNCTION WRAPPERS ------------------
1180
bc29c5e0
RD
1181wxFileSelector = misc2c.wxFileSelector
1182
49df1f52
RD
1183wxLoadFileSelector = misc2c.wxLoadFileSelector
1184
1185wxSaveFileSelector = misc2c.wxSaveFileSelector
1186
301dfd67
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
b68dc582
RD
1205wxGetDisplayDepth = misc2c.wxGetDisplayDepth
1206
1207wxDisplaySize = misc2c.wxDisplaySize
1208
1209def wxGetDisplaySize(*_args, **_kwargs):
1fded56b 1210 val = misc2c.wxGetDisplaySize(*_args,**_kwargs)
b68dc582
RD
1211 if val: val = wxSizePtr(val); val.thisown = 1
1212 return val
1213
9c4165ad
RD
1214wxDisplaySizeMM = misc2c.wxDisplaySizeMM
1215
1216def wxGetDisplaySizeMM(*_args, **_kwargs):
1fded56b 1217 val = misc2c.wxGetDisplaySizeMM(*_args,**_kwargs)
9c4165ad
RD
1218 if val: val = wxSizePtr(val); val.thisown = 1
1219 return val
1220
9e689c06
RD
1221wxClientDisplayRect = misc2c.wxClientDisplayRect
1222
1223def wxGetClientDisplayRect(*_args, **_kwargs):
1fded56b 1224 val = misc2c.wxGetClientDisplayRect(*_args,**_kwargs)
9e689c06
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):
1fded56b 1233 val = misc2c.wxGetActiveWindow(*_args,**_kwargs)
bc29c5e0
RD
1234 return val
1235
4dfaa61e 1236def wxGenericFindWindowAtPoint(*_args, **_kwargs):
1fded56b 1237 val = misc2c.wxGenericFindWindowAtPoint(*_args,**_kwargs)
4dfaa61e
RD
1238 return val
1239
1240def wxFindWindowAtPoint(*_args, **_kwargs):
1fded56b 1241 val = misc2c.wxFindWindowAtPoint(*_args,**_kwargs)
4dfaa61e
RD
1242 return val
1243
8381e4cd 1244def wxGetTopLevelParent(*_args, **_kwargs):
1fded56b 1245 val = misc2c.wxGetTopLevelParent(*_args,**_kwargs)
8381e4cd
RD
1246 return val
1247
8f17924e
RD
1248wxCaret_GetBlinkTime = misc2c.wxCaret_GetBlinkTime
1249
1250wxCaret_SetBlinkTime = misc2c.wxCaret_SetBlinkTime
1251
4662be59
RD
1252wxSafeYield = misc2c.wxSafeYield
1253
4120ef2b
RD
1254wxPostEvent = misc2c.wxPostEvent
1255
d29aba2f
RD
1256wxWakeUpIdle = misc2c.wxWakeUpIdle
1257
4662be59
RD
1258wxMutexGuiEnter = misc2c.wxMutexGuiEnter
1259
1260wxMutexGuiLeave = misc2c.wxMutexGuiLeave
1261
1262wxThread_IsMain = misc2c.wxThread_IsMain
c368d904 1263
f6bcfd97
BP
1264wxShowTip = misc2c.wxShowTip
1265
1266def wxCreateFileTipProvider(*_args, **_kwargs):
1fded56b 1267 val = misc2c.wxCreateFileTipProvider(*_args,**_kwargs)
f6bcfd97
BP
1268 if val: val = wxTipProviderPtr(val); val.thisown = 1
1269 return val
1270
f6bcfd97
BP
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
b67a9327
RD
1285wxLogDebug = misc2c.wxLogDebug
1286
f6bcfd97
BP
1287wxLogVerbose = misc2c.wxLogVerbose
1288
1289wxLogStatus = misc2c.wxLogStatus
1290
1291wxLogStatusFrame = misc2c.wxLogStatusFrame
1292
1293wxLogSysError = misc2c.wxLogSysError
1294
9f873a51
RD
1295wxLogTrace = misc2c.wxLogTrace
1296
1297wxLogTraceMask = misc2c.wxLogTraceMask
1298
1299wxLogGeneric = misc2c.wxLogGeneric
1300
12d1116b
RD
1301wxSafeShowMessage = misc2c.wxSafeShowMessage
1302
c368d904
RD
1303wxExecute = misc2c.wxExecute
1304
4dfaa61e 1305def wxWaveData(*_args, **_kwargs):
1fded56b 1306 val = misc2c.wxWaveData(*_args,**_kwargs)
4dfaa61e
RD
1307 if val: val = wxWavePtr(val); val.thisown = 1
1308 return val
1309
31855352
RD
1310wxDrawWindowOnDC = misc2c.wxDrawWindowOnDC
1311
1893b029 1312def wxSystemSettings_GetColour(*_args, **_kwargs):
1fded56b 1313 val = misc2c.wxSystemSettings_GetColour(*_args,**_kwargs)
1893b029
RD
1314 if val: val = wxColourPtr(val); val.thisown = 1
1315 return val
1316
1317def wxSystemSettings_GetFont(*_args, **_kwargs):
1fded56b 1318 val = misc2c.wxSystemSettings_GetFont(*_args,**_kwargs)
1893b029
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
298ae144 1326wxSystemSettings_GetScreenType = misc2c.wxSystemSettings_GetScreenType
12d1116b 1327
298ae144 1328wxSystemSettings_SetScreenType = misc2c.wxSystemSettings_SetScreenType
12d1116b 1329
3ef86e32
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
9a08cd12
RD
1340wxToolTip_Enable = misc2c.wxToolTip_Enable
1341
1342wxToolTip_SetDelay = misc2c.wxToolTip_SetDelay
1343
f6bcfd97
BP
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):
1fded56b 1353 val = misc2c.wxLog_GetActiveTarget(*_args,**_kwargs)
f6bcfd97
BP
1354 if val: val = wxLogPtr(val)
1355 return val
1356
1357def wxLog_SetActiveTarget(*_args, **_kwargs):
1fded56b 1358 val = misc2c.wxLog_SetActiveTarget(*_args,**_kwargs)
f6bcfd97
BP
1359 if val: val = wxLogPtr(val)
1360 return val
1361
1362wxLog_Suspend = misc2c.wxLog_Suspend
1363
1364wxLog_Resume = misc2c.wxLog_Resume
1365
a323d3bd
RD
1366wxLog_SetVerbose = misc2c.wxLog_SetVerbose
1367
f6bcfd97
BP
1368wxLog_DontCreateOnDemand = misc2c.wxLog_DontCreateOnDemand
1369
1370wxLog_SetTraceMask = misc2c.wxLog_SetTraceMask
1371
1372wxLog_AddTraceMask = misc2c.wxLog_AddTraceMask
1373
1374wxLog_RemoveTraceMask = misc2c.wxLog_RemoveTraceMask
1375
0220cbc1
RD
1376wxLog_ClearTraceMasks = misc2c.wxLog_ClearTraceMasks
1377
4eb65923
RD
1378wxLog_GetTraceMasks = misc2c.wxLog_GetTraceMasks
1379
0220cbc1
RD
1380wxLog_SetTimestamp = misc2c.wxLog_SetTimestamp
1381
1382wxLog_GetTimestamp = misc2c.wxLog_GetTimestamp
1383
f6bcfd97
BP
1384wxLog_GetTraceMask = misc2c.wxLog_GetTraceMask
1385
1386wxLog_IsAllowedTraceMask = misc2c.wxLog_IsAllowedTraceMask
1387
b67a9327
RD
1388wxLog_SetLogLevel = misc2c.wxLog_SetLogLevel
1389
1390wxLog_GetLogLevel = misc2c.wxLog_GetLogLevel
1391
11449283
RD
1392wxProcess_Kill = misc2c.wxProcess_Kill
1393
1394wxProcess_Exists = misc2c.wxProcess_Exists
1395
1396def wxProcess_Open(*_args, **_kwargs):
1fded56b 1397 val = misc2c.wxProcess_Open(*_args,**_kwargs)
11449283
RD
1398 if val: val = wxProcessPtr(val)
1399 return val
1400
5c0282d5
RD
1401wxFileType_ExpandCommand = misc2c.wxFileType_ExpandCommand
1402
1403wxMimeTypesManager_IsOfType = misc2c.wxMimeTypesManager_IsOfType
1404
8f8b0a8d
RD
1405wxArtProvider_PushProvider = misc2c.wxArtProvider_PushProvider
1406
1407wxArtProvider_PopProvider = misc2c.wxArtProvider_PopProvider
1408
1409wxArtProvider_RemoveProvider = misc2c.wxArtProvider_RemoveProvider
1410
1411def wxArtProvider_GetBitmap(*_args, **_kwargs):
1fded56b 1412 val = misc2c.wxArtProvider_GetBitmap(*_args,**_kwargs)
8f8b0a8d
RD
1413 if val: val = wxBitmapPtr(val); val.thisown = 1
1414 return val
1415
1416def wxArtProvider_GetIcon(*_args, **_kwargs):
1fded56b 1417 val = misc2c.wxArtProvider_GetIcon(*_args,**_kwargs)
8f8b0a8d
RD
1418 if val: val = wxIconPtr(val); val.thisown = 1
1419 return val
1420
d24a34bb
RD
1421
1422
1423#-------------- VARIABLE WRAPPERS ------------------
1424
bc29c5e0
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
5d413391 1435wxSYS_COLOUR_DESKTOP = misc2c.wxSYS_COLOUR_DESKTOP
bc29c5e0
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
5d413391 1450wxSYS_COLOUR_3DFACE = misc2c.wxSYS_COLOUR_3DFACE
bc29c5e0 1451wxSYS_COLOUR_BTNSHADOW = misc2c.wxSYS_COLOUR_BTNSHADOW
5d413391 1452wxSYS_COLOUR_3DSHADOW = misc2c.wxSYS_COLOUR_3DSHADOW
bc29c5e0
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
5d413391
RD
1457wxSYS_COLOUR_BTNHILIGHT = misc2c.wxSYS_COLOUR_BTNHILIGHT
1458wxSYS_COLOUR_3DHIGHLIGHT = misc2c.wxSYS_COLOUR_3DHIGHLIGHT
1459wxSYS_COLOUR_3DHILIGHT = misc2c.wxSYS_COLOUR_3DHILIGHT
bc29c5e0
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
1893b029 1464wxSYS_COLOUR_LISTBOX = misc2c.wxSYS_COLOUR_LISTBOX
5d413391
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
bc29c5e0
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
1893b029
RD
1508wxSYS_CAN_DRAW_FRAME_DECORATIONS = misc2c.wxSYS_CAN_DRAW_FRAME_DECORATIONS
1509wxSYS_CAN_ICONIZE_FRAME = misc2c.wxSYS_CAN_ICONIZE_FRAME
ef12d2e2 1510wxSYS_SCREEN_NONE = misc2c.wxSYS_SCREEN_NONE
ef12d2e2 1511wxSYS_SCREEN_TINY = misc2c.wxSYS_SCREEN_TINY
298ae144
RD
1512wxSYS_SCREEN_PDA = misc2c.wxSYS_SCREEN_PDA
1513wxSYS_SCREEN_SMALL = misc2c.wxSYS_SCREEN_SMALL
1514wxSYS_SCREEN_DESKTOP = misc2c.wxSYS_SCREEN_DESKTOP
f6bcfd97
BP
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
9f873a51
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
11449283
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
9c4165ad 1555wxEVT_END_PROCESS = misc2c.wxEVT_END_PROCESS
be86ffe3
RD
1556wxEXEC_ASYNC = misc2c.wxEXEC_ASYNC
1557wxEXEC_SYNC = misc2c.wxEXEC_SYNC
1558wxEXEC_NOHIDE = misc2c.wxEXEC_NOHIDE
a323d3bd 1559wxEXEC_MAKE_GROUP_LEADER = misc2c.wxEXEC_MAKE_GROUP_LEADER
ba77f390
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
5c0282d5
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)