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