]>
Commit | Line | Data |
---|---|---|
d24a34bb RD |
1 | # This file was created automatically by SWIG. |
2 | import misc2c | |
3 | ||
4 | from windows import * | |
5 | ||
6 | from misc import * | |
7 | ||
8 | from gdi import * | |
4120ef2b RD |
9 | |
10 | from clip_dnd import * | |
11 | ||
12 | from events import * | |
d24a34bb RD |
13 | class wxToolTipPtr : |
14 | def __init__(self,this): | |
15 | self.this = this | |
16 | self.thisown = 0 | |
2d091820 RD |
17 | def SetTip(self, *_args, **_kwargs): |
18 | val = apply(misc2c.wxToolTip_SetTip,(self,) + _args, _kwargs) | |
d24a34bb | 19 | return val |
2d091820 RD |
20 | def GetTip(self, *_args, **_kwargs): |
21 | val = apply(misc2c.wxToolTip_GetTip,(self,) + _args, _kwargs) | |
d24a34bb | 22 | return val |
2d091820 RD |
23 | def GetWindow(self, *_args, **_kwargs): |
24 | val = apply(misc2c.wxToolTip_GetWindow,(self,) + _args, _kwargs) | |
25 | if val: val = wxWindowPtr(val) | |
d24a34bb RD |
26 | return val |
27 | def __repr__(self): | |
2d091820 | 28 | return "<C wxToolTip instance at %s>" % (self.this,) |
d24a34bb | 29 | class wxToolTip(wxToolTipPtr): |
2d091820 RD |
30 | def __init__(self,*_args,**_kwargs): |
31 | self.this = apply(misc2c.new_wxToolTip,_args,_kwargs) | |
d24a34bb RD |
32 | self.thisown = 1 |
33 | ||
34 | ||
35 | ||
36 | ||
8f17924e RD |
37 | class wxCaretPtr : |
38 | def __init__(self,this): | |
39 | self.this = this | |
40 | self.thisown = 0 | |
41 | def __del__(self,misc2c=misc2c): | |
42 | if self.thisown == 1 : | |
43 | misc2c.delete_wxCaret(self) | |
44 | def IsOk(self, *_args, **_kwargs): | |
45 | val = apply(misc2c.wxCaret_IsOk,(self,) + _args, _kwargs) | |
46 | return val | |
47 | def IsVisible(self, *_args, **_kwargs): | |
48 | val = apply(misc2c.wxCaret_IsVisible,(self,) + _args, _kwargs) | |
49 | return val | |
50 | def GetPositionTuple(self, *_args, **_kwargs): | |
51 | val = apply(misc2c.wxCaret_GetPositionTuple,(self,) + _args, _kwargs) | |
52 | return val | |
53 | def GetPosition(self, *_args, **_kwargs): | |
54 | val = apply(misc2c.wxCaret_GetPosition,(self,) + _args, _kwargs) | |
55 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
56 | return val | |
57 | def GetSizeTuple(self, *_args, **_kwargs): | |
58 | val = apply(misc2c.wxCaret_GetSizeTuple,(self,) + _args, _kwargs) | |
59 | return val | |
60 | def GetSize(self, *_args, **_kwargs): | |
61 | val = apply(misc2c.wxCaret_GetSize,(self,) + _args, _kwargs) | |
62 | if val: val = wxSizePtr(val) ; val.thisown = 1 | |
63 | return val | |
64 | def GetWindow(self, *_args, **_kwargs): | |
65 | val = apply(misc2c.wxCaret_GetWindow,(self,) + _args, _kwargs) | |
66 | if val: val = wxWindowPtr(val) | |
67 | return val | |
68 | def MoveXY(self, *_args, **_kwargs): | |
69 | val = apply(misc2c.wxCaret_MoveXY,(self,) + _args, _kwargs) | |
70 | return val | |
71 | def Move(self, *_args, **_kwargs): | |
72 | val = apply(misc2c.wxCaret_Move,(self,) + _args, _kwargs) | |
73 | return val | |
e02c03a4 RD |
74 | def SetSizeWH(self, *_args, **_kwargs): |
75 | val = apply(misc2c.wxCaret_SetSizeWH,(self,) + _args, _kwargs) | |
76 | return val | |
77 | def SetSize(self, *_args, **_kwargs): | |
78 | val = apply(misc2c.wxCaret_SetSize,(self,) + _args, _kwargs) | |
79 | return val | |
8f17924e RD |
80 | def Show(self, *_args, **_kwargs): |
81 | val = apply(misc2c.wxCaret_Show,(self,) + _args, _kwargs) | |
82 | return val | |
83 | def Hide(self, *_args, **_kwargs): | |
84 | val = apply(misc2c.wxCaret_Hide,(self,) + _args, _kwargs) | |
85 | return val | |
8f17924e RD |
86 | def __repr__(self): |
87 | return "<C wxCaret instance at %s>" % (self.this,) | |
88 | class wxCaret(wxCaretPtr): | |
89 | def __init__(self,*_args,**_kwargs): | |
90 | self.this = apply(misc2c.new_wxCaret,_args,_kwargs) | |
91 | self.thisown = 1 | |
92 | ||
93 | ||
94 | ||
95 | ||
4120ef2b RD |
96 | class wxFontEnumeratorPtr : |
97 | def __init__(self,this): | |
98 | self.this = this | |
99 | self.thisown = 0 | |
100 | def __del__(self,misc2c=misc2c): | |
101 | if self.thisown == 1 : | |
102 | misc2c.delete_wxFontEnumerator(self) | |
103 | def _setSelf(self, *_args, **_kwargs): | |
104 | val = apply(misc2c.wxFontEnumerator__setSelf,(self,) + _args, _kwargs) | |
105 | return val | |
106 | def EnumerateFacenames(self, *_args, **_kwargs): | |
107 | val = apply(misc2c.wxFontEnumerator_EnumerateFacenames,(self,) + _args, _kwargs) | |
108 | return val | |
109 | def EnumerateEncodings(self, *_args, **_kwargs): | |
110 | val = apply(misc2c.wxFontEnumerator_EnumerateEncodings,(self,) + _args, _kwargs) | |
111 | return val | |
112 | def GetEncodings(self, *_args, **_kwargs): | |
113 | val = apply(misc2c.wxFontEnumerator_GetEncodings,(self,) + _args, _kwargs) | |
114 | return val | |
115 | def GetFacenames(self, *_args, **_kwargs): | |
116 | val = apply(misc2c.wxFontEnumerator_GetFacenames,(self,) + _args, _kwargs) | |
117 | return val | |
118 | def __repr__(self): | |
119 | return "<C wxFontEnumerator instance at %s>" % (self.this,) | |
120 | class wxFontEnumerator(wxFontEnumeratorPtr): | |
121 | def __init__(self,*_args,**_kwargs): | |
122 | self.this = apply(misc2c.new_wxFontEnumerator,_args,_kwargs) | |
123 | self.thisown = 1 | |
f6bcfd97 | 124 | self._setSelf(self, wxFontEnumerator) |
4120ef2b RD |
125 | |
126 | ||
127 | ||
128 | ||
129 | class wxBusyCursorPtr : | |
130 | def __init__(self,this): | |
131 | self.this = this | |
132 | self.thisown = 0 | |
133 | def __del__(self,misc2c=misc2c): | |
134 | if self.thisown == 1 : | |
135 | misc2c.delete_wxBusyCursor(self) | |
136 | def __repr__(self): | |
137 | return "<C wxBusyCursor instance at %s>" % (self.this,) | |
138 | class wxBusyCursor(wxBusyCursorPtr): | |
139 | def __init__(self,*_args,**_kwargs): | |
140 | self.this = apply(misc2c.new_wxBusyCursor,_args,_kwargs) | |
141 | self.thisown = 1 | |
142 | ||
143 | ||
144 | ||
145 | ||
f6bcfd97 BP |
146 | class wxTipProviderPtr : |
147 | def __init__(self,this): | |
148 | self.this = this | |
149 | self.thisown = 0 | |
150 | def __del__(self,misc2c=misc2c): | |
151 | if self.thisown == 1 : | |
152 | misc2c.delete_wxTipProvider(self) | |
153 | def GetTip(self, *_args, **_kwargs): | |
154 | val = apply(misc2c.wxTipProvider_GetTip,(self,) + _args, _kwargs) | |
155 | return val | |
156 | def GetCurrentTip(self, *_args, **_kwargs): | |
157 | val = apply(misc2c.wxTipProvider_GetCurrentTip,(self,) + _args, _kwargs) | |
158 | return val | |
159 | def __repr__(self): | |
160 | return "<C wxTipProvider instance at %s>" % (self.this,) | |
161 | class wxTipProvider(wxTipProviderPtr): | |
162 | def __init__(self,this): | |
163 | self.this = this | |
164 | ||
165 | ||
166 | ||
167 | ||
168 | class wxPyTipProviderPtr(wxTipProviderPtr): | |
169 | def __init__(self,this): | |
170 | self.this = this | |
171 | self.thisown = 0 | |
172 | def __repr__(self): | |
173 | return "<C wxPyTipProvider instance at %s>" % (self.this,) | |
174 | class wxPyTipProvider(wxPyTipProviderPtr): | |
175 | def __init__(self,*_args,**_kwargs): | |
176 | self.this = apply(misc2c.new_wxPyTipProvider,_args,_kwargs) | |
177 | self.thisown = 1 | |
178 | ||
179 | ||
180 | ||
181 | ||
182 | class wxDragImagePtr : | |
183 | def __init__(self,this): | |
184 | self.this = this | |
185 | self.thisown = 0 | |
186 | def __del__(self,misc2c=misc2c): | |
187 | if self.thisown == 1 : | |
188 | misc2c.delete_wxDragImage(self) | |
189 | def BeginDrag(self, *_args, **_kwargs): | |
190 | val = apply(misc2c.wxDragImage_BeginDrag,(self,) + _args, _kwargs) | |
191 | return val | |
192 | def BeginDrag2(self, *_args, **_kwargs): | |
193 | val = apply(misc2c.wxDragImage_BeginDrag2,(self,) + _args, _kwargs) | |
194 | return val | |
195 | def EndDrag(self, *_args, **_kwargs): | |
196 | val = apply(misc2c.wxDragImage_EndDrag,(self,) + _args, _kwargs) | |
197 | return val | |
198 | def Move(self, *_args, **_kwargs): | |
199 | val = apply(misc2c.wxDragImage_Move,(self,) + _args, _kwargs) | |
200 | return val | |
201 | def Show(self, *_args, **_kwargs): | |
202 | val = apply(misc2c.wxDragImage_Show,(self,) + _args, _kwargs) | |
203 | return val | |
204 | def Hide(self, *_args, **_kwargs): | |
205 | val = apply(misc2c.wxDragImage_Hide,(self,) + _args, _kwargs) | |
206 | return val | |
207 | def GetImageRect(self, *_args, **_kwargs): | |
208 | val = apply(misc2c.wxDragImage_GetImageRect,(self,) + _args, _kwargs) | |
209 | if val: val = wxRectPtr(val) ; val.thisown = 1 | |
210 | return val | |
211 | def RedrawImage(self, *_args, **_kwargs): | |
212 | val = apply(misc2c.wxDragImage_RedrawImage,(self,) + _args, _kwargs) | |
213 | return val | |
214 | def __repr__(self): | |
215 | return "<C wxDragImage instance at %s>" % (self.this,) | |
216 | class wxDragImage(wxDragImagePtr): | |
217 | def __init__(self,*_args,**_kwargs): | |
218 | self.this = apply(misc2c.new_wxDragImage,_args,_kwargs) | |
219 | self.thisown = 1 | |
220 | ||
221 | ||
222 | ||
223 | ||
224 | class wxPyTimerPtr : | |
225 | def __init__(self,this): | |
226 | self.this = this | |
227 | self.thisown = 0 | |
228 | def __del__(self,misc2c=misc2c): | |
229 | if self.thisown == 1 : | |
230 | misc2c.delete_wxPyTimer(self) | |
231 | def GetInterval(self, *_args, **_kwargs): | |
232 | val = apply(misc2c.wxPyTimer_GetInterval,(self,) + _args, _kwargs) | |
233 | return val | |
234 | def IsOneShot(self, *_args, **_kwargs): | |
235 | val = apply(misc2c.wxPyTimer_IsOneShot,(self,) + _args, _kwargs) | |
236 | return val | |
237 | def IsRunning(self, *_args, **_kwargs): | |
238 | val = apply(misc2c.wxPyTimer_IsRunning,(self,) + _args, _kwargs) | |
239 | return val | |
240 | def SetOwner(self, *_args, **_kwargs): | |
241 | val = apply(misc2c.wxPyTimer_SetOwner,(self,) + _args, _kwargs) | |
242 | return val | |
243 | def Start(self, *_args, **_kwargs): | |
244 | val = apply(misc2c.wxPyTimer_Start,(self,) + _args, _kwargs) | |
245 | return val | |
246 | def Stop(self, *_args, **_kwargs): | |
247 | val = apply(misc2c.wxPyTimer_Stop,(self,) + _args, _kwargs) | |
248 | return val | |
249 | def __repr__(self): | |
250 | return "<C wxPyTimer instance at %s>" % (self.this,) | |
251 | class wxPyTimer(wxPyTimerPtr): | |
252 | def __init__(self,*_args,**_kwargs): | |
253 | self.this = apply(misc2c.new_wxPyTimer,_args,_kwargs) | |
254 | self.thisown = 1 | |
255 | ||
256 | ||
257 | ||
258 | ||
259 | class wxLogPtr : | |
260 | def __init__(self,this): | |
261 | self.this = this | |
262 | self.thisown = 0 | |
263 | def Flush(self, *_args, **_kwargs): | |
264 | val = apply(misc2c.wxLog_Flush,(self,) + _args, _kwargs) | |
265 | return val | |
266 | def HasPendingMessages(self, *_args, **_kwargs): | |
267 | val = apply(misc2c.wxLog_HasPendingMessages,(self,) + _args, _kwargs) | |
268 | return val | |
269 | def SetVerbose(self, *_args, **_kwargs): | |
270 | val = apply(misc2c.wxLog_SetVerbose,(self,) + _args, _kwargs) | |
271 | return val | |
272 | def GetVerbose(self, *_args, **_kwargs): | |
273 | val = apply(misc2c.wxLog_GetVerbose,(self,) + _args, _kwargs) | |
274 | return val | |
275 | def __repr__(self): | |
276 | return "<C wxLog instance at %s>" % (self.this,) | |
277 | class wxLog(wxLogPtr): | |
278 | def __init__(self,*_args,**_kwargs): | |
279 | self.this = apply(misc2c.new_wxLog,_args,_kwargs) | |
280 | self.thisown = 1 | |
281 | ||
282 | ||
283 | ||
284 | ||
285 | class wxLogStderrPtr(wxLogPtr): | |
286 | def __init__(self,this): | |
287 | self.this = this | |
288 | self.thisown = 0 | |
289 | def __repr__(self): | |
290 | return "<C wxLogStderr instance at %s>" % (self.this,) | |
291 | class wxLogStderr(wxLogStderrPtr): | |
292 | def __init__(self,*_args,**_kwargs): | |
293 | self.this = apply(misc2c.new_wxLogStderr,_args,_kwargs) | |
294 | self.thisown = 1 | |
295 | ||
296 | ||
297 | ||
298 | ||
299 | class wxLogTextCtrlPtr(wxLogPtr): | |
300 | def __init__(self,this): | |
301 | self.this = this | |
302 | self.thisown = 0 | |
303 | def __repr__(self): | |
304 | return "<C wxLogTextCtrl instance at %s>" % (self.this,) | |
305 | class wxLogTextCtrl(wxLogTextCtrlPtr): | |
306 | def __init__(self,*_args,**_kwargs): | |
307 | self.this = apply(misc2c.new_wxLogTextCtrl,_args,_kwargs) | |
308 | self.thisown = 1 | |
309 | ||
310 | ||
311 | ||
312 | ||
313 | class wxLogGuiPtr(wxLogPtr): | |
314 | def __init__(self,this): | |
315 | self.this = this | |
316 | self.thisown = 0 | |
317 | def __repr__(self): | |
318 | return "<C wxLogGui instance at %s>" % (self.this,) | |
319 | class wxLogGui(wxLogGuiPtr): | |
320 | def __init__(self,*_args,**_kwargs): | |
321 | self.this = apply(misc2c.new_wxLogGui,_args,_kwargs) | |
322 | self.thisown = 1 | |
323 | ||
324 | ||
325 | ||
326 | ||
327 | class wxLogWindowPtr(wxLogPtr): | |
328 | def __init__(self,this): | |
329 | self.this = this | |
330 | self.thisown = 0 | |
331 | def Show(self, *_args, **_kwargs): | |
332 | val = apply(misc2c.wxLogWindow_Show,(self,) + _args, _kwargs) | |
333 | return val | |
334 | def GetFrame(self, *_args, **_kwargs): | |
335 | val = apply(misc2c.wxLogWindow_GetFrame,(self,) + _args, _kwargs) | |
336 | if val: val = wxFramePtr(val) | |
337 | return val | |
338 | def GetOldLog(self, *_args, **_kwargs): | |
339 | val = apply(misc2c.wxLogWindow_GetOldLog,(self,) + _args, _kwargs) | |
340 | if val: val = wxLogPtr(val) | |
341 | return val | |
342 | def IsPassingMessages(self, *_args, **_kwargs): | |
343 | val = apply(misc2c.wxLogWindow_IsPassingMessages,(self,) + _args, _kwargs) | |
344 | return val | |
345 | def PassMessages(self, *_args, **_kwargs): | |
346 | val = apply(misc2c.wxLogWindow_PassMessages,(self,) + _args, _kwargs) | |
347 | return val | |
348 | def __repr__(self): | |
349 | return "<C wxLogWindow instance at %s>" % (self.this,) | |
350 | class wxLogWindow(wxLogWindowPtr): | |
351 | def __init__(self,*_args,**_kwargs): | |
352 | self.this = apply(misc2c.new_wxLogWindow,_args,_kwargs) | |
353 | self.thisown = 1 | |
354 | ||
355 | ||
356 | ||
357 | ||
358 | class wxLogNullPtr : | |
359 | def __init__(self,this): | |
360 | self.this = this | |
361 | self.thisown = 0 | |
362 | def __del__(self,misc2c=misc2c): | |
363 | if self.thisown == 1 : | |
364 | misc2c.delete_wxLogNull(self) | |
365 | def __repr__(self): | |
366 | return "<C wxLogNull instance at %s>" % (self.this,) | |
367 | class wxLogNull(wxLogNullPtr): | |
368 | def __init__(self,*_args,**_kwargs): | |
369 | self.this = apply(misc2c.new_wxLogNull,_args,_kwargs) | |
370 | self.thisown = 1 | |
371 | ||
372 | ||
373 | ||
374 | ||
d24a34bb RD |
375 | |
376 | ||
377 | #-------------- FUNCTION WRAPPERS ------------------ | |
378 | ||
bc29c5e0 RD |
379 | wxFileSelector = misc2c.wxFileSelector |
380 | ||
381 | wxGetTextFromUser = misc2c.wxGetTextFromUser | |
382 | ||
383 | wxGetSingleChoice = misc2c.wxGetSingleChoice | |
384 | ||
385 | wxGetSingleChoiceIndex = misc2c.wxGetSingleChoiceIndex | |
386 | ||
387 | wxMessageBox = misc2c.wxMessageBox | |
388 | ||
389 | wxGetNumberFromUser = misc2c.wxGetNumberFromUser | |
390 | ||
391 | wxColourDisplay = misc2c.wxColourDisplay | |
392 | ||
393 | wxDisplayDepth = misc2c.wxDisplayDepth | |
394 | ||
395 | wxSetCursor = misc2c.wxSetCursor | |
396 | ||
2d091820 RD |
397 | def wxFindWindowByLabel(*_args, **_kwargs): |
398 | val = apply(misc2c.wxFindWindowByLabel,_args,_kwargs) | |
399 | if val: val = wxWindowPtr(val) | |
d24a34bb RD |
400 | return val |
401 | ||
2d091820 RD |
402 | def wxFindWindowByName(*_args, **_kwargs): |
403 | val = apply(misc2c.wxFindWindowByName,_args,_kwargs) | |
404 | if val: val = wxWindowPtr(val) | |
d24a34bb RD |
405 | return val |
406 | ||
bc29c5e0 RD |
407 | wxBeginBusyCursor = misc2c.wxBeginBusyCursor |
408 | ||
409 | def wxGetActiveWindow(*_args, **_kwargs): | |
410 | val = apply(misc2c.wxGetActiveWindow,_args,_kwargs) | |
411 | if val: val = wxWindowPtr(val) | |
412 | return val | |
413 | ||
414 | wxResourceAddIdentifier = misc2c.wxResourceAddIdentifier | |
415 | ||
416 | wxResourceClear = misc2c.wxResourceClear | |
417 | ||
418 | def wxResourceCreateBitmap(*_args, **_kwargs): | |
419 | val = apply(misc2c.wxResourceCreateBitmap,_args,_kwargs) | |
420 | if val: val = wxBitmapPtr(val); val.thisown = 1 | |
421 | return val | |
422 | ||
423 | def wxResourceCreateIcon(*_args, **_kwargs): | |
424 | val = apply(misc2c.wxResourceCreateIcon,_args,_kwargs) | |
425 | if val: val = wxIconPtr(val); val.thisown = 1 | |
426 | return val | |
427 | ||
428 | def wxResourceCreateMenuBar(*_args, **_kwargs): | |
429 | val = apply(misc2c.wxResourceCreateMenuBar,_args,_kwargs) | |
430 | if val: val = wxMenuBarPtr(val) | |
431 | return val | |
432 | ||
433 | wxResourceGetIdentifier = misc2c.wxResourceGetIdentifier | |
434 | ||
435 | wxResourceParseData = misc2c.wxResourceParseData | |
436 | ||
437 | wxResourceParseFile = misc2c.wxResourceParseFile | |
438 | ||
439 | wxResourceParseString = misc2c.wxResourceParseString | |
440 | ||
441 | def wxSystemSettings_GetSystemColour(*_args, **_kwargs): | |
442 | val = apply(misc2c.wxSystemSettings_GetSystemColour,_args,_kwargs) | |
443 | if val: val = wxColourPtr(val); val.thisown = 1 | |
444 | return val | |
445 | ||
446 | def wxSystemSettings_GetSystemFont(*_args, **_kwargs): | |
447 | val = apply(misc2c.wxSystemSettings_GetSystemFont,_args,_kwargs) | |
448 | if val: val = wxFontPtr(val); val.thisown = 1 | |
449 | return val | |
450 | ||
451 | wxSystemSettings_GetSystemMetric = misc2c.wxSystemSettings_GetSystemMetric | |
452 | ||
d24a34bb RD |
453 | wxToolTip_Enable = misc2c.wxToolTip_Enable |
454 | ||
455 | wxToolTip_SetDelay = misc2c.wxToolTip_SetDelay | |
456 | ||
8f17924e RD |
457 | wxCaret_GetBlinkTime = misc2c.wxCaret_GetBlinkTime |
458 | ||
459 | wxCaret_SetBlinkTime = misc2c.wxCaret_SetBlinkTime | |
460 | ||
4120ef2b RD |
461 | wxPostEvent = misc2c.wxPostEvent |
462 | ||
d29aba2f RD |
463 | wxWakeUpIdle = misc2c.wxWakeUpIdle |
464 | ||
f6bcfd97 BP |
465 | wxShowTip = misc2c.wxShowTip |
466 | ||
467 | def wxCreateFileTipProvider(*_args, **_kwargs): | |
468 | val = apply(misc2c.wxCreateFileTipProvider,_args,_kwargs) | |
469 | if val: val = wxTipProviderPtr(val); val.thisown = 1 | |
470 | return val | |
471 | ||
472 | def wxDragIcon(*_args, **_kwargs): | |
473 | val = apply(misc2c.wxDragIcon,_args,_kwargs) | |
474 | if val: val = wxDragImagePtr(val); val.thisown = 1 | |
475 | return val | |
476 | ||
477 | def wxDragString(*_args, **_kwargs): | |
478 | val = apply(misc2c.wxDragString,_args,_kwargs) | |
479 | if val: val = wxDragImagePtr(val); val.thisown = 1 | |
480 | return val | |
481 | ||
482 | def wxDragTreeItem(*_args, **_kwargs): | |
483 | val = apply(misc2c.wxDragTreeItem,_args,_kwargs) | |
484 | if val: val = wxDragImagePtr(val); val.thisown = 1 | |
485 | return val | |
486 | ||
487 | def wxDragListItem(*_args, **_kwargs): | |
488 | val = apply(misc2c.wxDragListItem,_args,_kwargs) | |
489 | if val: val = wxDragImagePtr(val); val.thisown = 1 | |
490 | return val | |
491 | ||
492 | wxSysErrorCode = misc2c.wxSysErrorCode | |
493 | ||
494 | wxSysErrorMsg = misc2c.wxSysErrorMsg | |
495 | ||
496 | wxLogFatalError = misc2c.wxLogFatalError | |
497 | ||
498 | wxLogError = misc2c.wxLogError | |
499 | ||
500 | wxLogWarning = misc2c.wxLogWarning | |
501 | ||
502 | wxLogMessage = misc2c.wxLogMessage | |
503 | ||
504 | wxLogInfo = misc2c.wxLogInfo | |
505 | ||
506 | wxLogVerbose = misc2c.wxLogVerbose | |
507 | ||
508 | wxLogStatus = misc2c.wxLogStatus | |
509 | ||
510 | wxLogStatusFrame = misc2c.wxLogStatusFrame | |
511 | ||
512 | wxLogSysError = misc2c.wxLogSysError | |
513 | ||
514 | wxLog_IsEnabled = misc2c.wxLog_IsEnabled | |
515 | ||
516 | wxLog_EnableLogging = misc2c.wxLog_EnableLogging | |
517 | ||
518 | wxLog_OnLog = misc2c.wxLog_OnLog | |
519 | ||
520 | wxLog_FlushActive = misc2c.wxLog_FlushActive | |
521 | ||
522 | def wxLog_GetActiveTarget(*_args, **_kwargs): | |
523 | val = apply(misc2c.wxLog_GetActiveTarget,_args,_kwargs) | |
524 | if val: val = wxLogPtr(val) | |
525 | return val | |
526 | ||
527 | def wxLog_SetActiveTarget(*_args, **_kwargs): | |
528 | val = apply(misc2c.wxLog_SetActiveTarget,_args,_kwargs) | |
529 | if val: val = wxLogPtr(val) | |
530 | return val | |
531 | ||
532 | wxLog_Suspend = misc2c.wxLog_Suspend | |
533 | ||
534 | wxLog_Resume = misc2c.wxLog_Resume | |
535 | ||
536 | wxLog_DontCreateOnDemand = misc2c.wxLog_DontCreateOnDemand | |
537 | ||
538 | wxLog_SetTraceMask = misc2c.wxLog_SetTraceMask | |
539 | ||
540 | wxLog_AddTraceMask = misc2c.wxLog_AddTraceMask | |
541 | ||
542 | wxLog_RemoveTraceMask = misc2c.wxLog_RemoveTraceMask | |
543 | ||
544 | wxLog_GetTraceMask = misc2c.wxLog_GetTraceMask | |
545 | ||
546 | wxLog_IsAllowedTraceMask = misc2c.wxLog_IsAllowedTraceMask | |
547 | ||
d24a34bb RD |
548 | |
549 | ||
550 | #-------------- VARIABLE WRAPPERS ------------------ | |
551 | ||
bc29c5e0 RD |
552 | wxSYS_WHITE_BRUSH = misc2c.wxSYS_WHITE_BRUSH |
553 | wxSYS_LTGRAY_BRUSH = misc2c.wxSYS_LTGRAY_BRUSH | |
554 | wxSYS_GRAY_BRUSH = misc2c.wxSYS_GRAY_BRUSH | |
555 | wxSYS_DKGRAY_BRUSH = misc2c.wxSYS_DKGRAY_BRUSH | |
556 | wxSYS_BLACK_BRUSH = misc2c.wxSYS_BLACK_BRUSH | |
557 | wxSYS_NULL_BRUSH = misc2c.wxSYS_NULL_BRUSH | |
558 | wxSYS_HOLLOW_BRUSH = misc2c.wxSYS_HOLLOW_BRUSH | |
559 | wxSYS_WHITE_PEN = misc2c.wxSYS_WHITE_PEN | |
560 | wxSYS_BLACK_PEN = misc2c.wxSYS_BLACK_PEN | |
561 | wxSYS_NULL_PEN = misc2c.wxSYS_NULL_PEN | |
562 | wxSYS_OEM_FIXED_FONT = misc2c.wxSYS_OEM_FIXED_FONT | |
563 | wxSYS_ANSI_FIXED_FONT = misc2c.wxSYS_ANSI_FIXED_FONT | |
564 | wxSYS_ANSI_VAR_FONT = misc2c.wxSYS_ANSI_VAR_FONT | |
565 | wxSYS_SYSTEM_FONT = misc2c.wxSYS_SYSTEM_FONT | |
566 | wxSYS_DEVICE_DEFAULT_FONT = misc2c.wxSYS_DEVICE_DEFAULT_FONT | |
567 | wxSYS_DEFAULT_PALETTE = misc2c.wxSYS_DEFAULT_PALETTE | |
568 | wxSYS_SYSTEM_FIXED_FONT = misc2c.wxSYS_SYSTEM_FIXED_FONT | |
569 | wxSYS_DEFAULT_GUI_FONT = misc2c.wxSYS_DEFAULT_GUI_FONT | |
570 | wxSYS_COLOUR_SCROLLBAR = misc2c.wxSYS_COLOUR_SCROLLBAR | |
571 | wxSYS_COLOUR_BACKGROUND = misc2c.wxSYS_COLOUR_BACKGROUND | |
572 | wxSYS_COLOUR_ACTIVECAPTION = misc2c.wxSYS_COLOUR_ACTIVECAPTION | |
573 | wxSYS_COLOUR_INACTIVECAPTION = misc2c.wxSYS_COLOUR_INACTIVECAPTION | |
574 | wxSYS_COLOUR_MENU = misc2c.wxSYS_COLOUR_MENU | |
575 | wxSYS_COLOUR_WINDOW = misc2c.wxSYS_COLOUR_WINDOW | |
576 | wxSYS_COLOUR_WINDOWFRAME = misc2c.wxSYS_COLOUR_WINDOWFRAME | |
577 | wxSYS_COLOUR_MENUTEXT = misc2c.wxSYS_COLOUR_MENUTEXT | |
578 | wxSYS_COLOUR_WINDOWTEXT = misc2c.wxSYS_COLOUR_WINDOWTEXT | |
579 | wxSYS_COLOUR_CAPTIONTEXT = misc2c.wxSYS_COLOUR_CAPTIONTEXT | |
580 | wxSYS_COLOUR_ACTIVEBORDER = misc2c.wxSYS_COLOUR_ACTIVEBORDER | |
581 | wxSYS_COLOUR_INACTIVEBORDER = misc2c.wxSYS_COLOUR_INACTIVEBORDER | |
582 | wxSYS_COLOUR_APPWORKSPACE = misc2c.wxSYS_COLOUR_APPWORKSPACE | |
583 | wxSYS_COLOUR_HIGHLIGHT = misc2c.wxSYS_COLOUR_HIGHLIGHT | |
584 | wxSYS_COLOUR_HIGHLIGHTTEXT = misc2c.wxSYS_COLOUR_HIGHLIGHTTEXT | |
585 | wxSYS_COLOUR_BTNFACE = misc2c.wxSYS_COLOUR_BTNFACE | |
586 | wxSYS_COLOUR_BTNSHADOW = misc2c.wxSYS_COLOUR_BTNSHADOW | |
587 | wxSYS_COLOUR_GRAYTEXT = misc2c.wxSYS_COLOUR_GRAYTEXT | |
588 | wxSYS_COLOUR_BTNTEXT = misc2c.wxSYS_COLOUR_BTNTEXT | |
589 | wxSYS_COLOUR_INACTIVECAPTIONTEXT = misc2c.wxSYS_COLOUR_INACTIVECAPTIONTEXT | |
590 | wxSYS_COLOUR_BTNHIGHLIGHT = misc2c.wxSYS_COLOUR_BTNHIGHLIGHT | |
591 | wxSYS_COLOUR_3DDKSHADOW = misc2c.wxSYS_COLOUR_3DDKSHADOW | |
592 | wxSYS_COLOUR_3DLIGHT = misc2c.wxSYS_COLOUR_3DLIGHT | |
593 | wxSYS_COLOUR_INFOTEXT = misc2c.wxSYS_COLOUR_INFOTEXT | |
594 | wxSYS_COLOUR_INFOBK = misc2c.wxSYS_COLOUR_INFOBK | |
595 | wxSYS_COLOUR_DESKTOP = misc2c.wxSYS_COLOUR_DESKTOP | |
596 | wxSYS_COLOUR_3DFACE = misc2c.wxSYS_COLOUR_3DFACE | |
597 | wxSYS_COLOUR_3DSHADOW = misc2c.wxSYS_COLOUR_3DSHADOW | |
598 | wxSYS_COLOUR_3DHIGHLIGHT = misc2c.wxSYS_COLOUR_3DHIGHLIGHT | |
599 | wxSYS_COLOUR_3DHILIGHT = misc2c.wxSYS_COLOUR_3DHILIGHT | |
600 | wxSYS_COLOUR_BTNHILIGHT = misc2c.wxSYS_COLOUR_BTNHILIGHT | |
601 | wxSYS_MOUSE_BUTTONS = misc2c.wxSYS_MOUSE_BUTTONS | |
602 | wxSYS_BORDER_X = misc2c.wxSYS_BORDER_X | |
603 | wxSYS_BORDER_Y = misc2c.wxSYS_BORDER_Y | |
604 | wxSYS_CURSOR_X = misc2c.wxSYS_CURSOR_X | |
605 | wxSYS_CURSOR_Y = misc2c.wxSYS_CURSOR_Y | |
606 | wxSYS_DCLICK_X = misc2c.wxSYS_DCLICK_X | |
607 | wxSYS_DCLICK_Y = misc2c.wxSYS_DCLICK_Y | |
608 | wxSYS_DRAG_X = misc2c.wxSYS_DRAG_X | |
609 | wxSYS_DRAG_Y = misc2c.wxSYS_DRAG_Y | |
610 | wxSYS_EDGE_X = misc2c.wxSYS_EDGE_X | |
611 | wxSYS_EDGE_Y = misc2c.wxSYS_EDGE_Y | |
612 | wxSYS_HSCROLL_ARROW_X = misc2c.wxSYS_HSCROLL_ARROW_X | |
613 | wxSYS_HSCROLL_ARROW_Y = misc2c.wxSYS_HSCROLL_ARROW_Y | |
614 | wxSYS_HTHUMB_X = misc2c.wxSYS_HTHUMB_X | |
615 | wxSYS_ICON_X = misc2c.wxSYS_ICON_X | |
616 | wxSYS_ICON_Y = misc2c.wxSYS_ICON_Y | |
617 | wxSYS_ICONSPACING_X = misc2c.wxSYS_ICONSPACING_X | |
618 | wxSYS_ICONSPACING_Y = misc2c.wxSYS_ICONSPACING_Y | |
619 | wxSYS_WINDOWMIN_X = misc2c.wxSYS_WINDOWMIN_X | |
620 | wxSYS_WINDOWMIN_Y = misc2c.wxSYS_WINDOWMIN_Y | |
621 | wxSYS_SCREEN_X = misc2c.wxSYS_SCREEN_X | |
622 | wxSYS_SCREEN_Y = misc2c.wxSYS_SCREEN_Y | |
623 | wxSYS_FRAMESIZE_X = misc2c.wxSYS_FRAMESIZE_X | |
624 | wxSYS_FRAMESIZE_Y = misc2c.wxSYS_FRAMESIZE_Y | |
625 | wxSYS_SMALLICON_X = misc2c.wxSYS_SMALLICON_X | |
626 | wxSYS_SMALLICON_Y = misc2c.wxSYS_SMALLICON_Y | |
627 | wxSYS_HSCROLL_Y = misc2c.wxSYS_HSCROLL_Y | |
628 | wxSYS_VSCROLL_X = misc2c.wxSYS_VSCROLL_X | |
629 | wxSYS_VSCROLL_ARROW_X = misc2c.wxSYS_VSCROLL_ARROW_X | |
630 | wxSYS_VSCROLL_ARROW_Y = misc2c.wxSYS_VSCROLL_ARROW_Y | |
631 | wxSYS_VTHUMB_Y = misc2c.wxSYS_VTHUMB_Y | |
632 | wxSYS_CAPTION_Y = misc2c.wxSYS_CAPTION_Y | |
633 | wxSYS_MENU_Y = misc2c.wxSYS_MENU_Y | |
634 | wxSYS_NETWORK_PRESENT = misc2c.wxSYS_NETWORK_PRESENT | |
635 | wxSYS_PENWINDOWS_PRESENT = misc2c.wxSYS_PENWINDOWS_PRESENT | |
636 | wxSYS_SHOW_SOUNDS = misc2c.wxSYS_SHOW_SOUNDS | |
637 | wxSYS_SWAP_BUTTONS = misc2c.wxSYS_SWAP_BUTTONS | |
f6bcfd97 BP |
638 | wxLOG_FatalError = misc2c.wxLOG_FatalError |
639 | wxLOG_Error = misc2c.wxLOG_Error | |
640 | wxLOG_Warning = misc2c.wxLOG_Warning | |
641 | wxLOG_Message = misc2c.wxLOG_Message | |
642 | wxLOG_Info = misc2c.wxLOG_Info | |
643 | wxLOG_Status = misc2c.wxLOG_Status | |
644 | wxLOG_Debug = misc2c.wxLOG_Debug | |
645 | wxLOG_Trace = misc2c.wxLOG_Trace | |
646 | wxLOG_Progress = misc2c.wxLOG_Progress | |
647 | wxLOG_User = misc2c.wxLOG_User |