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