]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/misc2.py
added SetStatusText method (avoiding dc.Clear)
[wxWidgets.git] / wxPython / src / msw / misc2.py
CommitLineData
d24a34bb
RD
1# This file was created automatically by SWIG.
2import misc2c
3
4from windows import *
5
6from misc import *
7
8from gdi import *
4120ef2b
RD
9
10from clip_dnd import *
11
12from events import *
c368d904
RD
13
14from streams import *
7dbce44a
RD
15
16from utils import *
9416aa89 17class wxToolTipPtr(wxObjectPtr):
d24a34bb
RD
18 def __init__(self,this):
19 self.this = this
20 self.thisown = 0
2d091820
RD
21 def SetTip(self, *_args, **_kwargs):
22 val = apply(misc2c.wxToolTip_SetTip,(self,) + _args, _kwargs)
d24a34bb 23 return val
2d091820
RD
24 def GetTip(self, *_args, **_kwargs):
25 val = apply(misc2c.wxToolTip_GetTip,(self,) + _args, _kwargs)
d24a34bb 26 return val
2d091820
RD
27 def GetWindow(self, *_args, **_kwargs):
28 val = apply(misc2c.wxToolTip_GetWindow,(self,) + _args, _kwargs)
d24a34bb
RD
29 return val
30 def __repr__(self):
2d091820 31 return "<C wxToolTip instance at %s>" % (self.this,)
d24a34bb 32class wxToolTip(wxToolTipPtr):
2d091820
RD
33 def __init__(self,*_args,**_kwargs):
34 self.this = apply(misc2c.new_wxToolTip,_args,_kwargs)
d24a34bb
RD
35 self.thisown = 1
36
37
38
39
8f17924e
RD
40class wxCaretPtr :
41 def __init__(self,this):
42 self.this = this
43 self.thisown = 0
44 def __del__(self,misc2c=misc2c):
45 if self.thisown == 1 :
46 misc2c.delete_wxCaret(self)
47 def IsOk(self, *_args, **_kwargs):
48 val = apply(misc2c.wxCaret_IsOk,(self,) + _args, _kwargs)
49 return val
50 def IsVisible(self, *_args, **_kwargs):
51 val = apply(misc2c.wxCaret_IsVisible,(self,) + _args, _kwargs)
52 return val
53 def GetPositionTuple(self, *_args, **_kwargs):
54 val = apply(misc2c.wxCaret_GetPositionTuple,(self,) + _args, _kwargs)
55 return val
56 def GetPosition(self, *_args, **_kwargs):
57 val = apply(misc2c.wxCaret_GetPosition,(self,) + _args, _kwargs)
58 if val: val = wxPointPtr(val) ; val.thisown = 1
59 return val
60 def GetSizeTuple(self, *_args, **_kwargs):
61 val = apply(misc2c.wxCaret_GetSizeTuple,(self,) + _args, _kwargs)
62 return val
63 def GetSize(self, *_args, **_kwargs):
64 val = apply(misc2c.wxCaret_GetSize,(self,) + _args, _kwargs)
65 if val: val = wxSizePtr(val) ; val.thisown = 1
66 return val
67 def GetWindow(self, *_args, **_kwargs):
68 val = apply(misc2c.wxCaret_GetWindow,(self,) + _args, _kwargs)
8f17924e
RD
69 return val
70 def MoveXY(self, *_args, **_kwargs):
71 val = apply(misc2c.wxCaret_MoveXY,(self,) + _args, _kwargs)
72 return val
73 def Move(self, *_args, **_kwargs):
74 val = apply(misc2c.wxCaret_Move,(self,) + _args, _kwargs)
75 return val
e02c03a4
RD
76 def SetSizeWH(self, *_args, **_kwargs):
77 val = apply(misc2c.wxCaret_SetSizeWH,(self,) + _args, _kwargs)
78 return val
79 def SetSize(self, *_args, **_kwargs):
80 val = apply(misc2c.wxCaret_SetSize,(self,) + _args, _kwargs)
81 return val
8f17924e
RD
82 def Show(self, *_args, **_kwargs):
83 val = apply(misc2c.wxCaret_Show,(self,) + _args, _kwargs)
84 return val
85 def Hide(self, *_args, **_kwargs):
86 val = apply(misc2c.wxCaret_Hide,(self,) + _args, _kwargs)
87 return val
8f17924e
RD
88 def __repr__(self):
89 return "<C wxCaret instance at %s>" % (self.this,)
90class wxCaret(wxCaretPtr):
91 def __init__(self,*_args,**_kwargs):
92 self.this = apply(misc2c.new_wxCaret,_args,_kwargs)
93 self.thisown = 1
94
95
96
97
4120ef2b
RD
98class wxFontEnumeratorPtr :
99 def __init__(self,this):
100 self.this = this
101 self.thisown = 0
102 def __del__(self,misc2c=misc2c):
103 if self.thisown == 1 :
104 misc2c.delete_wxFontEnumerator(self)
0122b7e3
RD
105 def _setCallbackInfo(self, *_args, **_kwargs):
106 val = apply(misc2c.wxFontEnumerator__setCallbackInfo,(self,) + _args, _kwargs)
4120ef2b
RD
107 return val
108 def EnumerateFacenames(self, *_args, **_kwargs):
109 val = apply(misc2c.wxFontEnumerator_EnumerateFacenames,(self,) + _args, _kwargs)
110 return val
111 def EnumerateEncodings(self, *_args, **_kwargs):
112 val = apply(misc2c.wxFontEnumerator_EnumerateEncodings,(self,) + _args, _kwargs)
113 return val
114 def GetEncodings(self, *_args, **_kwargs):
115 val = apply(misc2c.wxFontEnumerator_GetEncodings,(self,) + _args, _kwargs)
116 return val
117 def GetFacenames(self, *_args, **_kwargs):
118 val = apply(misc2c.wxFontEnumerator_GetFacenames,(self,) + _args, _kwargs)
119 return val
120 def __repr__(self):
121 return "<C wxFontEnumerator instance at %s>" % (self.this,)
122class wxFontEnumerator(wxFontEnumeratorPtr):
123 def __init__(self,*_args,**_kwargs):
124 self.this = apply(misc2c.new_wxFontEnumerator,_args,_kwargs)
125 self.thisown = 1
8af26133 126 self._setCallbackInfo(self, wxFontEnumerator, 0)
4120ef2b
RD
127
128
129
130
131class wxBusyCursorPtr :
132 def __init__(self,this):
133 self.this = this
134 self.thisown = 0
135 def __del__(self,misc2c=misc2c):
136 if self.thisown == 1 :
137 misc2c.delete_wxBusyCursor(self)
138 def __repr__(self):
139 return "<C wxBusyCursor instance at %s>" % (self.this,)
140class wxBusyCursor(wxBusyCursorPtr):
141 def __init__(self,*_args,**_kwargs):
142 self.this = apply(misc2c.new_wxBusyCursor,_args,_kwargs)
143 self.thisown = 1
144
145
146
147
c368d904
RD
148class wxWindowDisablerPtr :
149 def __init__(self,this):
150 self.this = this
151 self.thisown = 0
152 def __del__(self,misc2c=misc2c):
153 if self.thisown == 1 :
154 misc2c.delete_wxWindowDisabler(self)
155 def __repr__(self):
156 return "<C wxWindowDisabler instance at %s>" % (self.this,)
157class wxWindowDisabler(wxWindowDisablerPtr):
158 def __init__(self,*_args,**_kwargs):
159 self.this = apply(misc2c.new_wxWindowDisabler,_args,_kwargs)
160 self.thisown = 1
161
162
163
164
6e18ca6c
RD
165class wxMutexGuiLockerPtr :
166 def __init__(self,this):
167 self.this = this
168 self.thisown = 0
169 def __del__(self,misc2c=misc2c):
170 if self.thisown == 1 :
171 misc2c.delete_wxMutexGuiLocker(self)
172 def __repr__(self):
173 return "<C wxMutexGuiLocker instance at %s>" % (self.this,)
174class wxMutexGuiLocker(wxMutexGuiLockerPtr):
175 def __init__(self,*_args,**_kwargs):
176 self.this = apply(misc2c.new_wxMutexGuiLocker,_args,_kwargs)
177 self.thisown = 1
178
179
180
181
f6bcfd97
BP
182class wxTipProviderPtr :
183 def __init__(self,this):
184 self.this = this
185 self.thisown = 0
186 def __del__(self,misc2c=misc2c):
187 if self.thisown == 1 :
188 misc2c.delete_wxTipProvider(self)
189 def GetTip(self, *_args, **_kwargs):
190 val = apply(misc2c.wxTipProvider_GetTip,(self,) + _args, _kwargs)
191 return val
192 def GetCurrentTip(self, *_args, **_kwargs):
193 val = apply(misc2c.wxTipProvider_GetCurrentTip,(self,) + _args, _kwargs)
194 return val
195 def __repr__(self):
196 return "<C wxTipProvider instance at %s>" % (self.this,)
197class wxTipProvider(wxTipProviderPtr):
198 def __init__(self,this):
199 self.this = this
200
201
202
203
204class wxPyTipProviderPtr(wxTipProviderPtr):
205 def __init__(self,this):
206 self.this = this
207 self.thisown = 0
208 def __repr__(self):
209 return "<C wxPyTipProvider instance at %s>" % (self.this,)
210class wxPyTipProvider(wxPyTipProviderPtr):
211 def __init__(self,*_args,**_kwargs):
212 self.this = apply(misc2c.new_wxPyTipProvider,_args,_kwargs)
213 self.thisown = 1
214
215
216
217
9416aa89 218class wxDragImagePtr(wxObjectPtr):
f6bcfd97
BP
219 def __init__(self,this):
220 self.this = this
221 self.thisown = 0
222 def __del__(self,misc2c=misc2c):
223 if self.thisown == 1 :
224 misc2c.delete_wxDragImage(self)
10e07c70
RD
225 def SetBackingBitmap(self, *_args, **_kwargs):
226 val = apply(misc2c.wxDragImage_SetBackingBitmap,(self,) + _args, _kwargs)
227 return val
f6bcfd97
BP
228 def BeginDrag(self, *_args, **_kwargs):
229 val = apply(misc2c.wxDragImage_BeginDrag,(self,) + _args, _kwargs)
230 return val
231 def BeginDrag2(self, *_args, **_kwargs):
232 val = apply(misc2c.wxDragImage_BeginDrag2,(self,) + _args, _kwargs)
233 return val
234 def EndDrag(self, *_args, **_kwargs):
235 val = apply(misc2c.wxDragImage_EndDrag,(self,) + _args, _kwargs)
236 return val
237 def Move(self, *_args, **_kwargs):
238 val = apply(misc2c.wxDragImage_Move,(self,) + _args, _kwargs)
239 return val
240 def Show(self, *_args, **_kwargs):
241 val = apply(misc2c.wxDragImage_Show,(self,) + _args, _kwargs)
242 return val
243 def Hide(self, *_args, **_kwargs):
244 val = apply(misc2c.wxDragImage_Hide,(self,) + _args, _kwargs)
245 return val
246 def GetImageRect(self, *_args, **_kwargs):
247 val = apply(misc2c.wxDragImage_GetImageRect,(self,) + _args, _kwargs)
248 if val: val = wxRectPtr(val) ; val.thisown = 1
249 return val
250 def RedrawImage(self, *_args, **_kwargs):
251 val = apply(misc2c.wxDragImage_RedrawImage,(self,) + _args, _kwargs)
252 return val
253 def __repr__(self):
254 return "<C wxDragImage instance at %s>" % (self.this,)
255class wxDragImage(wxDragImagePtr):
256 def __init__(self,*_args,**_kwargs):
257 self.this = apply(misc2c.new_wxDragImage,_args,_kwargs)
258 self.thisown = 1
259
260
261
cdf14688
RD
262def wxDragIcon(*_args,**_kwargs):
263 val = wxDragImagePtr(apply(misc2c.new_wxDragIcon,_args,_kwargs))
264 val.thisown = 1
265 return val
266
267def wxDragString(*_args,**_kwargs):
268 val = wxDragImagePtr(apply(misc2c.new_wxDragString,_args,_kwargs))
269 val.thisown = 1
270 return val
271
272def wxDragTreeItem(*_args,**_kwargs):
273 val = wxDragImagePtr(apply(misc2c.new_wxDragTreeItem,_args,_kwargs))
274 val.thisown = 1
275 return val
276
277def wxDragListItem(*_args,**_kwargs):
278 val = wxDragImagePtr(apply(misc2c.new_wxDragListItem,_args,_kwargs))
279 val.thisown = 1
280 return val
281
f6bcfd97 282
9416aa89 283class wxPyTimerPtr(wxObjectPtr):
f6bcfd97
BP
284 def __init__(self,this):
285 self.this = this
286 self.thisown = 0
287 def __del__(self,misc2c=misc2c):
288 if self.thisown == 1 :
289 misc2c.delete_wxPyTimer(self)
290 def GetInterval(self, *_args, **_kwargs):
291 val = apply(misc2c.wxPyTimer_GetInterval,(self,) + _args, _kwargs)
292 return val
293 def IsOneShot(self, *_args, **_kwargs):
294 val = apply(misc2c.wxPyTimer_IsOneShot,(self,) + _args, _kwargs)
295 return val
296 def IsRunning(self, *_args, **_kwargs):
297 val = apply(misc2c.wxPyTimer_IsRunning,(self,) + _args, _kwargs)
298 return val
299 def SetOwner(self, *_args, **_kwargs):
300 val = apply(misc2c.wxPyTimer_SetOwner,(self,) + _args, _kwargs)
301 return val
302 def Start(self, *_args, **_kwargs):
303 val = apply(misc2c.wxPyTimer_Start,(self,) + _args, _kwargs)
304 return val
305 def Stop(self, *_args, **_kwargs):
306 val = apply(misc2c.wxPyTimer_Stop,(self,) + _args, _kwargs)
307 return val
308 def __repr__(self):
309 return "<C wxPyTimer instance at %s>" % (self.this,)
310class wxPyTimer(wxPyTimerPtr):
311 def __init__(self,*_args,**_kwargs):
312 self.this = apply(misc2c.new_wxPyTimer,_args,_kwargs)
313 self.thisown = 1
314
315
316
317
b37c7e1d
RD
318class wxStopWatchPtr :
319 def __init__(self,this):
320 self.this = this
321 self.thisown = 0
322 def Start(self, *_args, **_kwargs):
323 val = apply(misc2c.wxStopWatch_Start,(self,) + _args, _kwargs)
324 return val
325 def Pause(self, *_args, **_kwargs):
326 val = apply(misc2c.wxStopWatch_Pause,(self,) + _args, _kwargs)
327 return val
328 def Resume(self, *_args, **_kwargs):
329 val = apply(misc2c.wxStopWatch_Resume,(self,) + _args, _kwargs)
330 return val
331 def Time(self, *_args, **_kwargs):
332 val = apply(misc2c.wxStopWatch_Time,(self,) + _args, _kwargs)
333 return val
334 def __repr__(self):
335 return "<C wxStopWatch instance at %s>" % (self.this,)
336class wxStopWatch(wxStopWatchPtr):
337 def __init__(self,*_args,**_kwargs):
338 self.this = apply(misc2c.new_wxStopWatch,_args,_kwargs)
339 self.thisown = 1
340
341
342
343
f6bcfd97
BP
344class wxLogPtr :
345 def __init__(self,this):
346 self.this = this
347 self.thisown = 0
348 def Flush(self, *_args, **_kwargs):
349 val = apply(misc2c.wxLog_Flush,(self,) + _args, _kwargs)
350 return val
351 def HasPendingMessages(self, *_args, **_kwargs):
352 val = apply(misc2c.wxLog_HasPendingMessages,(self,) + _args, _kwargs)
353 return val
354 def SetVerbose(self, *_args, **_kwargs):
355 val = apply(misc2c.wxLog_SetVerbose,(self,) + _args, _kwargs)
356 return val
357 def GetVerbose(self, *_args, **_kwargs):
358 val = apply(misc2c.wxLog_GetVerbose,(self,) + _args, _kwargs)
359 return val
76bfdc78
RD
360 def TimeStamp(self, *_args, **_kwargs):
361 val = apply(misc2c.wxLog_TimeStamp,(self,) + _args, _kwargs)
362 return val
f6bcfd97
BP
363 def __repr__(self):
364 return "<C wxLog instance at %s>" % (self.this,)
365class wxLog(wxLogPtr):
366 def __init__(self,*_args,**_kwargs):
367 self.this = apply(misc2c.new_wxLog,_args,_kwargs)
368 self.thisown = 1
369
370
371
372
373class wxLogStderrPtr(wxLogPtr):
374 def __init__(self,this):
375 self.this = this
376 self.thisown = 0
377 def __repr__(self):
378 return "<C wxLogStderr instance at %s>" % (self.this,)
379class wxLogStderr(wxLogStderrPtr):
380 def __init__(self,*_args,**_kwargs):
381 self.this = apply(misc2c.new_wxLogStderr,_args,_kwargs)
382 self.thisown = 1
383
384
385
386
387class wxLogTextCtrlPtr(wxLogPtr):
388 def __init__(self,this):
389 self.this = this
390 self.thisown = 0
391 def __repr__(self):
392 return "<C wxLogTextCtrl instance at %s>" % (self.this,)
393class wxLogTextCtrl(wxLogTextCtrlPtr):
394 def __init__(self,*_args,**_kwargs):
395 self.this = apply(misc2c.new_wxLogTextCtrl,_args,_kwargs)
396 self.thisown = 1
397
398
399
400
401class wxLogGuiPtr(wxLogPtr):
402 def __init__(self,this):
403 self.this = this
404 self.thisown = 0
405 def __repr__(self):
406 return "<C wxLogGui instance at %s>" % (self.this,)
407class wxLogGui(wxLogGuiPtr):
408 def __init__(self,*_args,**_kwargs):
409 self.this = apply(misc2c.new_wxLogGui,_args,_kwargs)
410 self.thisown = 1
411
412
413
414
415class wxLogWindowPtr(wxLogPtr):
416 def __init__(self,this):
417 self.this = this
418 self.thisown = 0
419 def Show(self, *_args, **_kwargs):
420 val = apply(misc2c.wxLogWindow_Show,(self,) + _args, _kwargs)
421 return val
422 def GetFrame(self, *_args, **_kwargs):
423 val = apply(misc2c.wxLogWindow_GetFrame,(self,) + _args, _kwargs)
f6bcfd97
BP
424 return val
425 def GetOldLog(self, *_args, **_kwargs):
426 val = apply(misc2c.wxLogWindow_GetOldLog,(self,) + _args, _kwargs)
427 if val: val = wxLogPtr(val)
428 return val
429 def IsPassingMessages(self, *_args, **_kwargs):
430 val = apply(misc2c.wxLogWindow_IsPassingMessages,(self,) + _args, _kwargs)
431 return val
432 def PassMessages(self, *_args, **_kwargs):
433 val = apply(misc2c.wxLogWindow_PassMessages,(self,) + _args, _kwargs)
434 return val
435 def __repr__(self):
436 return "<C wxLogWindow instance at %s>" % (self.this,)
437class wxLogWindow(wxLogWindowPtr):
438 def __init__(self,*_args,**_kwargs):
439 self.this = apply(misc2c.new_wxLogWindow,_args,_kwargs)
440 self.thisown = 1
441
442
443
444
445class wxLogNullPtr :
446 def __init__(self,this):
447 self.this = this
448 self.thisown = 0
449 def __del__(self,misc2c=misc2c):
450 if self.thisown == 1 :
451 misc2c.delete_wxLogNull(self)
452 def __repr__(self):
453 return "<C wxLogNull instance at %s>" % (self.this,)
454class wxLogNull(wxLogNullPtr):
455 def __init__(self,*_args,**_kwargs):
456 self.this = apply(misc2c.new_wxLogNull,_args,_kwargs)
457 self.thisown = 1
458
459
460
461
76bfdc78
RD
462class wxLogChainPtr(wxLogPtr):
463 def __init__(self,this):
464 self.this = this
465 self.thisown = 0
466 def SetLog(self, *_args, **_kwargs):
467 val = apply(misc2c.wxLogChain_SetLog,(self,) + _args, _kwargs)
468 return val
469 def PassMessages(self, *_args, **_kwargs):
470 val = apply(misc2c.wxLogChain_PassMessages,(self,) + _args, _kwargs)
471 return val
472 def IsPassingMessages(self, *_args, **_kwargs):
473 val = apply(misc2c.wxLogChain_IsPassingMessages,(self,) + _args, _kwargs)
474 return val
475 def GetOldLog(self, *_args, **_kwargs):
476 val = apply(misc2c.wxLogChain_GetOldLog,(self,) + _args, _kwargs)
477 if val: val = wxLogPtr(val)
478 return val
479 def __repr__(self):
480 return "<C wxLogChain instance at %s>" % (self.this,)
481class wxLogChain(wxLogChainPtr):
482 def __init__(self,*_args,**_kwargs):
483 self.this = apply(misc2c.new_wxLogChain,_args,_kwargs)
484 self.thisown = 1
485
486
487
488
489class wxPyLogPtr(wxLogPtr):
490 def __init__(self,this):
491 self.this = this
492 self.thisown = 0
0122b7e3
RD
493 def _setCallbackInfo(self, *_args, **_kwargs):
494 val = apply(misc2c.wxPyLog__setCallbackInfo,(self,) + _args, _kwargs)
76bfdc78
RD
495 return val
496 def Destroy(self, *_args, **_kwargs):
497 val = apply(misc2c.wxPyLog_Destroy,(self,) + _args, _kwargs)
498 return val
499 def __repr__(self):
500 return "<C wxPyLog instance at %s>" % (self.this,)
501class wxPyLog(wxPyLogPtr):
502 def __init__(self,*_args,**_kwargs):
503 self.this = apply(misc2c.new_wxPyLog,_args,_kwargs)
504 self.thisown = 1
0122b7e3 505 self._setCallbackInfo(self, wxPyLog)
76bfdc78
RD
506
507
508
509
c368d904
RD
510class wxProcessEventPtr(wxEventPtr):
511 def __init__(self,this):
512 self.this = this
513 self.thisown = 0
514 def GetPid(self, *_args, **_kwargs):
515 val = apply(misc2c.wxProcessEvent_GetPid,(self,) + _args, _kwargs)
516 return val
517 def GetExitCode(self, *_args, **_kwargs):
518 val = apply(misc2c.wxProcessEvent_GetExitCode,(self,) + _args, _kwargs)
519 return val
520 def __setattr__(self,name,value):
521 if name == "m_pid" :
522 misc2c.wxProcessEvent_m_pid_set(self,value)
523 return
524 if name == "m_exitcode" :
525 misc2c.wxProcessEvent_m_exitcode_set(self,value)
526 return
527 self.__dict__[name] = value
528 def __getattr__(self,name):
529 if name == "m_pid" :
530 return misc2c.wxProcessEvent_m_pid_get(self)
531 if name == "m_exitcode" :
532 return misc2c.wxProcessEvent_m_exitcode_get(self)
533 raise AttributeError,name
534 def __repr__(self):
535 return "<C wxProcessEvent instance at %s>" % (self.this,)
536class wxProcessEvent(wxProcessEventPtr):
537 def __init__(self,*_args,**_kwargs):
538 self.this = apply(misc2c.new_wxProcessEvent,_args,_kwargs)
539 self.thisown = 1
540
541
542
543
544class wxProcessPtr(wxEvtHandlerPtr):
545 def __init__(self,this):
546 self.this = this
547 self.thisown = 0
548 def Destroy(self, *_args, **_kwargs):
549 val = apply(misc2c.wxProcess_Destroy,(self,) + _args, _kwargs)
550 return val
0122b7e3
RD
551 def _setCallbackInfo(self, *_args, **_kwargs):
552 val = apply(misc2c.wxProcess__setCallbackInfo,(self,) + _args, _kwargs)
c368d904
RD
553 return val
554 def base_OnTerminate(self, *_args, **_kwargs):
555 val = apply(misc2c.wxProcess_base_OnTerminate,(self,) + _args, _kwargs)
556 return val
557 def Redirect(self, *_args, **_kwargs):
558 val = apply(misc2c.wxProcess_Redirect,(self,) + _args, _kwargs)
559 return val
560 def IsRedirected(self, *_args, **_kwargs):
561 val = apply(misc2c.wxProcess_IsRedirected,(self,) + _args, _kwargs)
562 return val
563 def Detach(self, *_args, **_kwargs):
564 val = apply(misc2c.wxProcess_Detach,(self,) + _args, _kwargs)
565 return val
566 def GetInputStream(self, *_args, **_kwargs):
567 val = apply(misc2c.wxProcess_GetInputStream,(self,) + _args, _kwargs)
568 return val
569 def GetErrorStream(self, *_args, **_kwargs):
570 val = apply(misc2c.wxProcess_GetErrorStream,(self,) + _args, _kwargs)
571 return val
572 def GetOutputStream(self, *_args, **_kwargs):
573 val = apply(misc2c.wxProcess_GetOutputStream,(self,) + _args, _kwargs)
574 if val: val = wxOutputStreamPtr(val)
575 return val
576 def CloseOutput(self, *_args, **_kwargs):
577 val = apply(misc2c.wxProcess_CloseOutput,(self,) + _args, _kwargs)
578 return val
579 def __repr__(self):
580 return "<C wxProcess instance at %s>" % (self.this,)
581class wxProcess(wxProcessPtr):
582 def __init__(self,*_args,**_kwargs):
583 self.this = apply(misc2c.new_wxProcess,_args,_kwargs)
584 self.thisown = 1
0122b7e3 585 self._setCallbackInfo(self, wxProcess)
c368d904
RD
586
587
588
589
9416aa89 590class wxJoystickPtr(wxObjectPtr):
185d7c3e
RD
591 def __init__(self,this):
592 self.this = this
593 self.thisown = 0
ac346f50
RD
594 def __del__(self,misc2c=misc2c):
595 if self.thisown == 1 :
596 misc2c.delete_wxJoystick(self)
185d7c3e
RD
597 def GetPosition(self, *_args, **_kwargs):
598 val = apply(misc2c.wxJoystick_GetPosition,(self,) + _args, _kwargs)
599 if val: val = wxPointPtr(val) ; val.thisown = 1
600 return val
601 def GetZPosition(self, *_args, **_kwargs):
602 val = apply(misc2c.wxJoystick_GetZPosition,(self,) + _args, _kwargs)
603 return val
604 def GetButtonState(self, *_args, **_kwargs):
605 val = apply(misc2c.wxJoystick_GetButtonState,(self,) + _args, _kwargs)
606 return val
607 def GetPOVPosition(self, *_args, **_kwargs):
608 val = apply(misc2c.wxJoystick_GetPOVPosition,(self,) + _args, _kwargs)
609 return val
610 def GetPOVCTSPosition(self, *_args, **_kwargs):
611 val = apply(misc2c.wxJoystick_GetPOVCTSPosition,(self,) + _args, _kwargs)
612 return val
613 def GetRudderPosition(self, *_args, **_kwargs):
614 val = apply(misc2c.wxJoystick_GetRudderPosition,(self,) + _args, _kwargs)
615 return val
616 def GetUPosition(self, *_args, **_kwargs):
617 val = apply(misc2c.wxJoystick_GetUPosition,(self,) + _args, _kwargs)
618 return val
619 def GetVPosition(self, *_args, **_kwargs):
620 val = apply(misc2c.wxJoystick_GetVPosition,(self,) + _args, _kwargs)
621 return val
622 def GetMovementThreshold(self, *_args, **_kwargs):
623 val = apply(misc2c.wxJoystick_GetMovementThreshold,(self,) + _args, _kwargs)
624 return val
625 def SetMovementThreshold(self, *_args, **_kwargs):
626 val = apply(misc2c.wxJoystick_SetMovementThreshold,(self,) + _args, _kwargs)
627 return val
628 def IsOk(self, *_args, **_kwargs):
629 val = apply(misc2c.wxJoystick_IsOk,(self,) + _args, _kwargs)
630 return val
631 def GetNumberJoysticks(self, *_args, **_kwargs):
632 val = apply(misc2c.wxJoystick_GetNumberJoysticks,(self,) + _args, _kwargs)
633 return val
634 def GetManufacturerId(self, *_args, **_kwargs):
635 val = apply(misc2c.wxJoystick_GetManufacturerId,(self,) + _args, _kwargs)
636 return val
637 def GetProductId(self, *_args, **_kwargs):
638 val = apply(misc2c.wxJoystick_GetProductId,(self,) + _args, _kwargs)
639 return val
640 def GetProductName(self, *_args, **_kwargs):
641 val = apply(misc2c.wxJoystick_GetProductName,(self,) + _args, _kwargs)
642 return val
643 def GetXMin(self, *_args, **_kwargs):
644 val = apply(misc2c.wxJoystick_GetXMin,(self,) + _args, _kwargs)
645 return val
646 def GetYMin(self, *_args, **_kwargs):
647 val = apply(misc2c.wxJoystick_GetYMin,(self,) + _args, _kwargs)
648 return val
649 def GetZMin(self, *_args, **_kwargs):
650 val = apply(misc2c.wxJoystick_GetZMin,(self,) + _args, _kwargs)
651 return val
652 def GetXMax(self, *_args, **_kwargs):
653 val = apply(misc2c.wxJoystick_GetXMax,(self,) + _args, _kwargs)
654 return val
655 def GetYMax(self, *_args, **_kwargs):
656 val = apply(misc2c.wxJoystick_GetYMax,(self,) + _args, _kwargs)
657 return val
658 def GetZMax(self, *_args, **_kwargs):
659 val = apply(misc2c.wxJoystick_GetZMax,(self,) + _args, _kwargs)
660 return val
661 def GetNumberButtons(self, *_args, **_kwargs):
662 val = apply(misc2c.wxJoystick_GetNumberButtons,(self,) + _args, _kwargs)
663 return val
664 def GetNumberAxes(self, *_args, **_kwargs):
665 val = apply(misc2c.wxJoystick_GetNumberAxes,(self,) + _args, _kwargs)
666 return val
667 def GetMaxButtons(self, *_args, **_kwargs):
668 val = apply(misc2c.wxJoystick_GetMaxButtons,(self,) + _args, _kwargs)
669 return val
670 def GetMaxAxes(self, *_args, **_kwargs):
671 val = apply(misc2c.wxJoystick_GetMaxAxes,(self,) + _args, _kwargs)
672 return val
673 def GetPollingMin(self, *_args, **_kwargs):
674 val = apply(misc2c.wxJoystick_GetPollingMin,(self,) + _args, _kwargs)
675 return val
676 def GetPollingMax(self, *_args, **_kwargs):
677 val = apply(misc2c.wxJoystick_GetPollingMax,(self,) + _args, _kwargs)
678 return val
679 def GetRudderMin(self, *_args, **_kwargs):
680 val = apply(misc2c.wxJoystick_GetRudderMin,(self,) + _args, _kwargs)
681 return val
682 def GetRudderMax(self, *_args, **_kwargs):
683 val = apply(misc2c.wxJoystick_GetRudderMax,(self,) + _args, _kwargs)
684 return val
685 def GetUMin(self, *_args, **_kwargs):
686 val = apply(misc2c.wxJoystick_GetUMin,(self,) + _args, _kwargs)
687 return val
688 def GetUMax(self, *_args, **_kwargs):
689 val = apply(misc2c.wxJoystick_GetUMax,(self,) + _args, _kwargs)
690 return val
691 def GetVMin(self, *_args, **_kwargs):
692 val = apply(misc2c.wxJoystick_GetVMin,(self,) + _args, _kwargs)
693 return val
694 def GetVMax(self, *_args, **_kwargs):
695 val = apply(misc2c.wxJoystick_GetVMax,(self,) + _args, _kwargs)
696 return val
697 def HasRudder(self, *_args, **_kwargs):
698 val = apply(misc2c.wxJoystick_HasRudder,(self,) + _args, _kwargs)
699 return val
700 def HasZ(self, *_args, **_kwargs):
701 val = apply(misc2c.wxJoystick_HasZ,(self,) + _args, _kwargs)
702 return val
703 def HasU(self, *_args, **_kwargs):
704 val = apply(misc2c.wxJoystick_HasU,(self,) + _args, _kwargs)
705 return val
706 def HasV(self, *_args, **_kwargs):
707 val = apply(misc2c.wxJoystick_HasV,(self,) + _args, _kwargs)
708 return val
709 def HasPOV(self, *_args, **_kwargs):
710 val = apply(misc2c.wxJoystick_HasPOV,(self,) + _args, _kwargs)
711 return val
712 def HasPOV4Dir(self, *_args, **_kwargs):
713 val = apply(misc2c.wxJoystick_HasPOV4Dir,(self,) + _args, _kwargs)
714 return val
715 def HasPOVCTS(self, *_args, **_kwargs):
716 val = apply(misc2c.wxJoystick_HasPOVCTS,(self,) + _args, _kwargs)
717 return val
718 def SetCapture(self, *_args, **_kwargs):
719 val = apply(misc2c.wxJoystick_SetCapture,(self,) + _args, _kwargs)
720 return val
721 def ReleaseCapture(self, *_args, **_kwargs):
722 val = apply(misc2c.wxJoystick_ReleaseCapture,(self,) + _args, _kwargs)
723 return val
724 def __repr__(self):
725 return "<C wxJoystick instance at %s>" % (self.this,)
726class wxJoystick(wxJoystickPtr):
727 def __init__(self,*_args,**_kwargs):
728 self.this = apply(misc2c.new_wxJoystick,_args,_kwargs)
729 self.thisown = 1
730
731
732
733
493f1553
RD
734class wxWavePtr(wxObjectPtr):
735 def __init__(self,this):
736 self.this = this
737 self.thisown = 0
738 def __del__(self,misc2c=misc2c):
739 if self.thisown == 1 :
740 misc2c.delete_wxWave(self)
741 def IsOk(self, *_args, **_kwargs):
742 val = apply(misc2c.wxWave_IsOk,(self,) + _args, _kwargs)
743 return val
744 def Play(self, *_args, **_kwargs):
745 val = apply(misc2c.wxWave_Play,(self,) + _args, _kwargs)
746 return val
747 def __repr__(self):
748 return "<C wxWave instance at %s>" % (self.this,)
749class wxWave(wxWavePtr):
750 def __init__(self,*_args,**_kwargs):
751 self.this = apply(misc2c.new_wxWave,_args,_kwargs)
752 self.thisown = 1
753
754
755
756
b37c7e1d
RD
757class wxFileTypeInfoPtr :
758 def __init__(self,this):
759 self.this = this
760 self.thisown = 0
761 def IsValid(self, *_args, **_kwargs):
762 val = apply(misc2c.wxFileTypeInfo_IsValid,(self,) + _args, _kwargs)
763 return val
764 def SetIcon(self, *_args, **_kwargs):
765 val = apply(misc2c.wxFileTypeInfo_SetIcon,(self,) + _args, _kwargs)
766 return val
767 def SetShortDesc(self, *_args, **_kwargs):
768 val = apply(misc2c.wxFileTypeInfo_SetShortDesc,(self,) + _args, _kwargs)
769 return val
770 def GetMimeType(self, *_args, **_kwargs):
771 val = apply(misc2c.wxFileTypeInfo_GetMimeType,(self,) + _args, _kwargs)
772 return val
773 def GetOpenCommand(self, *_args, **_kwargs):
774 val = apply(misc2c.wxFileTypeInfo_GetOpenCommand,(self,) + _args, _kwargs)
775 return val
776 def GetPrintCommand(self, *_args, **_kwargs):
777 val = apply(misc2c.wxFileTypeInfo_GetPrintCommand,(self,) + _args, _kwargs)
778 return val
779 def GetShortDesc(self, *_args, **_kwargs):
780 val = apply(misc2c.wxFileTypeInfo_GetShortDesc,(self,) + _args, _kwargs)
781 return val
782 def GetDescription(self, *_args, **_kwargs):
783 val = apply(misc2c.wxFileTypeInfo_GetDescription,(self,) + _args, _kwargs)
784 return val
785 def GetExtensions(self, *_args, **_kwargs):
786 val = apply(misc2c.wxFileTypeInfo_GetExtensions,(self,) + _args, _kwargs)
787 return val
788 def GetExtensionsCount(self, *_args, **_kwargs):
789 val = apply(misc2c.wxFileTypeInfo_GetExtensionsCount,(self,) + _args, _kwargs)
790 return val
791 def GetIconFile(self, *_args, **_kwargs):
792 val = apply(misc2c.wxFileTypeInfo_GetIconFile,(self,) + _args, _kwargs)
793 return val
794 def GetIconIndex(self, *_args, **_kwargs):
795 val = apply(misc2c.wxFileTypeInfo_GetIconIndex,(self,) + _args, _kwargs)
796 return val
797 def __repr__(self):
798 return "<C wxFileTypeInfo instance at %s>" % (self.this,)
799class wxFileTypeInfo(wxFileTypeInfoPtr):
800 def __init__(self,*_args,**_kwargs):
801 self.this = apply(misc2c.new_wxFileTypeInfo,_args,_kwargs)
802 self.thisown = 1
803
804
805
806def wxFileTypeInfoSequence(*_args,**_kwargs):
807 val = wxFileTypeInfoPtr(apply(misc2c.new_wxFileTypeInfoSequence,_args,_kwargs))
808 val.thisown = 1
809 return val
810
811def wxNullFileTypeInfo(*_args,**_kwargs):
812 val = wxFileTypeInfoPtr(apply(misc2c.new_wxNullFileTypeInfo,_args,_kwargs))
813 val.thisown = 1
814 return val
815
816
817class wxFileTypePtr :
818 def __init__(self,this):
819 self.this = this
820 self.thisown = 0
821 def GetMimeType(self, *_args, **_kwargs):
822 val = apply(misc2c.wxFileType_GetMimeType,(self,) + _args, _kwargs)
823 return val
824 def GetMimeTypes(self, *_args, **_kwargs):
825 val = apply(misc2c.wxFileType_GetMimeTypes,(self,) + _args, _kwargs)
826 return val
827 def GetExtensions(self, *_args, **_kwargs):
828 val = apply(misc2c.wxFileType_GetExtensions,(self,) + _args, _kwargs)
829 return val
830 def GetIcon(self, *_args, **_kwargs):
831 val = apply(misc2c.wxFileType_GetIcon,(self,) + _args, _kwargs)
832 if val: val = wxIconPtr(val) ; val.thisown = 1
833 return val
834 def GetIconInfo(self, *_args, **_kwargs):
835 val = apply(misc2c.wxFileType_GetIconInfo,(self,) + _args, _kwargs)
836 return val
837 def GetDescription(self, *_args, **_kwargs):
838 val = apply(misc2c.wxFileType_GetDescription,(self,) + _args, _kwargs)
839 return val
840 def GetOpenCommand(self, *_args, **_kwargs):
841 val = apply(misc2c.wxFileType_GetOpenCommand,(self,) + _args, _kwargs)
842 return val
843 def GetPrintCommand(self, *_args, **_kwargs):
844 val = apply(misc2c.wxFileType_GetPrintCommand,(self,) + _args, _kwargs)
845 return val
846 def GetAllCommands(self, *_args, **_kwargs):
847 val = apply(misc2c.wxFileType_GetAllCommands,(self,) + _args, _kwargs)
848 return val
849 def SetCommand(self, *_args, **_kwargs):
850 val = apply(misc2c.wxFileType_SetCommand,(self,) + _args, _kwargs)
851 return val
852 def SetDefaultIcon(self, *_args, **_kwargs):
853 val = apply(misc2c.wxFileType_SetDefaultIcon,(self,) + _args, _kwargs)
854 return val
855 def Unassociate(self, *_args, **_kwargs):
856 val = apply(misc2c.wxFileType_Unassociate,(self,) + _args, _kwargs)
857 return val
858 def __del__(self,misc2c=misc2c):
859 if self.thisown == 1 :
860 misc2c.delete_wxFileType(self)
861 def __repr__(self):
862 return "<C wxFileType instance at %s>" % (self.this,)
863class wxFileType(wxFileTypePtr):
864 def __init__(self,*_args,**_kwargs):
865 self.this = apply(misc2c.new_wxFileType,_args,_kwargs)
866 self.thisown = 1
867
868
869
870
871class wxMimeTypesManagerPtr :
872 def __init__(self,this):
873 self.this = this
874 self.thisown = 0
875 def Initialize(self, *_args, **_kwargs):
876 val = apply(misc2c.wxMimeTypesManager_Initialize,(self,) + _args, _kwargs)
877 return val
878 def ClearData(self, *_args, **_kwargs):
879 val = apply(misc2c.wxMimeTypesManager_ClearData,(self,) + _args, _kwargs)
880 return val
881 def GetFileTypeFromExtension(self, *_args, **_kwargs):
882 val = apply(misc2c.wxMimeTypesManager_GetFileTypeFromExtension,(self,) + _args, _kwargs)
883 if val: val = wxFileTypePtr(val) ; val.thisown = 1
884 return val
885 def GetFileTypeFromMimeType(self, *_args, **_kwargs):
886 val = apply(misc2c.wxMimeTypesManager_GetFileTypeFromMimeType,(self,) + _args, _kwargs)
887 if val: val = wxFileTypePtr(val) ; val.thisown = 1
888 return val
889 def ReadMailcap(self, *_args, **_kwargs):
890 val = apply(misc2c.wxMimeTypesManager_ReadMailcap,(self,) + _args, _kwargs)
891 return val
892 def ReadMimeTypes(self, *_args, **_kwargs):
893 val = apply(misc2c.wxMimeTypesManager_ReadMimeTypes,(self,) + _args, _kwargs)
894 return val
895 def EnumAllFileTypes(self, *_args, **_kwargs):
896 val = apply(misc2c.wxMimeTypesManager_EnumAllFileTypes,(self,) + _args, _kwargs)
897 return val
898 def AddFallback(self, *_args, **_kwargs):
899 val = apply(misc2c.wxMimeTypesManager_AddFallback,(self,) + _args, _kwargs)
900 return val
901 def Associate(self, *_args, **_kwargs):
902 val = apply(misc2c.wxMimeTypesManager_Associate,(self,) + _args, _kwargs)
903 if val: val = wxFileTypePtr(val) ; val.thisown = 1
904 return val
905 def Unassociate(self, *_args, **_kwargs):
906 val = apply(misc2c.wxMimeTypesManager_Unassociate,(self,) + _args, _kwargs)
907 return val
908 def __del__(self,misc2c=misc2c):
909 if self.thisown == 1 :
910 misc2c.delete_wxMimeTypesManager(self)
911 def __repr__(self):
912 return "<C wxMimeTypesManager instance at %s>" % (self.this,)
913class wxMimeTypesManager(wxMimeTypesManagerPtr):
914 def __init__(self,*_args,**_kwargs):
915 self.this = apply(misc2c.new_wxMimeTypesManager,_args,_kwargs)
916 self.thisown = 1
917
918
919
920
7dbce44a
RD
921class wxFileHistoryPtr(wxObjectPtr):
922 def __init__(self,this):
923 self.this = this
924 self.thisown = 0
925 def __del__(self,misc2c=misc2c):
926 if self.thisown == 1 :
927 misc2c.delete_wxFileHistory(self)
928 def AddFileToHistory(self, *_args, **_kwargs):
929 val = apply(misc2c.wxFileHistory_AddFileToHistory,(self,) + _args, _kwargs)
930 return val
931 def RemoveFileFromHistory(self, *_args, **_kwargs):
932 val = apply(misc2c.wxFileHistory_RemoveFileFromHistory,(self,) + _args, _kwargs)
933 return val
934 def GetMaxFiles(self, *_args, **_kwargs):
935 val = apply(misc2c.wxFileHistory_GetMaxFiles,(self,) + _args, _kwargs)
936 return val
937 def UseMenu(self, *_args, **_kwargs):
938 val = apply(misc2c.wxFileHistory_UseMenu,(self,) + _args, _kwargs)
939 return val
940 def RemoveMenu(self, *_args, **_kwargs):
941 val = apply(misc2c.wxFileHistory_RemoveMenu,(self,) + _args, _kwargs)
942 return val
943 def Load(self, *_args, **_kwargs):
944 val = apply(misc2c.wxFileHistory_Load,(self,) + _args, _kwargs)
945 return val
946 def Save(self, *_args, **_kwargs):
947 val = apply(misc2c.wxFileHistory_Save,(self,) + _args, _kwargs)
948 return val
949 def AddFilesToMenu(self, *_args, **_kwargs):
950 val = apply(misc2c.wxFileHistory_AddFilesToMenu,(self,) + _args, _kwargs)
951 return val
952 def AddFilesToSingleMenu(self, *_args, **_kwargs):
953 val = apply(misc2c.wxFileHistory_AddFilesToSingleMenu,(self,) + _args, _kwargs)
954 return val
955 def GetHistoryFile(self, *_args, **_kwargs):
956 val = apply(misc2c.wxFileHistory_GetHistoryFile,(self,) + _args, _kwargs)
957 return val
958 def GetCount(self, *_args, **_kwargs):
959 val = apply(misc2c.wxFileHistory_GetCount,(self,) + _args, _kwargs)
960 return val
961 def GetNoHistoryFiles(self, *_args, **_kwargs):
962 val = apply(misc2c.wxFileHistory_GetNoHistoryFiles,(self,) + _args, _kwargs)
963 return val
964 def __repr__(self):
965 return "<C wxFileHistory instance at %s>" % (self.this,)
966class wxFileHistory(wxFileHistoryPtr):
967 def __init__(self,*_args,**_kwargs):
968 self.this = apply(misc2c.new_wxFileHistory,_args,_kwargs)
969 self.thisown = 1
970
971
972
973
d24a34bb
RD
974
975
976#-------------- FUNCTION WRAPPERS ------------------
977
bc29c5e0
RD
978wxFileSelector = misc2c.wxFileSelector
979
980wxGetTextFromUser = misc2c.wxGetTextFromUser
981
1b62f00d
RD
982wxGetPasswordFromUser = misc2c.wxGetPasswordFromUser
983
bc29c5e0
RD
984wxGetSingleChoice = misc2c.wxGetSingleChoice
985
986wxGetSingleChoiceIndex = misc2c.wxGetSingleChoiceIndex
987
988wxMessageBox = misc2c.wxMessageBox
989
990wxGetNumberFromUser = misc2c.wxGetNumberFromUser
991
992wxColourDisplay = misc2c.wxColourDisplay
993
994wxDisplayDepth = misc2c.wxDisplayDepth
995
1e7ecb7b
RD
996wxGetDisplayDepth = misc2c.wxGetDisplayDepth
997
998wxDisplaySize = misc2c.wxDisplaySize
999
1000def wxGetDisplaySize(*_args, **_kwargs):
1001 val = apply(misc2c.wxGetDisplaySize,_args,_kwargs)
1002 if val: val = wxSizePtr(val); val.thisown = 1
1003 return val
1004
1005wxDisplaySizeMM = misc2c.wxDisplaySizeMM
1006
1007def wxGetDisplaySizeMM(*_args, **_kwargs):
1008 val = apply(misc2c.wxGetDisplaySizeMM,_args,_kwargs)
1009 if val: val = wxSizePtr(val); val.thisown = 1
1010 return val
1011
91c41b30
RD
1012wxClientDisplayRect = misc2c.wxClientDisplayRect
1013
1014def wxGetClientDisplayRect(*_args, **_kwargs):
1015 val = apply(misc2c.wxGetClientDisplayRect,_args,_kwargs)
1016 if val: val = wxRectPtr(val); val.thisown = 1
1017 return val
1018
bc29c5e0
RD
1019wxSetCursor = misc2c.wxSetCursor
1020
2d091820
RD
1021def wxFindWindowByLabel(*_args, **_kwargs):
1022 val = apply(misc2c.wxFindWindowByLabel,_args,_kwargs)
d24a34bb
RD
1023 return val
1024
2d091820
RD
1025def wxFindWindowByName(*_args, **_kwargs):
1026 val = apply(misc2c.wxFindWindowByName,_args,_kwargs)
d24a34bb
RD
1027 return val
1028
bc29c5e0
RD
1029wxBeginBusyCursor = misc2c.wxBeginBusyCursor
1030
1031def wxGetActiveWindow(*_args, **_kwargs):
1032 val = apply(misc2c.wxGetActiveWindow,_args,_kwargs)
bc29c5e0
RD
1033 return val
1034
493f1553
RD
1035def wxGenericFindWindowAtPoint(*_args, **_kwargs):
1036 val = apply(misc2c.wxGenericFindWindowAtPoint,_args,_kwargs)
1037 return val
1038
1039def wxFindWindowAtPoint(*_args, **_kwargs):
1040 val = apply(misc2c.wxFindWindowAtPoint,_args,_kwargs)
1041 return val
1042
1043wxCheckForInterrupt = misc2c.wxCheckForInterrupt
1044
25832b3f
RD
1045wxFlushEvents = misc2c.wxFlushEvents
1046
bc29c5e0
RD
1047wxResourceAddIdentifier = misc2c.wxResourceAddIdentifier
1048
1049wxResourceClear = misc2c.wxResourceClear
1050
1051def wxResourceCreateBitmap(*_args, **_kwargs):
1052 val = apply(misc2c.wxResourceCreateBitmap,_args,_kwargs)
1053 if val: val = wxBitmapPtr(val); val.thisown = 1
1054 return val
1055
1056def wxResourceCreateIcon(*_args, **_kwargs):
1057 val = apply(misc2c.wxResourceCreateIcon,_args,_kwargs)
1058 if val: val = wxIconPtr(val); val.thisown = 1
1059 return val
1060
1061def wxResourceCreateMenuBar(*_args, **_kwargs):
1062 val = apply(misc2c.wxResourceCreateMenuBar,_args,_kwargs)
bc29c5e0
RD
1063 return val
1064
1065wxResourceGetIdentifier = misc2c.wxResourceGetIdentifier
1066
1067wxResourceParseData = misc2c.wxResourceParseData
1068
1069wxResourceParseFile = misc2c.wxResourceParseFile
1070
1071wxResourceParseString = misc2c.wxResourceParseString
1072
1073def wxSystemSettings_GetSystemColour(*_args, **_kwargs):
1074 val = apply(misc2c.wxSystemSettings_GetSystemColour,_args,_kwargs)
1075 if val: val = wxColourPtr(val); val.thisown = 1
1076 return val
1077
1078def wxSystemSettings_GetSystemFont(*_args, **_kwargs):
1079 val = apply(misc2c.wxSystemSettings_GetSystemFont,_args,_kwargs)
1080 if val: val = wxFontPtr(val); val.thisown = 1
1081 return val
1082
1083wxSystemSettings_GetSystemMetric = misc2c.wxSystemSettings_GetSystemMetric
1084
8f17924e
RD
1085wxCaret_GetBlinkTime = misc2c.wxCaret_GetBlinkTime
1086
1087wxCaret_SetBlinkTime = misc2c.wxCaret_SetBlinkTime
1088
6e18ca6c
RD
1089wxSafeYield = misc2c.wxSafeYield
1090
4120ef2b
RD
1091wxPostEvent = misc2c.wxPostEvent
1092
d29aba2f
RD
1093wxWakeUpIdle = misc2c.wxWakeUpIdle
1094
6e18ca6c
RD
1095wxWakeUpMainThread = misc2c.wxWakeUpMainThread
1096
1097wxMutexGuiEnter = misc2c.wxMutexGuiEnter
1098
1099wxMutexGuiLeave = misc2c.wxMutexGuiLeave
1100
1101wxThread_IsMain = misc2c.wxThread_IsMain
c368d904 1102
f6bcfd97
BP
1103wxShowTip = misc2c.wxShowTip
1104
1105def wxCreateFileTipProvider(*_args, **_kwargs):
1106 val = apply(misc2c.wxCreateFileTipProvider,_args,_kwargs)
1107 if val: val = wxTipProviderPtr(val); val.thisown = 1
1108 return val
1109
f6bcfd97
BP
1110wxSysErrorCode = misc2c.wxSysErrorCode
1111
1112wxSysErrorMsg = misc2c.wxSysErrorMsg
1113
1114wxLogFatalError = misc2c.wxLogFatalError
1115
1116wxLogError = misc2c.wxLogError
1117
1118wxLogWarning = misc2c.wxLogWarning
1119
1120wxLogMessage = misc2c.wxLogMessage
1121
1122wxLogInfo = misc2c.wxLogInfo
1123
1124wxLogVerbose = misc2c.wxLogVerbose
1125
1126wxLogStatus = misc2c.wxLogStatus
1127
1128wxLogStatusFrame = misc2c.wxLogStatusFrame
1129
1130wxLogSysError = misc2c.wxLogSysError
1131
c368d904
RD
1132wxExecute = misc2c.wxExecute
1133
493f1553
RD
1134def wxWaveData(*_args, **_kwargs):
1135 val = apply(misc2c.wxWaveData,_args,_kwargs)
1136 if val: val = wxWavePtr(val); val.thisown = 1
1137 return val
1138
edf2f43e
RD
1139wxToolTip_Enable = misc2c.wxToolTip_Enable
1140
1141wxToolTip_SetDelay = misc2c.wxToolTip_SetDelay
1142
f6bcfd97
BP
1143wxLog_IsEnabled = misc2c.wxLog_IsEnabled
1144
1145wxLog_EnableLogging = misc2c.wxLog_EnableLogging
1146
1147wxLog_OnLog = misc2c.wxLog_OnLog
1148
1149wxLog_FlushActive = misc2c.wxLog_FlushActive
1150
1151def wxLog_GetActiveTarget(*_args, **_kwargs):
1152 val = apply(misc2c.wxLog_GetActiveTarget,_args,_kwargs)
1153 if val: val = wxLogPtr(val)
1154 return val
1155
1156def wxLog_SetActiveTarget(*_args, **_kwargs):
1157 val = apply(misc2c.wxLog_SetActiveTarget,_args,_kwargs)
1158 if val: val = wxLogPtr(val)
1159 return val
1160
1161wxLog_Suspend = misc2c.wxLog_Suspend
1162
1163wxLog_Resume = misc2c.wxLog_Resume
1164
1165wxLog_DontCreateOnDemand = misc2c.wxLog_DontCreateOnDemand
1166
1167wxLog_SetTraceMask = misc2c.wxLog_SetTraceMask
1168
1169wxLog_AddTraceMask = misc2c.wxLog_AddTraceMask
1170
1171wxLog_RemoveTraceMask = misc2c.wxLog_RemoveTraceMask
1172
76bfdc78
RD
1173wxLog_ClearTraceMasks = misc2c.wxLog_ClearTraceMasks
1174
1175wxLog_SetTimestamp = misc2c.wxLog_SetTimestamp
1176
1177wxLog_GetTimestamp = misc2c.wxLog_GetTimestamp
1178
f6bcfd97
BP
1179wxLog_GetTraceMask = misc2c.wxLog_GetTraceMask
1180
1181wxLog_IsAllowedTraceMask = misc2c.wxLog_IsAllowedTraceMask
1182
b37c7e1d
RD
1183wxFileType_ExpandCommand = misc2c.wxFileType_ExpandCommand
1184
1185wxMimeTypesManager_IsOfType = misc2c.wxMimeTypesManager_IsOfType
1186
d24a34bb
RD
1187
1188
1189#-------------- VARIABLE WRAPPERS ------------------
1190
bc29c5e0
RD
1191wxSYS_WHITE_BRUSH = misc2c.wxSYS_WHITE_BRUSH
1192wxSYS_LTGRAY_BRUSH = misc2c.wxSYS_LTGRAY_BRUSH
1193wxSYS_GRAY_BRUSH = misc2c.wxSYS_GRAY_BRUSH
1194wxSYS_DKGRAY_BRUSH = misc2c.wxSYS_DKGRAY_BRUSH
1195wxSYS_BLACK_BRUSH = misc2c.wxSYS_BLACK_BRUSH
1196wxSYS_NULL_BRUSH = misc2c.wxSYS_NULL_BRUSH
1197wxSYS_HOLLOW_BRUSH = misc2c.wxSYS_HOLLOW_BRUSH
1198wxSYS_WHITE_PEN = misc2c.wxSYS_WHITE_PEN
1199wxSYS_BLACK_PEN = misc2c.wxSYS_BLACK_PEN
1200wxSYS_NULL_PEN = misc2c.wxSYS_NULL_PEN
1201wxSYS_OEM_FIXED_FONT = misc2c.wxSYS_OEM_FIXED_FONT
1202wxSYS_ANSI_FIXED_FONT = misc2c.wxSYS_ANSI_FIXED_FONT
1203wxSYS_ANSI_VAR_FONT = misc2c.wxSYS_ANSI_VAR_FONT
1204wxSYS_SYSTEM_FONT = misc2c.wxSYS_SYSTEM_FONT
1205wxSYS_DEVICE_DEFAULT_FONT = misc2c.wxSYS_DEVICE_DEFAULT_FONT
1206wxSYS_DEFAULT_PALETTE = misc2c.wxSYS_DEFAULT_PALETTE
1207wxSYS_SYSTEM_FIXED_FONT = misc2c.wxSYS_SYSTEM_FIXED_FONT
1208wxSYS_DEFAULT_GUI_FONT = misc2c.wxSYS_DEFAULT_GUI_FONT
1209wxSYS_COLOUR_SCROLLBAR = misc2c.wxSYS_COLOUR_SCROLLBAR
1210wxSYS_COLOUR_BACKGROUND = misc2c.wxSYS_COLOUR_BACKGROUND
1211wxSYS_COLOUR_ACTIVECAPTION = misc2c.wxSYS_COLOUR_ACTIVECAPTION
1212wxSYS_COLOUR_INACTIVECAPTION = misc2c.wxSYS_COLOUR_INACTIVECAPTION
1213wxSYS_COLOUR_MENU = misc2c.wxSYS_COLOUR_MENU
1214wxSYS_COLOUR_WINDOW = misc2c.wxSYS_COLOUR_WINDOW
1215wxSYS_COLOUR_WINDOWFRAME = misc2c.wxSYS_COLOUR_WINDOWFRAME
1216wxSYS_COLOUR_MENUTEXT = misc2c.wxSYS_COLOUR_MENUTEXT
1217wxSYS_COLOUR_WINDOWTEXT = misc2c.wxSYS_COLOUR_WINDOWTEXT
1218wxSYS_COLOUR_CAPTIONTEXT = misc2c.wxSYS_COLOUR_CAPTIONTEXT
1219wxSYS_COLOUR_ACTIVEBORDER = misc2c.wxSYS_COLOUR_ACTIVEBORDER
1220wxSYS_COLOUR_INACTIVEBORDER = misc2c.wxSYS_COLOUR_INACTIVEBORDER
1221wxSYS_COLOUR_APPWORKSPACE = misc2c.wxSYS_COLOUR_APPWORKSPACE
1222wxSYS_COLOUR_HIGHLIGHT = misc2c.wxSYS_COLOUR_HIGHLIGHT
1223wxSYS_COLOUR_HIGHLIGHTTEXT = misc2c.wxSYS_COLOUR_HIGHLIGHTTEXT
1224wxSYS_COLOUR_BTNFACE = misc2c.wxSYS_COLOUR_BTNFACE
1225wxSYS_COLOUR_BTNSHADOW = misc2c.wxSYS_COLOUR_BTNSHADOW
1226wxSYS_COLOUR_GRAYTEXT = misc2c.wxSYS_COLOUR_GRAYTEXT
1227wxSYS_COLOUR_BTNTEXT = misc2c.wxSYS_COLOUR_BTNTEXT
1228wxSYS_COLOUR_INACTIVECAPTIONTEXT = misc2c.wxSYS_COLOUR_INACTIVECAPTIONTEXT
1229wxSYS_COLOUR_BTNHIGHLIGHT = misc2c.wxSYS_COLOUR_BTNHIGHLIGHT
1230wxSYS_COLOUR_3DDKSHADOW = misc2c.wxSYS_COLOUR_3DDKSHADOW
1231wxSYS_COLOUR_3DLIGHT = misc2c.wxSYS_COLOUR_3DLIGHT
1232wxSYS_COLOUR_INFOTEXT = misc2c.wxSYS_COLOUR_INFOTEXT
1233wxSYS_COLOUR_INFOBK = misc2c.wxSYS_COLOUR_INFOBK
1234wxSYS_COLOUR_DESKTOP = misc2c.wxSYS_COLOUR_DESKTOP
1235wxSYS_COLOUR_3DFACE = misc2c.wxSYS_COLOUR_3DFACE
1236wxSYS_COLOUR_3DSHADOW = misc2c.wxSYS_COLOUR_3DSHADOW
1237wxSYS_COLOUR_3DHIGHLIGHT = misc2c.wxSYS_COLOUR_3DHIGHLIGHT
1238wxSYS_COLOUR_3DHILIGHT = misc2c.wxSYS_COLOUR_3DHILIGHT
1239wxSYS_COLOUR_BTNHILIGHT = misc2c.wxSYS_COLOUR_BTNHILIGHT
1240wxSYS_MOUSE_BUTTONS = misc2c.wxSYS_MOUSE_BUTTONS
1241wxSYS_BORDER_X = misc2c.wxSYS_BORDER_X
1242wxSYS_BORDER_Y = misc2c.wxSYS_BORDER_Y
1243wxSYS_CURSOR_X = misc2c.wxSYS_CURSOR_X
1244wxSYS_CURSOR_Y = misc2c.wxSYS_CURSOR_Y
1245wxSYS_DCLICK_X = misc2c.wxSYS_DCLICK_X
1246wxSYS_DCLICK_Y = misc2c.wxSYS_DCLICK_Y
1247wxSYS_DRAG_X = misc2c.wxSYS_DRAG_X
1248wxSYS_DRAG_Y = misc2c.wxSYS_DRAG_Y
1249wxSYS_EDGE_X = misc2c.wxSYS_EDGE_X
1250wxSYS_EDGE_Y = misc2c.wxSYS_EDGE_Y
1251wxSYS_HSCROLL_ARROW_X = misc2c.wxSYS_HSCROLL_ARROW_X
1252wxSYS_HSCROLL_ARROW_Y = misc2c.wxSYS_HSCROLL_ARROW_Y
1253wxSYS_HTHUMB_X = misc2c.wxSYS_HTHUMB_X
1254wxSYS_ICON_X = misc2c.wxSYS_ICON_X
1255wxSYS_ICON_Y = misc2c.wxSYS_ICON_Y
1256wxSYS_ICONSPACING_X = misc2c.wxSYS_ICONSPACING_X
1257wxSYS_ICONSPACING_Y = misc2c.wxSYS_ICONSPACING_Y
1258wxSYS_WINDOWMIN_X = misc2c.wxSYS_WINDOWMIN_X
1259wxSYS_WINDOWMIN_Y = misc2c.wxSYS_WINDOWMIN_Y
1260wxSYS_SCREEN_X = misc2c.wxSYS_SCREEN_X
1261wxSYS_SCREEN_Y = misc2c.wxSYS_SCREEN_Y
1262wxSYS_FRAMESIZE_X = misc2c.wxSYS_FRAMESIZE_X
1263wxSYS_FRAMESIZE_Y = misc2c.wxSYS_FRAMESIZE_Y
1264wxSYS_SMALLICON_X = misc2c.wxSYS_SMALLICON_X
1265wxSYS_SMALLICON_Y = misc2c.wxSYS_SMALLICON_Y
1266wxSYS_HSCROLL_Y = misc2c.wxSYS_HSCROLL_Y
1267wxSYS_VSCROLL_X = misc2c.wxSYS_VSCROLL_X
1268wxSYS_VSCROLL_ARROW_X = misc2c.wxSYS_VSCROLL_ARROW_X
1269wxSYS_VSCROLL_ARROW_Y = misc2c.wxSYS_VSCROLL_ARROW_Y
1270wxSYS_VTHUMB_Y = misc2c.wxSYS_VTHUMB_Y
1271wxSYS_CAPTION_Y = misc2c.wxSYS_CAPTION_Y
1272wxSYS_MENU_Y = misc2c.wxSYS_MENU_Y
1273wxSYS_NETWORK_PRESENT = misc2c.wxSYS_NETWORK_PRESENT
1274wxSYS_PENWINDOWS_PRESENT = misc2c.wxSYS_PENWINDOWS_PRESENT
1275wxSYS_SHOW_SOUNDS = misc2c.wxSYS_SHOW_SOUNDS
1276wxSYS_SWAP_BUTTONS = misc2c.wxSYS_SWAP_BUTTONS
f6bcfd97
BP
1277wxLOG_FatalError = misc2c.wxLOG_FatalError
1278wxLOG_Error = misc2c.wxLOG_Error
1279wxLOG_Warning = misc2c.wxLOG_Warning
1280wxLOG_Message = misc2c.wxLOG_Message
1281wxLOG_Info = misc2c.wxLOG_Info
1282wxLOG_Status = misc2c.wxLOG_Status
1283wxLOG_Debug = misc2c.wxLOG_Debug
1284wxLOG_Trace = misc2c.wxLOG_Trace
1285wxLOG_Progress = misc2c.wxLOG_Progress
1286wxLOG_User = misc2c.wxLOG_User
1b62f00d 1287wxEVT_END_PROCESS = misc2c.wxEVT_END_PROCESS
b37c7e1d
RD
1288wxMAILCAP_STANDARD = misc2c.wxMAILCAP_STANDARD
1289wxMAILCAP_NETSCAPE = misc2c.wxMAILCAP_NETSCAPE
1290wxMAILCAP_KDE = misc2c.wxMAILCAP_KDE
1291wxMAILCAP_GNOME = misc2c.wxMAILCAP_GNOME
1292wxMAILCAP_ALL = misc2c.wxMAILCAP_ALL
1293cvar = misc2c.cvar
1294wxTheMimeTypesManager = wxMimeTypesManagerPtr(misc2c.cvar.wxTheMimeTypesManager)