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