]>
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 * | |
9df61a29 | 15 | class wxToolTipPtr(wxObjectPtr): |
d24a34bb RD |
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) | |
d24a34bb RD |
27 | return val |
28 | def __repr__(self): | |
2d091820 | 29 | return "<C wxToolTip instance at %s>" % (self.this,) |
d24a34bb | 30 | class wxToolTip(wxToolTipPtr): |
2d091820 RD |
31 | def __init__(self,*_args,**_kwargs): |
32 | self.this = apply(misc2c.new_wxToolTip,_args,_kwargs) | |
d24a34bb RD |
33 | self.thisown = 1 |
34 | ||
35 | ||
36 | ||
37 | ||
8f17924e RD |
38 | class wxCaretPtr : |
39 | def __init__(self,this): | |
40 | self.this = this | |
41 | self.thisown = 0 | |
42 | def __del__(self,misc2c=misc2c): | |
43 | if self.thisown == 1 : | |
44 | misc2c.delete_wxCaret(self) | |
45 | def IsOk(self, *_args, **_kwargs): | |
46 | val = apply(misc2c.wxCaret_IsOk,(self,) + _args, _kwargs) | |
47 | return val | |
48 | def IsVisible(self, *_args, **_kwargs): | |
49 | val = apply(misc2c.wxCaret_IsVisible,(self,) + _args, _kwargs) | |
50 | return val | |
51 | def GetPositionTuple(self, *_args, **_kwargs): | |
52 | val = apply(misc2c.wxCaret_GetPositionTuple,(self,) + _args, _kwargs) | |
53 | return val | |
54 | def GetPosition(self, *_args, **_kwargs): | |
55 | val = apply(misc2c.wxCaret_GetPosition,(self,) + _args, _kwargs) | |
56 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
57 | return val | |
58 | def GetSizeTuple(self, *_args, **_kwargs): | |
59 | val = apply(misc2c.wxCaret_GetSizeTuple,(self,) + _args, _kwargs) | |
60 | return val | |
61 | def GetSize(self, *_args, **_kwargs): | |
62 | val = apply(misc2c.wxCaret_GetSize,(self,) + _args, _kwargs) | |
63 | if val: val = wxSizePtr(val) ; val.thisown = 1 | |
64 | return val | |
65 | def GetWindow(self, *_args, **_kwargs): | |
66 | val = apply(misc2c.wxCaret_GetWindow,(self,) + _args, _kwargs) | |
8f17924e RD |
67 | return val |
68 | def MoveXY(self, *_args, **_kwargs): | |
69 | val = apply(misc2c.wxCaret_MoveXY,(self,) + _args, _kwargs) | |
70 | return val | |
71 | def Move(self, *_args, **_kwargs): | |
72 | val = apply(misc2c.wxCaret_Move,(self,) + _args, _kwargs) | |
73 | return val | |
e02c03a4 RD |
74 | def SetSizeWH(self, *_args, **_kwargs): |
75 | val = apply(misc2c.wxCaret_SetSizeWH,(self,) + _args, _kwargs) | |
76 | return val | |
77 | def SetSize(self, *_args, **_kwargs): | |
78 | val = apply(misc2c.wxCaret_SetSize,(self,) + _args, _kwargs) | |
79 | return val | |
8f17924e RD |
80 | def Show(self, *_args, **_kwargs): |
81 | val = apply(misc2c.wxCaret_Show,(self,) + _args, _kwargs) | |
82 | return val | |
83 | def Hide(self, *_args, **_kwargs): | |
84 | val = apply(misc2c.wxCaret_Hide,(self,) + _args, _kwargs) | |
85 | return val | |
8f17924e RD |
86 | def __repr__(self): |
87 | return "<C wxCaret instance at %s>" % (self.this,) | |
88 | class wxCaret(wxCaretPtr): | |
89 | def __init__(self,*_args,**_kwargs): | |
90 | self.this = apply(misc2c.new_wxCaret,_args,_kwargs) | |
91 | self.thisown = 1 | |
92 | ||
93 | ||
94 | ||
95 | ||
4120ef2b RD |
96 | class wxFontEnumeratorPtr : |
97 | def __init__(self,this): | |
98 | self.this = this | |
99 | self.thisown = 0 | |
100 | def __del__(self,misc2c=misc2c): | |
101 | if self.thisown == 1 : | |
102 | misc2c.delete_wxFontEnumerator(self) | |
103 | def _setSelf(self, *_args, **_kwargs): | |
104 | val = apply(misc2c.wxFontEnumerator__setSelf,(self,) + _args, _kwargs) | |
105 | return val | |
106 | def EnumerateFacenames(self, *_args, **_kwargs): | |
107 | val = apply(misc2c.wxFontEnumerator_EnumerateFacenames,(self,) + _args, _kwargs) | |
108 | return val | |
109 | def EnumerateEncodings(self, *_args, **_kwargs): | |
110 | val = apply(misc2c.wxFontEnumerator_EnumerateEncodings,(self,) + _args, _kwargs) | |
111 | return val | |
112 | def GetEncodings(self, *_args, **_kwargs): | |
113 | val = apply(misc2c.wxFontEnumerator_GetEncodings,(self,) + _args, _kwargs) | |
114 | return val | |
115 | def GetFacenames(self, *_args, **_kwargs): | |
116 | val = apply(misc2c.wxFontEnumerator_GetFacenames,(self,) + _args, _kwargs) | |
117 | return val | |
118 | def __repr__(self): | |
119 | return "<C wxFontEnumerator instance at %s>" % (self.this,) | |
120 | class wxFontEnumerator(wxFontEnumeratorPtr): | |
121 | def __init__(self,*_args,**_kwargs): | |
122 | self.this = apply(misc2c.new_wxFontEnumerator,_args,_kwargs) | |
123 | self.thisown = 1 | |
f6bcfd97 | 124 | self._setSelf(self, wxFontEnumerator) |
4120ef2b RD |
125 | |
126 | ||
127 | ||
128 | ||
129 | class wxBusyCursorPtr : | |
130 | def __init__(self,this): | |
131 | self.this = this | |
132 | self.thisown = 0 | |
133 | def __del__(self,misc2c=misc2c): | |
134 | if self.thisown == 1 : | |
135 | misc2c.delete_wxBusyCursor(self) | |
136 | def __repr__(self): | |
137 | return "<C wxBusyCursor instance at %s>" % (self.this,) | |
138 | class wxBusyCursor(wxBusyCursorPtr): | |
139 | def __init__(self,*_args,**_kwargs): | |
140 | self.this = apply(misc2c.new_wxBusyCursor,_args,_kwargs) | |
141 | self.thisown = 1 | |
142 | ||
143 | ||
144 | ||
145 | ||
c368d904 RD |
146 | class wxWindowDisablerPtr : |
147 | def __init__(self,this): | |
148 | self.this = this | |
149 | self.thisown = 0 | |
150 | def __del__(self,misc2c=misc2c): | |
151 | if self.thisown == 1 : | |
152 | misc2c.delete_wxWindowDisabler(self) | |
153 | def __repr__(self): | |
154 | return "<C wxWindowDisabler instance at %s>" % (self.this,) | |
155 | class wxWindowDisabler(wxWindowDisablerPtr): | |
156 | def __init__(self,*_args,**_kwargs): | |
157 | self.this = apply(misc2c.new_wxWindowDisabler,_args,_kwargs) | |
158 | self.thisown = 1 | |
159 | ||
160 | ||
161 | ||
162 | ||
4662be59 RD |
163 | class wxMutexGuiLockerPtr : |
164 | def __init__(self,this): | |
165 | self.this = this | |
166 | self.thisown = 0 | |
167 | def __del__(self,misc2c=misc2c): | |
168 | if self.thisown == 1 : | |
169 | misc2c.delete_wxMutexGuiLocker(self) | |
170 | def __repr__(self): | |
171 | return "<C wxMutexGuiLocker instance at %s>" % (self.this,) | |
172 | class wxMutexGuiLocker(wxMutexGuiLockerPtr): | |
173 | def __init__(self,*_args,**_kwargs): | |
174 | self.this = apply(misc2c.new_wxMutexGuiLocker,_args,_kwargs) | |
175 | self.thisown = 1 | |
176 | ||
177 | ||
178 | ||
179 | ||
f6bcfd97 BP |
180 | class wxTipProviderPtr : |
181 | def __init__(self,this): | |
182 | self.this = this | |
183 | self.thisown = 0 | |
184 | def __del__(self,misc2c=misc2c): | |
185 | if self.thisown == 1 : | |
186 | misc2c.delete_wxTipProvider(self) | |
187 | def GetTip(self, *_args, **_kwargs): | |
188 | val = apply(misc2c.wxTipProvider_GetTip,(self,) + _args, _kwargs) | |
189 | return val | |
190 | def GetCurrentTip(self, *_args, **_kwargs): | |
191 | val = apply(misc2c.wxTipProvider_GetCurrentTip,(self,) + _args, _kwargs) | |
192 | return val | |
193 | def __repr__(self): | |
194 | return "<C wxTipProvider instance at %s>" % (self.this,) | |
195 | class wxTipProvider(wxTipProviderPtr): | |
196 | def __init__(self,this): | |
197 | self.this = this | |
198 | ||
199 | ||
200 | ||
201 | ||
202 | class wxPyTipProviderPtr(wxTipProviderPtr): | |
203 | def __init__(self,this): | |
204 | self.this = this | |
205 | self.thisown = 0 | |
206 | def __repr__(self): | |
207 | return "<C wxPyTipProvider instance at %s>" % (self.this,) | |
208 | class wxPyTipProvider(wxPyTipProviderPtr): | |
209 | def __init__(self,*_args,**_kwargs): | |
210 | self.this = apply(misc2c.new_wxPyTipProvider,_args,_kwargs) | |
211 | self.thisown = 1 | |
212 | ||
213 | ||
214 | ||
215 | ||
9df61a29 | 216 | class wxDragImagePtr(wxObjectPtr): |
f6bcfd97 BP |
217 | def __init__(self,this): |
218 | self.this = this | |
219 | self.thisown = 0 | |
220 | def __del__(self,misc2c=misc2c): | |
221 | if self.thisown == 1 : | |
222 | misc2c.delete_wxDragImage(self) | |
223 | def BeginDrag(self, *_args, **_kwargs): | |
224 | val = apply(misc2c.wxDragImage_BeginDrag,(self,) + _args, _kwargs) | |
225 | return val | |
226 | def BeginDrag2(self, *_args, **_kwargs): | |
227 | val = apply(misc2c.wxDragImage_BeginDrag2,(self,) + _args, _kwargs) | |
228 | return val | |
229 | def EndDrag(self, *_args, **_kwargs): | |
230 | val = apply(misc2c.wxDragImage_EndDrag,(self,) + _args, _kwargs) | |
231 | return val | |
232 | def Move(self, *_args, **_kwargs): | |
233 | val = apply(misc2c.wxDragImage_Move,(self,) + _args, _kwargs) | |
234 | return val | |
235 | def Show(self, *_args, **_kwargs): | |
236 | val = apply(misc2c.wxDragImage_Show,(self,) + _args, _kwargs) | |
237 | return val | |
238 | def Hide(self, *_args, **_kwargs): | |
239 | val = apply(misc2c.wxDragImage_Hide,(self,) + _args, _kwargs) | |
240 | return val | |
241 | def GetImageRect(self, *_args, **_kwargs): | |
242 | val = apply(misc2c.wxDragImage_GetImageRect,(self,) + _args, _kwargs) | |
243 | if val: val = wxRectPtr(val) ; val.thisown = 1 | |
244 | return val | |
245 | def RedrawImage(self, *_args, **_kwargs): | |
246 | val = apply(misc2c.wxDragImage_RedrawImage,(self,) + _args, _kwargs) | |
247 | return val | |
248 | def __repr__(self): | |
249 | return "<C wxDragImage instance at %s>" % (self.this,) | |
250 | class wxDragImage(wxDragImagePtr): | |
251 | def __init__(self,*_args,**_kwargs): | |
252 | self.this = apply(misc2c.new_wxDragImage,_args,_kwargs) | |
253 | self.thisown = 1 | |
254 | ||
255 | ||
256 | ||
257 | ||
9df61a29 | 258 | class wxPyTimerPtr(wxObjectPtr): |
f6bcfd97 BP |
259 | def __init__(self,this): |
260 | self.this = this | |
261 | self.thisown = 0 | |
262 | def __del__(self,misc2c=misc2c): | |
263 | if self.thisown == 1 : | |
264 | misc2c.delete_wxPyTimer(self) | |
265 | def GetInterval(self, *_args, **_kwargs): | |
266 | val = apply(misc2c.wxPyTimer_GetInterval,(self,) + _args, _kwargs) | |
267 | return val | |
268 | def IsOneShot(self, *_args, **_kwargs): | |
269 | val = apply(misc2c.wxPyTimer_IsOneShot,(self,) + _args, _kwargs) | |
270 | return val | |
271 | def IsRunning(self, *_args, **_kwargs): | |
272 | val = apply(misc2c.wxPyTimer_IsRunning,(self,) + _args, _kwargs) | |
273 | return val | |
274 | def SetOwner(self, *_args, **_kwargs): | |
275 | val = apply(misc2c.wxPyTimer_SetOwner,(self,) + _args, _kwargs) | |
276 | return val | |
277 | def Start(self, *_args, **_kwargs): | |
278 | val = apply(misc2c.wxPyTimer_Start,(self,) + _args, _kwargs) | |
279 | return val | |
280 | def Stop(self, *_args, **_kwargs): | |
281 | val = apply(misc2c.wxPyTimer_Stop,(self,) + _args, _kwargs) | |
282 | return val | |
283 | def __repr__(self): | |
284 | return "<C wxPyTimer instance at %s>" % (self.this,) | |
285 | class wxPyTimer(wxPyTimerPtr): | |
286 | def __init__(self,*_args,**_kwargs): | |
287 | self.this = apply(misc2c.new_wxPyTimer,_args,_kwargs) | |
288 | self.thisown = 1 | |
289 | ||
290 | ||
291 | ||
292 | ||
293 | class wxLogPtr : | |
294 | def __init__(self,this): | |
295 | self.this = this | |
296 | self.thisown = 0 | |
297 | def Flush(self, *_args, **_kwargs): | |
298 | val = apply(misc2c.wxLog_Flush,(self,) + _args, _kwargs) | |
299 | return val | |
300 | def HasPendingMessages(self, *_args, **_kwargs): | |
301 | val = apply(misc2c.wxLog_HasPendingMessages,(self,) + _args, _kwargs) | |
302 | return val | |
303 | def SetVerbose(self, *_args, **_kwargs): | |
304 | val = apply(misc2c.wxLog_SetVerbose,(self,) + _args, _kwargs) | |
305 | return val | |
306 | def GetVerbose(self, *_args, **_kwargs): | |
307 | val = apply(misc2c.wxLog_GetVerbose,(self,) + _args, _kwargs) | |
308 | return val | |
309 | def __repr__(self): | |
310 | return "<C wxLog instance at %s>" % (self.this,) | |
311 | class wxLog(wxLogPtr): | |
312 | def __init__(self,*_args,**_kwargs): | |
313 | self.this = apply(misc2c.new_wxLog,_args,_kwargs) | |
314 | self.thisown = 1 | |
315 | ||
316 | ||
317 | ||
318 | ||
319 | class wxLogStderrPtr(wxLogPtr): | |
320 | def __init__(self,this): | |
321 | self.this = this | |
322 | self.thisown = 0 | |
323 | def __repr__(self): | |
324 | return "<C wxLogStderr instance at %s>" % (self.this,) | |
325 | class wxLogStderr(wxLogStderrPtr): | |
326 | def __init__(self,*_args,**_kwargs): | |
327 | self.this = apply(misc2c.new_wxLogStderr,_args,_kwargs) | |
328 | self.thisown = 1 | |
329 | ||
330 | ||
331 | ||
332 | ||
333 | class wxLogTextCtrlPtr(wxLogPtr): | |
334 | def __init__(self,this): | |
335 | self.this = this | |
336 | self.thisown = 0 | |
337 | def __repr__(self): | |
338 | return "<C wxLogTextCtrl instance at %s>" % (self.this,) | |
339 | class wxLogTextCtrl(wxLogTextCtrlPtr): | |
340 | def __init__(self,*_args,**_kwargs): | |
341 | self.this = apply(misc2c.new_wxLogTextCtrl,_args,_kwargs) | |
342 | self.thisown = 1 | |
343 | ||
344 | ||
345 | ||
346 | ||
347 | class wxLogGuiPtr(wxLogPtr): | |
348 | def __init__(self,this): | |
349 | self.this = this | |
350 | self.thisown = 0 | |
351 | def __repr__(self): | |
352 | return "<C wxLogGui instance at %s>" % (self.this,) | |
353 | class wxLogGui(wxLogGuiPtr): | |
354 | def __init__(self,*_args,**_kwargs): | |
355 | self.this = apply(misc2c.new_wxLogGui,_args,_kwargs) | |
356 | self.thisown = 1 | |
357 | ||
358 | ||
359 | ||
360 | ||
361 | class wxLogWindowPtr(wxLogPtr): | |
362 | def __init__(self,this): | |
363 | self.this = this | |
364 | self.thisown = 0 | |
365 | def Show(self, *_args, **_kwargs): | |
366 | val = apply(misc2c.wxLogWindow_Show,(self,) + _args, _kwargs) | |
367 | return val | |
368 | def GetFrame(self, *_args, **_kwargs): | |
369 | val = apply(misc2c.wxLogWindow_GetFrame,(self,) + _args, _kwargs) | |
f6bcfd97 BP |
370 | return val |
371 | def GetOldLog(self, *_args, **_kwargs): | |
372 | val = apply(misc2c.wxLogWindow_GetOldLog,(self,) + _args, _kwargs) | |
373 | if val: val = wxLogPtr(val) | |
374 | return val | |
375 | def IsPassingMessages(self, *_args, **_kwargs): | |
376 | val = apply(misc2c.wxLogWindow_IsPassingMessages,(self,) + _args, _kwargs) | |
377 | return val | |
378 | def PassMessages(self, *_args, **_kwargs): | |
379 | val = apply(misc2c.wxLogWindow_PassMessages,(self,) + _args, _kwargs) | |
380 | return val | |
381 | def __repr__(self): | |
382 | return "<C wxLogWindow instance at %s>" % (self.this,) | |
383 | class wxLogWindow(wxLogWindowPtr): | |
384 | def __init__(self,*_args,**_kwargs): | |
385 | self.this = apply(misc2c.new_wxLogWindow,_args,_kwargs) | |
386 | self.thisown = 1 | |
387 | ||
388 | ||
389 | ||
390 | ||
391 | class wxLogNullPtr : | |
392 | def __init__(self,this): | |
393 | self.this = this | |
394 | self.thisown = 0 | |
395 | def __del__(self,misc2c=misc2c): | |
396 | if self.thisown == 1 : | |
397 | misc2c.delete_wxLogNull(self) | |
398 | def __repr__(self): | |
399 | return "<C wxLogNull instance at %s>" % (self.this,) | |
400 | class wxLogNull(wxLogNullPtr): | |
401 | def __init__(self,*_args,**_kwargs): | |
402 | self.this = apply(misc2c.new_wxLogNull,_args,_kwargs) | |
403 | self.thisown = 1 | |
404 | ||
405 | ||
406 | ||
407 | ||
c368d904 RD |
408 | class wxProcessEventPtr(wxEventPtr): |
409 | def __init__(self,this): | |
410 | self.this = this | |
411 | self.thisown = 0 | |
412 | def GetPid(self, *_args, **_kwargs): | |
413 | val = apply(misc2c.wxProcessEvent_GetPid,(self,) + _args, _kwargs) | |
414 | return val | |
415 | def GetExitCode(self, *_args, **_kwargs): | |
416 | val = apply(misc2c.wxProcessEvent_GetExitCode,(self,) + _args, _kwargs) | |
417 | return val | |
418 | def __setattr__(self,name,value): | |
419 | if name == "m_pid" : | |
420 | misc2c.wxProcessEvent_m_pid_set(self,value) | |
421 | return | |
422 | if name == "m_exitcode" : | |
423 | misc2c.wxProcessEvent_m_exitcode_set(self,value) | |
424 | return | |
425 | self.__dict__[name] = value | |
426 | def __getattr__(self,name): | |
427 | if name == "m_pid" : | |
428 | return misc2c.wxProcessEvent_m_pid_get(self) | |
429 | if name == "m_exitcode" : | |
430 | return misc2c.wxProcessEvent_m_exitcode_get(self) | |
431 | raise AttributeError,name | |
432 | def __repr__(self): | |
433 | return "<C wxProcessEvent instance at %s>" % (self.this,) | |
434 | class wxProcessEvent(wxProcessEventPtr): | |
435 | def __init__(self,*_args,**_kwargs): | |
436 | self.this = apply(misc2c.new_wxProcessEvent,_args,_kwargs) | |
437 | self.thisown = 1 | |
438 | ||
439 | ||
440 | ||
441 | ||
442 | class wxProcessPtr(wxEvtHandlerPtr): | |
443 | def __init__(self,this): | |
444 | self.this = this | |
445 | self.thisown = 0 | |
446 | def Destroy(self, *_args, **_kwargs): | |
447 | val = apply(misc2c.wxProcess_Destroy,(self,) + _args, _kwargs) | |
448 | return val | |
449 | def _setSelf(self, *_args, **_kwargs): | |
450 | val = apply(misc2c.wxProcess__setSelf,(self,) + _args, _kwargs) | |
451 | return val | |
452 | def base_OnTerminate(self, *_args, **_kwargs): | |
453 | val = apply(misc2c.wxProcess_base_OnTerminate,(self,) + _args, _kwargs) | |
454 | return val | |
455 | def Redirect(self, *_args, **_kwargs): | |
456 | val = apply(misc2c.wxProcess_Redirect,(self,) + _args, _kwargs) | |
457 | return val | |
458 | def IsRedirected(self, *_args, **_kwargs): | |
459 | val = apply(misc2c.wxProcess_IsRedirected,(self,) + _args, _kwargs) | |
460 | return val | |
461 | def Detach(self, *_args, **_kwargs): | |
462 | val = apply(misc2c.wxProcess_Detach,(self,) + _args, _kwargs) | |
463 | return val | |
464 | def GetInputStream(self, *_args, **_kwargs): | |
465 | val = apply(misc2c.wxProcess_GetInputStream,(self,) + _args, _kwargs) | |
466 | return val | |
467 | def GetErrorStream(self, *_args, **_kwargs): | |
468 | val = apply(misc2c.wxProcess_GetErrorStream,(self,) + _args, _kwargs) | |
469 | return val | |
470 | def GetOutputStream(self, *_args, **_kwargs): | |
471 | val = apply(misc2c.wxProcess_GetOutputStream,(self,) + _args, _kwargs) | |
472 | if val: val = wxOutputStreamPtr(val) | |
473 | return val | |
474 | def CloseOutput(self, *_args, **_kwargs): | |
475 | val = apply(misc2c.wxProcess_CloseOutput,(self,) + _args, _kwargs) | |
476 | return val | |
477 | def __repr__(self): | |
478 | return "<C wxProcess instance at %s>" % (self.this,) | |
479 | class wxProcess(wxProcessPtr): | |
480 | def __init__(self,*_args,**_kwargs): | |
481 | self.this = apply(misc2c.new_wxProcess,_args,_kwargs) | |
482 | self.thisown = 1 | |
483 | self._setSelf(self, wxProcess) | |
484 | ||
485 | ||
486 | ||
487 | ||
d24a34bb RD |
488 | |
489 | ||
490 | #-------------- FUNCTION WRAPPERS ------------------ | |
491 | ||
bc29c5e0 RD |
492 | wxFileSelector = misc2c.wxFileSelector |
493 | ||
494 | wxGetTextFromUser = misc2c.wxGetTextFromUser | |
495 | ||
1b62f00d RD |
496 | wxGetPasswordFromUser = misc2c.wxGetPasswordFromUser |
497 | ||
bc29c5e0 RD |
498 | wxGetSingleChoice = misc2c.wxGetSingleChoice |
499 | ||
500 | wxGetSingleChoiceIndex = misc2c.wxGetSingleChoiceIndex | |
501 | ||
502 | wxMessageBox = misc2c.wxMessageBox | |
503 | ||
504 | wxGetNumberFromUser = misc2c.wxGetNumberFromUser | |
505 | ||
506 | wxColourDisplay = misc2c.wxColourDisplay | |
507 | ||
508 | wxDisplayDepth = misc2c.wxDisplayDepth | |
509 | ||
b68dc582 RD |
510 | wxGetDisplayDepth = misc2c.wxGetDisplayDepth |
511 | ||
512 | wxDisplaySize = misc2c.wxDisplaySize | |
513 | ||
514 | def wxGetDisplaySize(*_args, **_kwargs): | |
515 | val = apply(misc2c.wxGetDisplaySize,_args,_kwargs) | |
516 | if val: val = wxSizePtr(val); val.thisown = 1 | |
517 | return val | |
518 | ||
9c4165ad RD |
519 | wxDisplaySizeMM = misc2c.wxDisplaySizeMM |
520 | ||
521 | def wxGetDisplaySizeMM(*_args, **_kwargs): | |
522 | val = apply(misc2c.wxGetDisplaySizeMM,_args,_kwargs) | |
523 | if val: val = wxSizePtr(val); val.thisown = 1 | |
524 | return val | |
525 | ||
9e689c06 RD |
526 | wxClientDisplayRect = misc2c.wxClientDisplayRect |
527 | ||
528 | def wxGetClientDisplayRect(*_args, **_kwargs): | |
529 | val = apply(misc2c.wxGetClientDisplayRect,_args,_kwargs) | |
530 | if val: val = wxRectPtr(val); val.thisown = 1 | |
531 | return val | |
532 | ||
bc29c5e0 RD |
533 | wxSetCursor = misc2c.wxSetCursor |
534 | ||
2d091820 RD |
535 | def wxFindWindowByLabel(*_args, **_kwargs): |
536 | val = apply(misc2c.wxFindWindowByLabel,_args,_kwargs) | |
d24a34bb RD |
537 | return val |
538 | ||
2d091820 RD |
539 | def wxFindWindowByName(*_args, **_kwargs): |
540 | val = apply(misc2c.wxFindWindowByName,_args,_kwargs) | |
d24a34bb RD |
541 | return val |
542 | ||
bc29c5e0 RD |
543 | wxBeginBusyCursor = misc2c.wxBeginBusyCursor |
544 | ||
545 | def wxGetActiveWindow(*_args, **_kwargs): | |
546 | val = apply(misc2c.wxGetActiveWindow,_args,_kwargs) | |
bc29c5e0 RD |
547 | return val |
548 | ||
549 | wxResourceAddIdentifier = misc2c.wxResourceAddIdentifier | |
550 | ||
551 | wxResourceClear = misc2c.wxResourceClear | |
552 | ||
553 | def wxResourceCreateBitmap(*_args, **_kwargs): | |
554 | val = apply(misc2c.wxResourceCreateBitmap,_args,_kwargs) | |
555 | if val: val = wxBitmapPtr(val); val.thisown = 1 | |
556 | return val | |
557 | ||
558 | def wxResourceCreateIcon(*_args, **_kwargs): | |
559 | val = apply(misc2c.wxResourceCreateIcon,_args,_kwargs) | |
560 | if val: val = wxIconPtr(val); val.thisown = 1 | |
561 | return val | |
562 | ||
563 | def wxResourceCreateMenuBar(*_args, **_kwargs): | |
564 | val = apply(misc2c.wxResourceCreateMenuBar,_args,_kwargs) | |
bc29c5e0 RD |
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 |