]>
Commit | Line | Data |
---|---|---|
d24a34bb RD |
1 | # This file was created automatically by SWIG. |
2 | import misc2c | |
3 | ||
4 | from windows import * | |
5 | ||
6 | from misc import * | |
7 | ||
8 | from gdi import * | |
4120ef2b RD |
9 | |
10 | from clip_dnd import * | |
11 | ||
12 | from events import * | |
c368d904 RD |
13 | |
14 | from streams import * | |
d24a34bb RD |
15 | class wxToolTipPtr : |
16 | def __init__(self,this): | |
17 | self.this = this | |
18 | self.thisown = 0 | |
2d091820 RD |
19 | def SetTip(self, *_args, **_kwargs): |
20 | val = apply(misc2c.wxToolTip_SetTip,(self,) + _args, _kwargs) | |
d24a34bb | 21 | return val |
2d091820 RD |
22 | def GetTip(self, *_args, **_kwargs): |
23 | val = apply(misc2c.wxToolTip_GetTip,(self,) + _args, _kwargs) | |
d24a34bb | 24 | return val |
2d091820 RD |
25 | def GetWindow(self, *_args, **_kwargs): |
26 | val = apply(misc2c.wxToolTip_GetWindow,(self,) + _args, _kwargs) | |
27 | if val: val = wxWindowPtr(val) | |
d24a34bb RD |
28 | return val |
29 | def __repr__(self): | |
2d091820 | 30 | return "<C wxToolTip instance at %s>" % (self.this,) |
d24a34bb | 31 | class wxToolTip(wxToolTipPtr): |
2d091820 RD |
32 | def __init__(self,*_args,**_kwargs): |
33 | self.this = apply(misc2c.new_wxToolTip,_args,_kwargs) | |
d24a34bb RD |
34 | self.thisown = 1 |
35 | ||
36 | ||
37 | ||
38 | ||
8f17924e RD |
39 | class wxCaretPtr : |
40 | def __init__(self,this): | |
41 | self.this = this | |
42 | self.thisown = 0 | |
43 | def __del__(self,misc2c=misc2c): | |
44 | if self.thisown == 1 : | |
45 | misc2c.delete_wxCaret(self) | |
46 | def IsOk(self, *_args, **_kwargs): | |
47 | val = apply(misc2c.wxCaret_IsOk,(self,) + _args, _kwargs) | |
48 | return val | |
49 | def IsVisible(self, *_args, **_kwargs): | |
50 | val = apply(misc2c.wxCaret_IsVisible,(self,) + _args, _kwargs) | |
51 | return val | |
52 | def GetPositionTuple(self, *_args, **_kwargs): | |
53 | val = apply(misc2c.wxCaret_GetPositionTuple,(self,) + _args, _kwargs) | |
54 | return val | |
55 | def GetPosition(self, *_args, **_kwargs): | |
56 | val = apply(misc2c.wxCaret_GetPosition,(self,) + _args, _kwargs) | |
57 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
58 | return val | |
59 | def GetSizeTuple(self, *_args, **_kwargs): | |
60 | val = apply(misc2c.wxCaret_GetSizeTuple,(self,) + _args, _kwargs) | |
61 | return val | |
62 | def GetSize(self, *_args, **_kwargs): | |
63 | val = apply(misc2c.wxCaret_GetSize,(self,) + _args, _kwargs) | |
64 | if val: val = wxSizePtr(val) ; val.thisown = 1 | |
65 | return val | |
66 | def GetWindow(self, *_args, **_kwargs): | |
67 | val = apply(misc2c.wxCaret_GetWindow,(self,) + _args, _kwargs) | |
68 | if val: val = wxWindowPtr(val) | |
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,) | |
90 | class 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 |
98 | class 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) | |
105 | def _setSelf(self, *_args, **_kwargs): | |
106 | val = apply(misc2c.wxFontEnumerator__setSelf,(self,) + _args, _kwargs) | |
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,) | |
122 | class wxFontEnumerator(wxFontEnumeratorPtr): | |
123 | def __init__(self,*_args,**_kwargs): | |
124 | self.this = apply(misc2c.new_wxFontEnumerator,_args,_kwargs) | |
125 | self.thisown = 1 | |
f6bcfd97 | 126 | self._setSelf(self, wxFontEnumerator) |
4120ef2b RD |
127 | |
128 | ||
129 | ||
130 | ||
131 | class 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,) | |
140 | class 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 |
148 | class 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,) | |
157 | class 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 | ||
4662be59 RD |
165 | class 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,) | |
174 | class 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 |
182 | class 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,) | |
197 | class wxTipProvider(wxTipProviderPtr): | |
198 | def __init__(self,this): | |
199 | self.this = this | |
200 | ||
201 | ||
202 | ||
203 | ||
204 | class 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,) | |
210 | class 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 | ||
218 | class wxDragImagePtr : | |
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) | |
225 | def BeginDrag(self, *_args, **_kwargs): | |
226 | val = apply(misc2c.wxDragImage_BeginDrag,(self,) + _args, _kwargs) | |
227 | return val | |
228 | def BeginDrag2(self, *_args, **_kwargs): | |
229 | val = apply(misc2c.wxDragImage_BeginDrag2,(self,) + _args, _kwargs) | |
230 | return val | |
231 | def EndDrag(self, *_args, **_kwargs): | |
232 | val = apply(misc2c.wxDragImage_EndDrag,(self,) + _args, _kwargs) | |
233 | return val | |
234 | def Move(self, *_args, **_kwargs): | |
235 | val = apply(misc2c.wxDragImage_Move,(self,) + _args, _kwargs) | |
236 | return val | |
237 | def Show(self, *_args, **_kwargs): | |
238 | val = apply(misc2c.wxDragImage_Show,(self,) + _args, _kwargs) | |
239 | return val | |
240 | def Hide(self, *_args, **_kwargs): | |
241 | val = apply(misc2c.wxDragImage_Hide,(self,) + _args, _kwargs) | |
242 | return val | |
243 | def GetImageRect(self, *_args, **_kwargs): | |
244 | val = apply(misc2c.wxDragImage_GetImageRect,(self,) + _args, _kwargs) | |
245 | if val: val = wxRectPtr(val) ; val.thisown = 1 | |
246 | return val | |
247 | def RedrawImage(self, *_args, **_kwargs): | |
248 | val = apply(misc2c.wxDragImage_RedrawImage,(self,) + _args, _kwargs) | |
249 | return val | |
250 | def __repr__(self): | |
251 | return "<C wxDragImage instance at %s>" % (self.this,) | |
252 | class wxDragImage(wxDragImagePtr): | |
253 | def __init__(self,*_args,**_kwargs): | |
254 | self.this = apply(misc2c.new_wxDragImage,_args,_kwargs) | |
255 | self.thisown = 1 | |
256 | ||
257 | ||
258 | ||
259 | ||
260 | class wxPyTimerPtr : | |
261 | def __init__(self,this): | |
262 | self.this = this | |
263 | self.thisown = 0 | |
264 | def __del__(self,misc2c=misc2c): | |
265 | if self.thisown == 1 : | |
266 | misc2c.delete_wxPyTimer(self) | |
267 | def GetInterval(self, *_args, **_kwargs): | |
268 | val = apply(misc2c.wxPyTimer_GetInterval,(self,) + _args, _kwargs) | |
269 | return val | |
270 | def IsOneShot(self, *_args, **_kwargs): | |
271 | val = apply(misc2c.wxPyTimer_IsOneShot,(self,) + _args, _kwargs) | |
272 | return val | |
273 | def IsRunning(self, *_args, **_kwargs): | |
274 | val = apply(misc2c.wxPyTimer_IsRunning,(self,) + _args, _kwargs) | |
275 | return val | |
276 | def SetOwner(self, *_args, **_kwargs): | |
277 | val = apply(misc2c.wxPyTimer_SetOwner,(self,) + _args, _kwargs) | |
278 | return val | |
279 | def Start(self, *_args, **_kwargs): | |
280 | val = apply(misc2c.wxPyTimer_Start,(self,) + _args, _kwargs) | |
281 | return val | |
282 | def Stop(self, *_args, **_kwargs): | |
283 | val = apply(misc2c.wxPyTimer_Stop,(self,) + _args, _kwargs) | |
284 | return val | |
285 | def __repr__(self): | |
286 | return "<C wxPyTimer instance at %s>" % (self.this,) | |
287 | class wxPyTimer(wxPyTimerPtr): | |
288 | def __init__(self,*_args,**_kwargs): | |
289 | self.this = apply(misc2c.new_wxPyTimer,_args,_kwargs) | |
290 | self.thisown = 1 | |
291 | ||
292 | ||
293 | ||
294 | ||
295 | class wxLogPtr : | |
296 | def __init__(self,this): | |
297 | self.this = this | |
298 | self.thisown = 0 | |
299 | def Flush(self, *_args, **_kwargs): | |
300 | val = apply(misc2c.wxLog_Flush,(self,) + _args, _kwargs) | |
301 | return val | |
302 | def HasPendingMessages(self, *_args, **_kwargs): | |
303 | val = apply(misc2c.wxLog_HasPendingMessages,(self,) + _args, _kwargs) | |
304 | return val | |
305 | def SetVerbose(self, *_args, **_kwargs): | |
306 | val = apply(misc2c.wxLog_SetVerbose,(self,) + _args, _kwargs) | |
307 | return val | |
308 | def GetVerbose(self, *_args, **_kwargs): | |
309 | val = apply(misc2c.wxLog_GetVerbose,(self,) + _args, _kwargs) | |
310 | return val | |
311 | def __repr__(self): | |
312 | return "<C wxLog instance at %s>" % (self.this,) | |
313 | class wxLog(wxLogPtr): | |
314 | def __init__(self,*_args,**_kwargs): | |
315 | self.this = apply(misc2c.new_wxLog,_args,_kwargs) | |
316 | self.thisown = 1 | |
317 | ||
318 | ||
319 | ||
320 | ||
321 | class wxLogStderrPtr(wxLogPtr): | |
322 | def __init__(self,this): | |
323 | self.this = this | |
324 | self.thisown = 0 | |
325 | def __repr__(self): | |
326 | return "<C wxLogStderr instance at %s>" % (self.this,) | |
327 | class wxLogStderr(wxLogStderrPtr): | |
328 | def __init__(self,*_args,**_kwargs): | |
329 | self.this = apply(misc2c.new_wxLogStderr,_args,_kwargs) | |
330 | self.thisown = 1 | |
331 | ||
332 | ||
333 | ||
334 | ||
335 | class wxLogTextCtrlPtr(wxLogPtr): | |
336 | def __init__(self,this): | |
337 | self.this = this | |
338 | self.thisown = 0 | |
339 | def __repr__(self): | |
340 | return "<C wxLogTextCtrl instance at %s>" % (self.this,) | |
341 | class wxLogTextCtrl(wxLogTextCtrlPtr): | |
342 | def __init__(self,*_args,**_kwargs): | |
343 | self.this = apply(misc2c.new_wxLogTextCtrl,_args,_kwargs) | |
344 | self.thisown = 1 | |
345 | ||
346 | ||
347 | ||
348 | ||
349 | class wxLogGuiPtr(wxLogPtr): | |
350 | def __init__(self,this): | |
351 | self.this = this | |
352 | self.thisown = 0 | |
353 | def __repr__(self): | |
354 | return "<C wxLogGui instance at %s>" % (self.this,) | |
355 | class wxLogGui(wxLogGuiPtr): | |
356 | def __init__(self,*_args,**_kwargs): | |
357 | self.this = apply(misc2c.new_wxLogGui,_args,_kwargs) | |
358 | self.thisown = 1 | |
359 | ||
360 | ||
361 | ||
362 | ||
363 | class wxLogWindowPtr(wxLogPtr): | |
364 | def __init__(self,this): | |
365 | self.this = this | |
366 | self.thisown = 0 | |
367 | def Show(self, *_args, **_kwargs): | |
368 | val = apply(misc2c.wxLogWindow_Show,(self,) + _args, _kwargs) | |
369 | return val | |
370 | def GetFrame(self, *_args, **_kwargs): | |
371 | val = apply(misc2c.wxLogWindow_GetFrame,(self,) + _args, _kwargs) | |
372 | if val: val = wxFramePtr(val) | |
373 | return val | |
374 | def GetOldLog(self, *_args, **_kwargs): | |
375 | val = apply(misc2c.wxLogWindow_GetOldLog,(self,) + _args, _kwargs) | |
376 | if val: val = wxLogPtr(val) | |
377 | return val | |
378 | def IsPassingMessages(self, *_args, **_kwargs): | |
379 | val = apply(misc2c.wxLogWindow_IsPassingMessages,(self,) + _args, _kwargs) | |
380 | return val | |
381 | def PassMessages(self, *_args, **_kwargs): | |
382 | val = apply(misc2c.wxLogWindow_PassMessages,(self,) + _args, _kwargs) | |
383 | return val | |
384 | def __repr__(self): | |
385 | return "<C wxLogWindow instance at %s>" % (self.this,) | |
386 | class wxLogWindow(wxLogWindowPtr): | |
387 | def __init__(self,*_args,**_kwargs): | |
388 | self.this = apply(misc2c.new_wxLogWindow,_args,_kwargs) | |
389 | self.thisown = 1 | |
390 | ||
391 | ||
392 | ||
393 | ||
394 | class wxLogNullPtr : | |
395 | def __init__(self,this): | |
396 | self.this = this | |
397 | self.thisown = 0 | |
398 | def __del__(self,misc2c=misc2c): | |
399 | if self.thisown == 1 : | |
400 | misc2c.delete_wxLogNull(self) | |
401 | def __repr__(self): | |
402 | return "<C wxLogNull instance at %s>" % (self.this,) | |
403 | class wxLogNull(wxLogNullPtr): | |
404 | def __init__(self,*_args,**_kwargs): | |
405 | self.this = apply(misc2c.new_wxLogNull,_args,_kwargs) | |
406 | self.thisown = 1 | |
407 | ||
408 | ||
409 | ||
410 | ||
c368d904 RD |
411 | class wxProcessEventPtr(wxEventPtr): |
412 | def __init__(self,this): | |
413 | self.this = this | |
414 | self.thisown = 0 | |
415 | def GetPid(self, *_args, **_kwargs): | |
416 | val = apply(misc2c.wxProcessEvent_GetPid,(self,) + _args, _kwargs) | |
417 | return val | |
418 | def GetExitCode(self, *_args, **_kwargs): | |
419 | val = apply(misc2c.wxProcessEvent_GetExitCode,(self,) + _args, _kwargs) | |
420 | return val | |
421 | def __setattr__(self,name,value): | |
422 | if name == "m_pid" : | |
423 | misc2c.wxProcessEvent_m_pid_set(self,value) | |
424 | return | |
425 | if name == "m_exitcode" : | |
426 | misc2c.wxProcessEvent_m_exitcode_set(self,value) | |
427 | return | |
428 | self.__dict__[name] = value | |
429 | def __getattr__(self,name): | |
430 | if name == "m_pid" : | |
431 | return misc2c.wxProcessEvent_m_pid_get(self) | |
432 | if name == "m_exitcode" : | |
433 | return misc2c.wxProcessEvent_m_exitcode_get(self) | |
434 | raise AttributeError,name | |
435 | def __repr__(self): | |
436 | return "<C wxProcessEvent instance at %s>" % (self.this,) | |
437 | class wxProcessEvent(wxProcessEventPtr): | |
438 | def __init__(self,*_args,**_kwargs): | |
439 | self.this = apply(misc2c.new_wxProcessEvent,_args,_kwargs) | |
440 | self.thisown = 1 | |
441 | ||
442 | ||
443 | ||
444 | ||
445 | class wxProcessPtr(wxEvtHandlerPtr): | |
446 | def __init__(self,this): | |
447 | self.this = this | |
448 | self.thisown = 0 | |
449 | def Destroy(self, *_args, **_kwargs): | |
450 | val = apply(misc2c.wxProcess_Destroy,(self,) + _args, _kwargs) | |
451 | return val | |
452 | def _setSelf(self, *_args, **_kwargs): | |
453 | val = apply(misc2c.wxProcess__setSelf,(self,) + _args, _kwargs) | |
454 | return val | |
455 | def base_OnTerminate(self, *_args, **_kwargs): | |
456 | val = apply(misc2c.wxProcess_base_OnTerminate,(self,) + _args, _kwargs) | |
457 | return val | |
458 | def Redirect(self, *_args, **_kwargs): | |
459 | val = apply(misc2c.wxProcess_Redirect,(self,) + _args, _kwargs) | |
460 | return val | |
461 | def IsRedirected(self, *_args, **_kwargs): | |
462 | val = apply(misc2c.wxProcess_IsRedirected,(self,) + _args, _kwargs) | |
463 | return val | |
464 | def Detach(self, *_args, **_kwargs): | |
465 | val = apply(misc2c.wxProcess_Detach,(self,) + _args, _kwargs) | |
466 | return val | |
467 | def GetInputStream(self, *_args, **_kwargs): | |
468 | val = apply(misc2c.wxProcess_GetInputStream,(self,) + _args, _kwargs) | |
469 | return val | |
470 | def GetErrorStream(self, *_args, **_kwargs): | |
471 | val = apply(misc2c.wxProcess_GetErrorStream,(self,) + _args, _kwargs) | |
472 | return val | |
473 | def GetOutputStream(self, *_args, **_kwargs): | |
474 | val = apply(misc2c.wxProcess_GetOutputStream,(self,) + _args, _kwargs) | |
475 | if val: val = wxOutputStreamPtr(val) | |
476 | return val | |
477 | def CloseOutput(self, *_args, **_kwargs): | |
478 | val = apply(misc2c.wxProcess_CloseOutput,(self,) + _args, _kwargs) | |
479 | return val | |
480 | def __repr__(self): | |
481 | return "<C wxProcess instance at %s>" % (self.this,) | |
482 | class wxProcess(wxProcessPtr): | |
483 | def __init__(self,*_args,**_kwargs): | |
484 | self.this = apply(misc2c.new_wxProcess,_args,_kwargs) | |
485 | self.thisown = 1 | |
486 | self._setSelf(self, wxProcess) | |
487 | ||
488 | ||
489 | ||
490 | ||
d24a34bb RD |
491 | |
492 | ||
493 | #-------------- FUNCTION WRAPPERS ------------------ | |
494 | ||
bc29c5e0 RD |
495 | wxFileSelector = misc2c.wxFileSelector |
496 | ||
497 | wxGetTextFromUser = misc2c.wxGetTextFromUser | |
498 | ||
1b62f00d RD |
499 | wxGetPasswordFromUser = misc2c.wxGetPasswordFromUser |
500 | ||
bc29c5e0 RD |
501 | wxGetSingleChoice = misc2c.wxGetSingleChoice |
502 | ||
503 | wxGetSingleChoiceIndex = misc2c.wxGetSingleChoiceIndex | |
504 | ||
505 | wxMessageBox = misc2c.wxMessageBox | |
506 | ||
507 | wxGetNumberFromUser = misc2c.wxGetNumberFromUser | |
508 | ||
509 | wxColourDisplay = misc2c.wxColourDisplay | |
510 | ||
511 | wxDisplayDepth = misc2c.wxDisplayDepth | |
512 | ||
b68dc582 RD |
513 | wxGetDisplayDepth = misc2c.wxGetDisplayDepth |
514 | ||
515 | wxDisplaySize = misc2c.wxDisplaySize | |
516 | ||
517 | def wxGetDisplaySize(*_args, **_kwargs): | |
518 | val = apply(misc2c.wxGetDisplaySize,_args,_kwargs) | |
519 | if val: val = wxSizePtr(val); val.thisown = 1 | |
520 | return val | |
521 | ||
9c4165ad RD |
522 | wxDisplaySizeMM = misc2c.wxDisplaySizeMM |
523 | ||
524 | def wxGetDisplaySizeMM(*_args, **_kwargs): | |
525 | val = apply(misc2c.wxGetDisplaySizeMM,_args,_kwargs) | |
526 | if val: val = wxSizePtr(val); val.thisown = 1 | |
527 | return val | |
528 | ||
bc29c5e0 RD |
529 | wxSetCursor = misc2c.wxSetCursor |
530 | ||
2d091820 RD |
531 | def wxFindWindowByLabel(*_args, **_kwargs): |
532 | val = apply(misc2c.wxFindWindowByLabel,_args,_kwargs) | |
533 | if val: val = wxWindowPtr(val) | |
d24a34bb RD |
534 | return val |
535 | ||
2d091820 RD |
536 | def wxFindWindowByName(*_args, **_kwargs): |
537 | val = apply(misc2c.wxFindWindowByName,_args,_kwargs) | |
538 | if val: val = wxWindowPtr(val) | |
d24a34bb RD |
539 | return val |
540 | ||
bc29c5e0 RD |
541 | wxBeginBusyCursor = misc2c.wxBeginBusyCursor |
542 | ||
543 | def wxGetActiveWindow(*_args, **_kwargs): | |
544 | val = apply(misc2c.wxGetActiveWindow,_args,_kwargs) | |
545 | if val: val = wxWindowPtr(val) | |
546 | return val | |
547 | ||
548 | wxResourceAddIdentifier = misc2c.wxResourceAddIdentifier | |
549 | ||
550 | wxResourceClear = misc2c.wxResourceClear | |
551 | ||
552 | def wxResourceCreateBitmap(*_args, **_kwargs): | |
553 | val = apply(misc2c.wxResourceCreateBitmap,_args,_kwargs) | |
554 | if val: val = wxBitmapPtr(val); val.thisown = 1 | |
555 | return val | |
556 | ||
557 | def wxResourceCreateIcon(*_args, **_kwargs): | |
558 | val = apply(misc2c.wxResourceCreateIcon,_args,_kwargs) | |
559 | if val: val = wxIconPtr(val); val.thisown = 1 | |
560 | return val | |
561 | ||
562 | def wxResourceCreateMenuBar(*_args, **_kwargs): | |
563 | val = apply(misc2c.wxResourceCreateMenuBar,_args,_kwargs) | |
564 | if val: val = wxMenuBarPtr(val) | |
565 | return val | |
566 | ||
567 | wxResourceGetIdentifier = misc2c.wxResourceGetIdentifier | |
568 | ||
569 | wxResourceParseData = misc2c.wxResourceParseData | |
570 | ||
571 | wxResourceParseFile = misc2c.wxResourceParseFile | |
572 | ||
573 | wxResourceParseString = misc2c.wxResourceParseString | |
574 | ||
575 | def wxSystemSettings_GetSystemColour(*_args, **_kwargs): | |
576 | val = apply(misc2c.wxSystemSettings_GetSystemColour,_args,_kwargs) | |
577 | if val: val = wxColourPtr(val); val.thisown = 1 | |
578 | return val | |
579 | ||
580 | def wxSystemSettings_GetSystemFont(*_args, **_kwargs): | |
581 | val = apply(misc2c.wxSystemSettings_GetSystemFont,_args,_kwargs) | |
582 | if val: val = wxFontPtr(val); val.thisown = 1 | |
583 | return val | |
584 | ||
585 | wxSystemSettings_GetSystemMetric = misc2c.wxSystemSettings_GetSystemMetric | |
586 | ||
d24a34bb RD |
587 | wxToolTip_Enable = misc2c.wxToolTip_Enable |
588 | ||
589 | wxToolTip_SetDelay = misc2c.wxToolTip_SetDelay | |
590 | ||
8f17924e RD |
591 | wxCaret_GetBlinkTime = misc2c.wxCaret_GetBlinkTime |
592 | ||
593 | wxCaret_SetBlinkTime = misc2c.wxCaret_SetBlinkTime | |
594 | ||
4662be59 RD |
595 | wxSafeYield = misc2c.wxSafeYield |
596 | ||
4120ef2b RD |
597 | wxPostEvent = misc2c.wxPostEvent |
598 | ||
d29aba2f RD |
599 | wxWakeUpIdle = misc2c.wxWakeUpIdle |
600 | ||
4662be59 RD |
601 | wxMutexGuiEnter = misc2c.wxMutexGuiEnter |
602 | ||
603 | wxMutexGuiLeave = misc2c.wxMutexGuiLeave | |
604 | ||
605 | wxThread_IsMain = misc2c.wxThread_IsMain | |
c368d904 | 606 | |
f6bcfd97 BP |
607 | wxShowTip = misc2c.wxShowTip |
608 | ||
609 | def wxCreateFileTipProvider(*_args, **_kwargs): | |
610 | val = apply(misc2c.wxCreateFileTipProvider,_args,_kwargs) | |
611 | if val: val = wxTipProviderPtr(val); val.thisown = 1 | |
612 | return val | |
613 | ||
614 | def wxDragIcon(*_args, **_kwargs): | |
615 | val = apply(misc2c.wxDragIcon,_args,_kwargs) | |
616 | if val: val = wxDragImagePtr(val); val.thisown = 1 | |
617 | return val | |
618 | ||
619 | def wxDragString(*_args, **_kwargs): | |
620 | val = apply(misc2c.wxDragString,_args,_kwargs) | |
621 | if val: val = wxDragImagePtr(val); val.thisown = 1 | |
622 | return val | |
623 | ||
624 | def wxDragTreeItem(*_args, **_kwargs): | |
625 | val = apply(misc2c.wxDragTreeItem,_args,_kwargs) | |
626 | if val: val = wxDragImagePtr(val); val.thisown = 1 | |
627 | return val | |
628 | ||
629 | def wxDragListItem(*_args, **_kwargs): | |
630 | val = apply(misc2c.wxDragListItem,_args,_kwargs) | |
631 | if val: val = wxDragImagePtr(val); val.thisown = 1 | |
632 | return val | |
633 | ||
634 | wxSysErrorCode = misc2c.wxSysErrorCode | |
635 | ||
636 | wxSysErrorMsg = misc2c.wxSysErrorMsg | |
637 | ||
638 | wxLogFatalError = misc2c.wxLogFatalError | |
639 | ||
640 | wxLogError = misc2c.wxLogError | |
641 | ||
642 | wxLogWarning = misc2c.wxLogWarning | |
643 | ||
644 | wxLogMessage = misc2c.wxLogMessage | |
645 | ||
646 | wxLogInfo = misc2c.wxLogInfo | |
647 | ||
648 | wxLogVerbose = misc2c.wxLogVerbose | |
649 | ||
650 | wxLogStatus = misc2c.wxLogStatus | |
651 | ||
652 | wxLogStatusFrame = misc2c.wxLogStatusFrame | |
653 | ||
654 | wxLogSysError = misc2c.wxLogSysError | |
655 | ||
c368d904 RD |
656 | wxExecute = misc2c.wxExecute |
657 | ||
f6bcfd97 BP |
658 | wxLog_IsEnabled = misc2c.wxLog_IsEnabled |
659 | ||
660 | wxLog_EnableLogging = misc2c.wxLog_EnableLogging | |
661 | ||
662 | wxLog_OnLog = misc2c.wxLog_OnLog | |
663 | ||
664 | wxLog_FlushActive = misc2c.wxLog_FlushActive | |
665 | ||
666 | def wxLog_GetActiveTarget(*_args, **_kwargs): | |
667 | val = apply(misc2c.wxLog_GetActiveTarget,_args,_kwargs) | |
668 | if val: val = wxLogPtr(val) | |
669 | return val | |
670 | ||
671 | def wxLog_SetActiveTarget(*_args, **_kwargs): | |
672 | val = apply(misc2c.wxLog_SetActiveTarget,_args,_kwargs) | |
673 | if val: val = wxLogPtr(val) | |
674 | return val | |
675 | ||
676 | wxLog_Suspend = misc2c.wxLog_Suspend | |
677 | ||
678 | wxLog_Resume = misc2c.wxLog_Resume | |
679 | ||
680 | wxLog_DontCreateOnDemand = misc2c.wxLog_DontCreateOnDemand | |
681 | ||
682 | wxLog_SetTraceMask = misc2c.wxLog_SetTraceMask | |
683 | ||
684 | wxLog_AddTraceMask = misc2c.wxLog_AddTraceMask | |
685 | ||
686 | wxLog_RemoveTraceMask = misc2c.wxLog_RemoveTraceMask | |
687 | ||
688 | wxLog_GetTraceMask = misc2c.wxLog_GetTraceMask | |
689 | ||
690 | wxLog_IsAllowedTraceMask = misc2c.wxLog_IsAllowedTraceMask | |
691 | ||
d24a34bb RD |
692 | |
693 | ||
694 | #-------------- VARIABLE WRAPPERS ------------------ | |
695 | ||
bc29c5e0 RD |
696 | wxSYS_WHITE_BRUSH = misc2c.wxSYS_WHITE_BRUSH |
697 | wxSYS_LTGRAY_BRUSH = misc2c.wxSYS_LTGRAY_BRUSH | |
698 | wxSYS_GRAY_BRUSH = misc2c.wxSYS_GRAY_BRUSH | |
699 | wxSYS_DKGRAY_BRUSH = misc2c.wxSYS_DKGRAY_BRUSH | |
700 | wxSYS_BLACK_BRUSH = misc2c.wxSYS_BLACK_BRUSH | |
701 | wxSYS_NULL_BRUSH = misc2c.wxSYS_NULL_BRUSH | |
702 | wxSYS_HOLLOW_BRUSH = misc2c.wxSYS_HOLLOW_BRUSH | |
703 | wxSYS_WHITE_PEN = misc2c.wxSYS_WHITE_PEN | |
704 | wxSYS_BLACK_PEN = misc2c.wxSYS_BLACK_PEN | |
705 | wxSYS_NULL_PEN = misc2c.wxSYS_NULL_PEN | |
706 | wxSYS_OEM_FIXED_FONT = misc2c.wxSYS_OEM_FIXED_FONT | |
707 | wxSYS_ANSI_FIXED_FONT = misc2c.wxSYS_ANSI_FIXED_FONT | |
708 | wxSYS_ANSI_VAR_FONT = misc2c.wxSYS_ANSI_VAR_FONT | |
709 | wxSYS_SYSTEM_FONT = misc2c.wxSYS_SYSTEM_FONT | |
710 | wxSYS_DEVICE_DEFAULT_FONT = misc2c.wxSYS_DEVICE_DEFAULT_FONT | |
711 | wxSYS_DEFAULT_PALETTE = misc2c.wxSYS_DEFAULT_PALETTE | |
712 | wxSYS_SYSTEM_FIXED_FONT = misc2c.wxSYS_SYSTEM_FIXED_FONT | |
713 | wxSYS_DEFAULT_GUI_FONT = misc2c.wxSYS_DEFAULT_GUI_FONT | |
714 | wxSYS_COLOUR_SCROLLBAR = misc2c.wxSYS_COLOUR_SCROLLBAR | |
715 | wxSYS_COLOUR_BACKGROUND = misc2c.wxSYS_COLOUR_BACKGROUND | |
716 | wxSYS_COLOUR_ACTIVECAPTION = misc2c.wxSYS_COLOUR_ACTIVECAPTION | |
717 | wxSYS_COLOUR_INACTIVECAPTION = misc2c.wxSYS_COLOUR_INACTIVECAPTION | |
718 | wxSYS_COLOUR_MENU = misc2c.wxSYS_COLOUR_MENU | |
719 | wxSYS_COLOUR_WINDOW = misc2c.wxSYS_COLOUR_WINDOW | |
720 | wxSYS_COLOUR_WINDOWFRAME = misc2c.wxSYS_COLOUR_WINDOWFRAME | |
721 | wxSYS_COLOUR_MENUTEXT = misc2c.wxSYS_COLOUR_MENUTEXT | |
722 | wxSYS_COLOUR_WINDOWTEXT = misc2c.wxSYS_COLOUR_WINDOWTEXT | |
723 | wxSYS_COLOUR_CAPTIONTEXT = misc2c.wxSYS_COLOUR_CAPTIONTEXT | |
724 | wxSYS_COLOUR_ACTIVEBORDER = misc2c.wxSYS_COLOUR_ACTIVEBORDER | |
725 | wxSYS_COLOUR_INACTIVEBORDER = misc2c.wxSYS_COLOUR_INACTIVEBORDER | |
726 | wxSYS_COLOUR_APPWORKSPACE = misc2c.wxSYS_COLOUR_APPWORKSPACE | |
727 | wxSYS_COLOUR_HIGHLIGHT = misc2c.wxSYS_COLOUR_HIGHLIGHT | |
728 | wxSYS_COLOUR_HIGHLIGHTTEXT = misc2c.wxSYS_COLOUR_HIGHLIGHTTEXT | |
729 | wxSYS_COLOUR_BTNFACE = misc2c.wxSYS_COLOUR_BTNFACE | |
730 | wxSYS_COLOUR_BTNSHADOW = misc2c.wxSYS_COLOUR_BTNSHADOW | |
731 | wxSYS_COLOUR_GRAYTEXT = misc2c.wxSYS_COLOUR_GRAYTEXT | |
732 | wxSYS_COLOUR_BTNTEXT = misc2c.wxSYS_COLOUR_BTNTEXT | |
733 | wxSYS_COLOUR_INACTIVECAPTIONTEXT = misc2c.wxSYS_COLOUR_INACTIVECAPTIONTEXT | |
734 | wxSYS_COLOUR_BTNHIGHLIGHT = misc2c.wxSYS_COLOUR_BTNHIGHLIGHT | |
735 | wxSYS_COLOUR_3DDKSHADOW = misc2c.wxSYS_COLOUR_3DDKSHADOW | |
736 | wxSYS_COLOUR_3DLIGHT = misc2c.wxSYS_COLOUR_3DLIGHT | |
737 | wxSYS_COLOUR_INFOTEXT = misc2c.wxSYS_COLOUR_INFOTEXT | |
738 | wxSYS_COLOUR_INFOBK = misc2c.wxSYS_COLOUR_INFOBK | |
739 | wxSYS_COLOUR_DESKTOP = misc2c.wxSYS_COLOUR_DESKTOP | |
740 | wxSYS_COLOUR_3DFACE = misc2c.wxSYS_COLOUR_3DFACE | |
741 | wxSYS_COLOUR_3DSHADOW = misc2c.wxSYS_COLOUR_3DSHADOW | |
742 | wxSYS_COLOUR_3DHIGHLIGHT = misc2c.wxSYS_COLOUR_3DHIGHLIGHT | |
743 | wxSYS_COLOUR_3DHILIGHT = misc2c.wxSYS_COLOUR_3DHILIGHT | |
744 | wxSYS_COLOUR_BTNHILIGHT = misc2c.wxSYS_COLOUR_BTNHILIGHT | |
745 | wxSYS_MOUSE_BUTTONS = misc2c.wxSYS_MOUSE_BUTTONS | |
746 | wxSYS_BORDER_X = misc2c.wxSYS_BORDER_X | |
747 | wxSYS_BORDER_Y = misc2c.wxSYS_BORDER_Y | |
748 | wxSYS_CURSOR_X = misc2c.wxSYS_CURSOR_X | |
749 | wxSYS_CURSOR_Y = misc2c.wxSYS_CURSOR_Y | |
750 | wxSYS_DCLICK_X = misc2c.wxSYS_DCLICK_X | |
751 | wxSYS_DCLICK_Y = misc2c.wxSYS_DCLICK_Y | |
752 | wxSYS_DRAG_X = misc2c.wxSYS_DRAG_X | |
753 | wxSYS_DRAG_Y = misc2c.wxSYS_DRAG_Y | |
754 | wxSYS_EDGE_X = misc2c.wxSYS_EDGE_X | |
755 | wxSYS_EDGE_Y = misc2c.wxSYS_EDGE_Y | |
756 | wxSYS_HSCROLL_ARROW_X = misc2c.wxSYS_HSCROLL_ARROW_X | |
757 | wxSYS_HSCROLL_ARROW_Y = misc2c.wxSYS_HSCROLL_ARROW_Y | |
758 | wxSYS_HTHUMB_X = misc2c.wxSYS_HTHUMB_X | |
759 | wxSYS_ICON_X = misc2c.wxSYS_ICON_X | |
760 | wxSYS_ICON_Y = misc2c.wxSYS_ICON_Y | |
761 | wxSYS_ICONSPACING_X = misc2c.wxSYS_ICONSPACING_X | |
762 | wxSYS_ICONSPACING_Y = misc2c.wxSYS_ICONSPACING_Y | |
763 | wxSYS_WINDOWMIN_X = misc2c.wxSYS_WINDOWMIN_X | |
764 | wxSYS_WINDOWMIN_Y = misc2c.wxSYS_WINDOWMIN_Y | |
765 | wxSYS_SCREEN_X = misc2c.wxSYS_SCREEN_X | |
766 | wxSYS_SCREEN_Y = misc2c.wxSYS_SCREEN_Y | |
767 | wxSYS_FRAMESIZE_X = misc2c.wxSYS_FRAMESIZE_X | |
768 | wxSYS_FRAMESIZE_Y = misc2c.wxSYS_FRAMESIZE_Y | |
769 | wxSYS_SMALLICON_X = misc2c.wxSYS_SMALLICON_X | |
770 | wxSYS_SMALLICON_Y = misc2c.wxSYS_SMALLICON_Y | |
771 | wxSYS_HSCROLL_Y = misc2c.wxSYS_HSCROLL_Y | |
772 | wxSYS_VSCROLL_X = misc2c.wxSYS_VSCROLL_X | |
773 | wxSYS_VSCROLL_ARROW_X = misc2c.wxSYS_VSCROLL_ARROW_X | |
774 | wxSYS_VSCROLL_ARROW_Y = misc2c.wxSYS_VSCROLL_ARROW_Y | |
775 | wxSYS_VTHUMB_Y = misc2c.wxSYS_VTHUMB_Y | |
776 | wxSYS_CAPTION_Y = misc2c.wxSYS_CAPTION_Y | |
777 | wxSYS_MENU_Y = misc2c.wxSYS_MENU_Y | |
778 | wxSYS_NETWORK_PRESENT = misc2c.wxSYS_NETWORK_PRESENT | |
779 | wxSYS_PENWINDOWS_PRESENT = misc2c.wxSYS_PENWINDOWS_PRESENT | |
780 | wxSYS_SHOW_SOUNDS = misc2c.wxSYS_SHOW_SOUNDS | |
781 | wxSYS_SWAP_BUTTONS = misc2c.wxSYS_SWAP_BUTTONS | |
f6bcfd97 BP |
782 | wxLOG_FatalError = misc2c.wxLOG_FatalError |
783 | wxLOG_Error = misc2c.wxLOG_Error | |
784 | wxLOG_Warning = misc2c.wxLOG_Warning | |
785 | wxLOG_Message = misc2c.wxLOG_Message | |
786 | wxLOG_Info = misc2c.wxLOG_Info | |
787 | wxLOG_Status = misc2c.wxLOG_Status | |
788 | wxLOG_Debug = misc2c.wxLOG_Debug | |
789 | wxLOG_Trace = misc2c.wxLOG_Trace | |
790 | wxLOG_Progress = misc2c.wxLOG_Progress | |
791 | wxLOG_User = misc2c.wxLOG_User | |
9c4165ad | 792 | wxEVT_END_PROCESS = misc2c.wxEVT_END_PROCESS |