]>
Commit | Line | Data |
---|---|---|
1 | # This file was created automatically by SWIG. | |
2 | import gdic | |
3 | ||
4 | from misc import * | |
5 | ||
6 | from fonts import * | |
7 | class wxGDIObjectPtr(wxObjectPtr): | |
8 | def __init__(self,this): | |
9 | self.this = this | |
10 | self.thisown = 0 | |
11 | def __del__(self,gdic=gdic): | |
12 | if self.thisown == 1 : | |
13 | gdic.delete_wxGDIObject(self) | |
14 | def GetVisible(self, *_args, **_kwargs): | |
15 | val = apply(gdic.wxGDIObject_GetVisible,(self,) + _args, _kwargs) | |
16 | return val | |
17 | def SetVisible(self, *_args, **_kwargs): | |
18 | val = apply(gdic.wxGDIObject_SetVisible,(self,) + _args, _kwargs) | |
19 | return val | |
20 | def IsNull(self, *_args, **_kwargs): | |
21 | val = apply(gdic.wxGDIObject_IsNull,(self,) + _args, _kwargs) | |
22 | return val | |
23 | def __repr__(self): | |
24 | return "<C wxGDIObject instance at %s>" % (self.this,) | |
25 | class wxGDIObject(wxGDIObjectPtr): | |
26 | def __init__(self,*_args,**_kwargs): | |
27 | self.this = apply(gdic.new_wxGDIObject,_args,_kwargs) | |
28 | self.thisown = 1 | |
29 | ||
30 | ||
31 | ||
32 | ||
33 | class wxBitmapPtr(wxGDIObjectPtr): | |
34 | def __init__(self,this): | |
35 | self.this = this | |
36 | self.thisown = 0 | |
37 | def __del__(self,gdic=gdic): | |
38 | if self.thisown == 1 : | |
39 | gdic.delete_wxBitmap(self) | |
40 | def GetPalette(self, *_args, **_kwargs): | |
41 | val = apply(gdic.wxBitmap_GetPalette,(self,) + _args, _kwargs) | |
42 | if val: val = wxPalettePtr(val) | |
43 | return val | |
44 | def GetMask(self, *_args, **_kwargs): | |
45 | val = apply(gdic.wxBitmap_GetMask,(self,) + _args, _kwargs) | |
46 | if val: val = wxMaskPtr(val) | |
47 | return val | |
48 | def LoadFile(self, *_args, **_kwargs): | |
49 | val = apply(gdic.wxBitmap_LoadFile,(self,) + _args, _kwargs) | |
50 | return val | |
51 | def SaveFile(self, *_args, **_kwargs): | |
52 | val = apply(gdic.wxBitmap_SaveFile,(self,) + _args, _kwargs) | |
53 | return val | |
54 | def SetMask(self, *_args, **_kwargs): | |
55 | val = apply(gdic.wxBitmap_SetMask,(self,) + _args, _kwargs) | |
56 | return val | |
57 | def SetPalette(self, *_args, **_kwargs): | |
58 | val = apply(gdic.wxBitmap_SetPalette,(self,) + _args, _kwargs) | |
59 | return val | |
60 | def GetHandle(self, *_args, **_kwargs): | |
61 | val = apply(gdic.wxBitmap_GetHandle,(self,) + _args, _kwargs) | |
62 | return val | |
63 | def SetHandle(self, *_args, **_kwargs): | |
64 | val = apply(gdic.wxBitmap_SetHandle,(self,) + _args, _kwargs) | |
65 | return val | |
66 | def Ok(self, *_args, **_kwargs): | |
67 | val = apply(gdic.wxBitmap_Ok,(self,) + _args, _kwargs) | |
68 | return val | |
69 | def GetWidth(self, *_args, **_kwargs): | |
70 | val = apply(gdic.wxBitmap_GetWidth,(self,) + _args, _kwargs) | |
71 | return val | |
72 | def GetHeight(self, *_args, **_kwargs): | |
73 | val = apply(gdic.wxBitmap_GetHeight,(self,) + _args, _kwargs) | |
74 | return val | |
75 | def GetDepth(self, *_args, **_kwargs): | |
76 | val = apply(gdic.wxBitmap_GetDepth,(self,) + _args, _kwargs) | |
77 | return val | |
78 | def SetWidth(self, *_args, **_kwargs): | |
79 | val = apply(gdic.wxBitmap_SetWidth,(self,) + _args, _kwargs) | |
80 | return val | |
81 | def SetHeight(self, *_args, **_kwargs): | |
82 | val = apply(gdic.wxBitmap_SetHeight,(self,) + _args, _kwargs) | |
83 | return val | |
84 | def SetDepth(self, *_args, **_kwargs): | |
85 | val = apply(gdic.wxBitmap_SetDepth,(self,) + _args, _kwargs) | |
86 | return val | |
87 | def SetSize(self, *_args, **_kwargs): | |
88 | val = apply(gdic.wxBitmap_SetSize,(self,) + _args, _kwargs) | |
89 | return val | |
90 | def GetSubBitmap(self, *_args, **_kwargs): | |
91 | val = apply(gdic.wxBitmap_GetSubBitmap,(self,) + _args, _kwargs) | |
92 | if val: val = wxBitmapPtr(val) ; val.thisown = 1 | |
93 | return val | |
94 | def CopyFromIcon(self, *_args, **_kwargs): | |
95 | val = apply(gdic.wxBitmap_CopyFromIcon,(self,) + _args, _kwargs) | |
96 | return val | |
97 | def CopyFromCursor(self, *_args, **_kwargs): | |
98 | val = apply(gdic.wxBitmap_CopyFromCursor,(self,) + _args, _kwargs) | |
99 | return val | |
100 | def GetQuality(self, *_args, **_kwargs): | |
101 | val = apply(gdic.wxBitmap_GetQuality,(self,) + _args, _kwargs) | |
102 | return val | |
103 | def SetQuality(self, *_args, **_kwargs): | |
104 | val = apply(gdic.wxBitmap_SetQuality,(self,) + _args, _kwargs) | |
105 | return val | |
106 | def __repr__(self): | |
107 | return "<C wxBitmap instance at %s>" % (self.this,) | |
108 | ||
109 | def __del__(self,gdic=gdic): | |
110 | try: | |
111 | if self.thisown == 1 : | |
112 | gdic.delete_wxBitmap(self) | |
113 | except: | |
114 | pass | |
115 | ||
116 | class wxBitmap(wxBitmapPtr): | |
117 | def __init__(self,*_args,**_kwargs): | |
118 | self.this = apply(gdic.new_wxBitmap,_args,_kwargs) | |
119 | self.thisown = 1 | |
120 | ||
121 | ||
122 | ||
123 | ||
124 | class wxMaskPtr(wxObjectPtr): | |
125 | def __init__(self,this): | |
126 | self.this = this | |
127 | self.thisown = 0 | |
128 | def Destroy(self, *_args, **_kwargs): | |
129 | val = apply(gdic.wxMask_Destroy,(self,) + _args, _kwargs) | |
130 | return val | |
131 | def __repr__(self): | |
132 | return "<C wxMask instance at %s>" % (self.this,) | |
133 | class wxMask(wxMaskPtr): | |
134 | def __init__(self,*_args,**_kwargs): | |
135 | self.this = apply(gdic.new_wxMask,_args,_kwargs) | |
136 | self.thisown = 1 | |
137 | ||
138 | ||
139 | ||
140 | ||
141 | class wxIconPtr(wxGDIObjectPtr): | |
142 | def __init__(self,this): | |
143 | self.this = this | |
144 | self.thisown = 0 | |
145 | def __del__(self,gdic=gdic): | |
146 | if self.thisown == 1 : | |
147 | gdic.delete_wxIcon(self) | |
148 | def LoadFile(self, *_args, **_kwargs): | |
149 | val = apply(gdic.wxIcon_LoadFile,(self,) + _args, _kwargs) | |
150 | return val | |
151 | def GetHandle(self, *_args, **_kwargs): | |
152 | val = apply(gdic.wxIcon_GetHandle,(self,) + _args, _kwargs) | |
153 | return val | |
154 | def SetHandle(self, *_args, **_kwargs): | |
155 | val = apply(gdic.wxIcon_SetHandle,(self,) + _args, _kwargs) | |
156 | return val | |
157 | def Ok(self, *_args, **_kwargs): | |
158 | val = apply(gdic.wxIcon_Ok,(self,) + _args, _kwargs) | |
159 | return val | |
160 | def GetWidth(self, *_args, **_kwargs): | |
161 | val = apply(gdic.wxIcon_GetWidth,(self,) + _args, _kwargs) | |
162 | return val | |
163 | def GetHeight(self, *_args, **_kwargs): | |
164 | val = apply(gdic.wxIcon_GetHeight,(self,) + _args, _kwargs) | |
165 | return val | |
166 | def GetDepth(self, *_args, **_kwargs): | |
167 | val = apply(gdic.wxIcon_GetDepth,(self,) + _args, _kwargs) | |
168 | return val | |
169 | def SetWidth(self, *_args, **_kwargs): | |
170 | val = apply(gdic.wxIcon_SetWidth,(self,) + _args, _kwargs) | |
171 | return val | |
172 | def SetHeight(self, *_args, **_kwargs): | |
173 | val = apply(gdic.wxIcon_SetHeight,(self,) + _args, _kwargs) | |
174 | return val | |
175 | def SetDepth(self, *_args, **_kwargs): | |
176 | val = apply(gdic.wxIcon_SetDepth,(self,) + _args, _kwargs) | |
177 | return val | |
178 | def SetSize(self, *_args, **_kwargs): | |
179 | val = apply(gdic.wxIcon_SetSize,(self,) + _args, _kwargs) | |
180 | return val | |
181 | def CopyFromBitmap(self, *_args, **_kwargs): | |
182 | val = apply(gdic.wxIcon_CopyFromBitmap,(self,) + _args, _kwargs) | |
183 | return val | |
184 | def __repr__(self): | |
185 | return "<C wxIcon instance at %s>" % (self.this,) | |
186 | ||
187 | def __del__(self,gdic=gdic): | |
188 | try: | |
189 | if self.thisown == 1 : | |
190 | gdic.delete_wxIcon(self) | |
191 | except: | |
192 | pass | |
193 | ||
194 | class wxIcon(wxIconPtr): | |
195 | def __init__(self,*_args,**_kwargs): | |
196 | self.this = apply(gdic.new_wxIcon,_args,_kwargs) | |
197 | self.thisown = 1 | |
198 | ||
199 | ||
200 | ||
201 | ||
202 | class wxIconBundlePtr : | |
203 | def __init__(self,this): | |
204 | self.this = this | |
205 | self.thisown = 0 | |
206 | def __del__(self,gdic=gdic): | |
207 | if self.thisown == 1 : | |
208 | gdic.delete_wxIconBundle(self) | |
209 | def AddIcon(self, *_args, **_kwargs): | |
210 | val = apply(gdic.wxIconBundle_AddIcon,(self,) + _args, _kwargs) | |
211 | return val | |
212 | def AddIconFromFile(self, *_args, **_kwargs): | |
213 | val = apply(gdic.wxIconBundle_AddIconFromFile,(self,) + _args, _kwargs) | |
214 | return val | |
215 | def GetIcon(self, *_args, **_kwargs): | |
216 | val = apply(gdic.wxIconBundle_GetIcon,(self,) + _args, _kwargs) | |
217 | if val: val = wxIconPtr(val) | |
218 | return val | |
219 | def __repr__(self): | |
220 | return "<C wxIconBundle instance at %s>" % (self.this,) | |
221 | class wxIconBundle(wxIconBundlePtr): | |
222 | def __init__(self,*_args,**_kwargs): | |
223 | self.this = apply(gdic.new_wxIconBundle,_args,_kwargs) | |
224 | self.thisown = 1 | |
225 | ||
226 | ||
227 | ||
228 | def wxIconBundleFromFile(*_args,**_kwargs): | |
229 | val = wxIconBundlePtr(apply(gdic.new_wxIconBundleFromFile,_args,_kwargs)) | |
230 | val.thisown = 1 | |
231 | return val | |
232 | ||
233 | def wxIconBundleFromIcon(*_args,**_kwargs): | |
234 | val = wxIconBundlePtr(apply(gdic.new_wxIconBundleFromIcon,_args,_kwargs)) | |
235 | val.thisown = 1 | |
236 | return val | |
237 | ||
238 | ||
239 | class wxCursorPtr(wxGDIObjectPtr): | |
240 | def __init__(self,this): | |
241 | self.this = this | |
242 | self.thisown = 0 | |
243 | def __del__(self,gdic=gdic): | |
244 | if self.thisown == 1 : | |
245 | gdic.delete_wxCursor(self) | |
246 | def GetHandle(self, *_args, **_kwargs): | |
247 | val = apply(gdic.wxCursor_GetHandle,(self,) + _args, _kwargs) | |
248 | return val | |
249 | def SetHandle(self, *_args, **_kwargs): | |
250 | val = apply(gdic.wxCursor_SetHandle,(self,) + _args, _kwargs) | |
251 | return val | |
252 | def Ok(self, *_args, **_kwargs): | |
253 | val = apply(gdic.wxCursor_Ok,(self,) + _args, _kwargs) | |
254 | return val | |
255 | def GetWidth(self, *_args, **_kwargs): | |
256 | val = apply(gdic.wxCursor_GetWidth,(self,) + _args, _kwargs) | |
257 | return val | |
258 | def GetHeight(self, *_args, **_kwargs): | |
259 | val = apply(gdic.wxCursor_GetHeight,(self,) + _args, _kwargs) | |
260 | return val | |
261 | def GetDepth(self, *_args, **_kwargs): | |
262 | val = apply(gdic.wxCursor_GetDepth,(self,) + _args, _kwargs) | |
263 | return val | |
264 | def SetWidth(self, *_args, **_kwargs): | |
265 | val = apply(gdic.wxCursor_SetWidth,(self,) + _args, _kwargs) | |
266 | return val | |
267 | def SetHeight(self, *_args, **_kwargs): | |
268 | val = apply(gdic.wxCursor_SetHeight,(self,) + _args, _kwargs) | |
269 | return val | |
270 | def SetDepth(self, *_args, **_kwargs): | |
271 | val = apply(gdic.wxCursor_SetDepth,(self,) + _args, _kwargs) | |
272 | return val | |
273 | def SetSize(self, *_args, **_kwargs): | |
274 | val = apply(gdic.wxCursor_SetSize,(self,) + _args, _kwargs) | |
275 | return val | |
276 | def __repr__(self): | |
277 | return "<C wxCursor instance at %s>" % (self.this,) | |
278 | class wxCursor(wxCursorPtr): | |
279 | def __init__(self,*_args,**_kwargs): | |
280 | self.this = apply(gdic.new_wxCursor,_args,_kwargs) | |
281 | self.thisown = 1 | |
282 | ||
283 | ||
284 | ||
285 | ||
286 | class wxColourPtr(wxObjectPtr): | |
287 | def __init__(self,this): | |
288 | self.this = this | |
289 | self.thisown = 0 | |
290 | def __del__(self,gdic=gdic): | |
291 | if self.thisown == 1 : | |
292 | gdic.delete_wxColour(self) | |
293 | def Red(self, *_args, **_kwargs): | |
294 | val = apply(gdic.wxColour_Red,(self,) + _args, _kwargs) | |
295 | return val | |
296 | def Green(self, *_args, **_kwargs): | |
297 | val = apply(gdic.wxColour_Green,(self,) + _args, _kwargs) | |
298 | return val | |
299 | def Blue(self, *_args, **_kwargs): | |
300 | val = apply(gdic.wxColour_Blue,(self,) + _args, _kwargs) | |
301 | return val | |
302 | def Ok(self, *_args, **_kwargs): | |
303 | val = apply(gdic.wxColour_Ok,(self,) + _args, _kwargs) | |
304 | return val | |
305 | def Set(self, *_args, **_kwargs): | |
306 | val = apply(gdic.wxColour_Set,(self,) + _args, _kwargs) | |
307 | return val | |
308 | def Get(self, *_args, **_kwargs): | |
309 | val = apply(gdic.wxColour_Get,(self,) + _args, _kwargs) | |
310 | return val | |
311 | def __repr__(self): | |
312 | return "<C wxColour instance at %s>" % (self.this,) | |
313 | asTuple = Get | |
314 | def __str__(self): return str(self.asTuple()) | |
315 | def __repr__(self): return str(self.asTuple()) | |
316 | class wxColour(wxColourPtr): | |
317 | def __init__(self,*_args,**_kwargs): | |
318 | self.this = apply(gdic.new_wxColour,_args,_kwargs) | |
319 | self.thisown = 1 | |
320 | ||
321 | ||
322 | ||
323 | ||
324 | class wxColourDatabasePtr(wxObjectPtr): | |
325 | def __init__(self,this): | |
326 | self.this = this | |
327 | self.thisown = 0 | |
328 | def FindColour(self, *_args, **_kwargs): | |
329 | val = apply(gdic.wxColourDatabase_FindColour,(self,) + _args, _kwargs) | |
330 | if val: val = wxColourPtr(val) | |
331 | return val | |
332 | def FindName(self, *_args, **_kwargs): | |
333 | val = apply(gdic.wxColourDatabase_FindName,(self,) + _args, _kwargs) | |
334 | return val | |
335 | def Append(self, *_args, **_kwargs): | |
336 | val = apply(gdic.wxColourDatabase_Append,(self,) + _args, _kwargs) | |
337 | return val | |
338 | def __repr__(self): | |
339 | return "<C wxColourDatabase instance at %s>" % (self.this,) | |
340 | class wxColourDatabase(wxColourDatabasePtr): | |
341 | def __init__(self,this): | |
342 | self.this = this | |
343 | ||
344 | ||
345 | ||
346 | ||
347 | class wxPenPtr(wxGDIObjectPtr): | |
348 | def __init__(self,this): | |
349 | self.this = this | |
350 | self.thisown = 0 | |
351 | def __del__(self,gdic=gdic): | |
352 | if self.thisown == 1 : | |
353 | gdic.delete_wxPen(self) | |
354 | def GetCap(self, *_args, **_kwargs): | |
355 | val = apply(gdic.wxPen_GetCap,(self,) + _args, _kwargs) | |
356 | return val | |
357 | def GetColour(self, *_args, **_kwargs): | |
358 | val = apply(gdic.wxPen_GetColour,(self,) + _args, _kwargs) | |
359 | if val: val = wxColourPtr(val) ; val.thisown = 1 | |
360 | return val | |
361 | def GetJoin(self, *_args, **_kwargs): | |
362 | val = apply(gdic.wxPen_GetJoin,(self,) + _args, _kwargs) | |
363 | return val | |
364 | def GetStyle(self, *_args, **_kwargs): | |
365 | val = apply(gdic.wxPen_GetStyle,(self,) + _args, _kwargs) | |
366 | return val | |
367 | def GetWidth(self, *_args, **_kwargs): | |
368 | val = apply(gdic.wxPen_GetWidth,(self,) + _args, _kwargs) | |
369 | return val | |
370 | def Ok(self, *_args, **_kwargs): | |
371 | val = apply(gdic.wxPen_Ok,(self,) + _args, _kwargs) | |
372 | return val | |
373 | def SetCap(self, *_args, **_kwargs): | |
374 | val = apply(gdic.wxPen_SetCap,(self,) + _args, _kwargs) | |
375 | return val | |
376 | def SetColour(self, *_args, **_kwargs): | |
377 | val = apply(gdic.wxPen_SetColour,(self,) + _args, _kwargs) | |
378 | return val | |
379 | def SetJoin(self, *_args, **_kwargs): | |
380 | val = apply(gdic.wxPen_SetJoin,(self,) + _args, _kwargs) | |
381 | return val | |
382 | def SetStyle(self, *_args, **_kwargs): | |
383 | val = apply(gdic.wxPen_SetStyle,(self,) + _args, _kwargs) | |
384 | return val | |
385 | def SetWidth(self, *_args, **_kwargs): | |
386 | val = apply(gdic.wxPen_SetWidth,(self,) + _args, _kwargs) | |
387 | return val | |
388 | def SetDashes(self, *_args, **_kwargs): | |
389 | val = apply(gdic.wxPen_SetDashes,(self,) + _args, _kwargs) | |
390 | return val | |
391 | def GetDashes(self, *_args, **_kwargs): | |
392 | val = apply(gdic.wxPen_GetDashes,(self,) + _args, _kwargs) | |
393 | return val | |
394 | def GetStipple(self, *_args, **_kwargs): | |
395 | val = apply(gdic.wxPen_GetStipple,(self,) + _args, _kwargs) | |
396 | if val: val = wxBitmapPtr(val) | |
397 | return val | |
398 | def SetStipple(self, *_args, **_kwargs): | |
399 | val = apply(gdic.wxPen_SetStipple,(self,) + _args, _kwargs) | |
400 | return val | |
401 | def __repr__(self): | |
402 | return "<C wxPen instance at %s>" % (self.this,) | |
403 | class wxPen(wxPenPtr): | |
404 | def __init__(self,*_args,**_kwargs): | |
405 | self.this = apply(gdic.new_wxPen,_args,_kwargs) | |
406 | self.thisown = 1 | |
407 | ||
408 | ||
409 | ||
410 | ||
411 | class wxPyPenPtr(wxPenPtr): | |
412 | def __init__(self,this): | |
413 | self.this = this | |
414 | self.thisown = 0 | |
415 | def __del__(self,gdic=gdic): | |
416 | if self.thisown == 1 : | |
417 | gdic.delete_wxPyPen(self) | |
418 | def SetDashes(self, *_args, **_kwargs): | |
419 | val = apply(gdic.wxPyPen_SetDashes,(self,) + _args, _kwargs) | |
420 | return val | |
421 | def __repr__(self): | |
422 | return "<C wxPyPen instance at %s>" % (self.this,) | |
423 | class wxPyPen(wxPyPenPtr): | |
424 | def __init__(self,*_args,**_kwargs): | |
425 | self.this = apply(gdic.new_wxPyPen,_args,_kwargs) | |
426 | self.thisown = 1 | |
427 | ||
428 | ||
429 | ||
430 | ||
431 | class wxPenListPtr(wxObjectPtr): | |
432 | def __init__(self,this): | |
433 | self.this = this | |
434 | self.thisown = 0 | |
435 | def AddPen(self, *_args, **_kwargs): | |
436 | val = apply(gdic.wxPenList_AddPen,(self,) + _args, _kwargs) | |
437 | return val | |
438 | def FindOrCreatePen(self, *_args, **_kwargs): | |
439 | val = apply(gdic.wxPenList_FindOrCreatePen,(self,) + _args, _kwargs) | |
440 | if val: val = wxPenPtr(val) | |
441 | return val | |
442 | def RemovePen(self, *_args, **_kwargs): | |
443 | val = apply(gdic.wxPenList_RemovePen,(self,) + _args, _kwargs) | |
444 | return val | |
445 | def GetCount(self, *_args, **_kwargs): | |
446 | val = apply(gdic.wxPenList_GetCount,(self,) + _args, _kwargs) | |
447 | return val | |
448 | def __repr__(self): | |
449 | return "<C wxPenList instance at %s>" % (self.this,) | |
450 | class wxPenList(wxPenListPtr): | |
451 | def __init__(self,this): | |
452 | self.this = this | |
453 | ||
454 | ||
455 | ||
456 | ||
457 | class wxBrushPtr(wxGDIObjectPtr): | |
458 | def __init__(self,this): | |
459 | self.this = this | |
460 | self.thisown = 0 | |
461 | def __del__(self,gdic=gdic): | |
462 | if self.thisown == 1 : | |
463 | gdic.delete_wxBrush(self) | |
464 | def GetColour(self, *_args, **_kwargs): | |
465 | val = apply(gdic.wxBrush_GetColour,(self,) + _args, _kwargs) | |
466 | if val: val = wxColourPtr(val) ; val.thisown = 1 | |
467 | return val | |
468 | def GetStipple(self, *_args, **_kwargs): | |
469 | val = apply(gdic.wxBrush_GetStipple,(self,) + _args, _kwargs) | |
470 | if val: val = wxBitmapPtr(val) | |
471 | return val | |
472 | def GetStyle(self, *_args, **_kwargs): | |
473 | val = apply(gdic.wxBrush_GetStyle,(self,) + _args, _kwargs) | |
474 | return val | |
475 | def Ok(self, *_args, **_kwargs): | |
476 | val = apply(gdic.wxBrush_Ok,(self,) + _args, _kwargs) | |
477 | return val | |
478 | def SetColour(self, *_args, **_kwargs): | |
479 | val = apply(gdic.wxBrush_SetColour,(self,) + _args, _kwargs) | |
480 | return val | |
481 | def SetStipple(self, *_args, **_kwargs): | |
482 | val = apply(gdic.wxBrush_SetStipple,(self,) + _args, _kwargs) | |
483 | return val | |
484 | def SetStyle(self, *_args, **_kwargs): | |
485 | val = apply(gdic.wxBrush_SetStyle,(self,) + _args, _kwargs) | |
486 | return val | |
487 | def __repr__(self): | |
488 | return "<C wxBrush instance at %s>" % (self.this,) | |
489 | class wxBrush(wxBrushPtr): | |
490 | def __init__(self,*_args,**_kwargs): | |
491 | self.this = apply(gdic.new_wxBrush,_args,_kwargs) | |
492 | self.thisown = 1 | |
493 | ||
494 | ||
495 | ||
496 | ||
497 | class wxBrushListPtr(wxObjectPtr): | |
498 | def __init__(self,this): | |
499 | self.this = this | |
500 | self.thisown = 0 | |
501 | def AddBrush(self, *_args, **_kwargs): | |
502 | val = apply(gdic.wxBrushList_AddBrush,(self,) + _args, _kwargs) | |
503 | return val | |
504 | def FindOrCreateBrush(self, *_args, **_kwargs): | |
505 | val = apply(gdic.wxBrushList_FindOrCreateBrush,(self,) + _args, _kwargs) | |
506 | if val: val = wxBrushPtr(val) | |
507 | return val | |
508 | def RemoveBrush(self, *_args, **_kwargs): | |
509 | val = apply(gdic.wxBrushList_RemoveBrush,(self,) + _args, _kwargs) | |
510 | return val | |
511 | def GetCount(self, *_args, **_kwargs): | |
512 | val = apply(gdic.wxBrushList_GetCount,(self,) + _args, _kwargs) | |
513 | return val | |
514 | def __repr__(self): | |
515 | return "<C wxBrushList instance at %s>" % (self.this,) | |
516 | class wxBrushList(wxBrushListPtr): | |
517 | def __init__(self,this): | |
518 | self.this = this | |
519 | ||
520 | ||
521 | ||
522 | ||
523 | class wxDCPtr(wxObjectPtr): | |
524 | def __init__(self,this): | |
525 | self.this = this | |
526 | self.thisown = 0 | |
527 | def __del__(self,gdic=gdic): | |
528 | if self.thisown == 1 : | |
529 | gdic.delete_wxDC(self) | |
530 | def BeginDrawing(self, *_args, **_kwargs): | |
531 | val = apply(gdic.wxDC_BeginDrawing,(self,) + _args, _kwargs) | |
532 | return val | |
533 | def Blit(self, *_args, **_kwargs): | |
534 | val = apply(gdic.wxDC_Blit,(self,) + _args, _kwargs) | |
535 | return val | |
536 | def Clear(self, *_args, **_kwargs): | |
537 | val = apply(gdic.wxDC_Clear,(self,) + _args, _kwargs) | |
538 | return val | |
539 | def CrossHair(self, *_args, **_kwargs): | |
540 | val = apply(gdic.wxDC_CrossHair,(self,) + _args, _kwargs) | |
541 | return val | |
542 | def DestroyClippingRegion(self, *_args, **_kwargs): | |
543 | val = apply(gdic.wxDC_DestroyClippingRegion,(self,) + _args, _kwargs) | |
544 | return val | |
545 | def DeviceToLogicalX(self, *_args, **_kwargs): | |
546 | val = apply(gdic.wxDC_DeviceToLogicalX,(self,) + _args, _kwargs) | |
547 | return val | |
548 | def DeviceToLogicalXRel(self, *_args, **_kwargs): | |
549 | val = apply(gdic.wxDC_DeviceToLogicalXRel,(self,) + _args, _kwargs) | |
550 | return val | |
551 | def DeviceToLogicalY(self, *_args, **_kwargs): | |
552 | val = apply(gdic.wxDC_DeviceToLogicalY,(self,) + _args, _kwargs) | |
553 | return val | |
554 | def DeviceToLogicalYRel(self, *_args, **_kwargs): | |
555 | val = apply(gdic.wxDC_DeviceToLogicalYRel,(self,) + _args, _kwargs) | |
556 | return val | |
557 | def DrawArc(self, *_args, **_kwargs): | |
558 | val = apply(gdic.wxDC_DrawArc,(self,) + _args, _kwargs) | |
559 | return val | |
560 | def DrawCircle(self, *_args, **_kwargs): | |
561 | val = apply(gdic.wxDC_DrawCircle,(self,) + _args, _kwargs) | |
562 | return val | |
563 | def DrawEllipse(self, *_args, **_kwargs): | |
564 | val = apply(gdic.wxDC_DrawEllipse,(self,) + _args, _kwargs) | |
565 | return val | |
566 | def DrawEllipticArc(self, *_args, **_kwargs): | |
567 | val = apply(gdic.wxDC_DrawEllipticArc,(self,) + _args, _kwargs) | |
568 | return val | |
569 | def DrawIcon(self, *_args, **_kwargs): | |
570 | val = apply(gdic.wxDC_DrawIcon,(self,) + _args, _kwargs) | |
571 | return val | |
572 | def DrawLabel(self, *_args, **_kwargs): | |
573 | val = apply(gdic.wxDC_DrawLabel,(self,) + _args, _kwargs) | |
574 | return val | |
575 | def DrawImageLabel(self, *_args, **_kwargs): | |
576 | val = apply(gdic.wxDC_DrawImageLabel,(self,) + _args, _kwargs) | |
577 | if val: val = wxRectPtr(val) ; val.thisown = 1 | |
578 | return val | |
579 | def DrawLine(self, *_args, **_kwargs): | |
580 | val = apply(gdic.wxDC_DrawLine,(self,) + _args, _kwargs) | |
581 | return val | |
582 | def DrawLines(self, *_args, **_kwargs): | |
583 | val = apply(gdic.wxDC_DrawLines,(self,) + _args, _kwargs) | |
584 | return val | |
585 | def DrawPolygon(self, *_args, **_kwargs): | |
586 | val = apply(gdic.wxDC_DrawPolygon,(self,) + _args, _kwargs) | |
587 | return val | |
588 | def DrawPoint(self, *_args, **_kwargs): | |
589 | val = apply(gdic.wxDC_DrawPoint,(self,) + _args, _kwargs) | |
590 | return val | |
591 | def DrawRectangle(self, *_args, **_kwargs): | |
592 | val = apply(gdic.wxDC_DrawRectangle,(self,) + _args, _kwargs) | |
593 | return val | |
594 | def DrawRotatedText(self, *_args, **_kwargs): | |
595 | val = apply(gdic.wxDC_DrawRotatedText,(self,) + _args, _kwargs) | |
596 | return val | |
597 | def DrawRoundedRectangle(self, *_args, **_kwargs): | |
598 | val = apply(gdic.wxDC_DrawRoundedRectangle,(self,) + _args, _kwargs) | |
599 | return val | |
600 | def DrawSpline(self, *_args, **_kwargs): | |
601 | val = apply(gdic.wxDC_DrawSpline,(self,) + _args, _kwargs) | |
602 | return val | |
603 | def DrawText(self, *_args, **_kwargs): | |
604 | val = apply(gdic.wxDC_DrawText,(self,) + _args, _kwargs) | |
605 | return val | |
606 | def EndDoc(self, *_args, **_kwargs): | |
607 | val = apply(gdic.wxDC_EndDoc,(self,) + _args, _kwargs) | |
608 | return val | |
609 | def EndDrawing(self, *_args, **_kwargs): | |
610 | val = apply(gdic.wxDC_EndDrawing,(self,) + _args, _kwargs) | |
611 | return val | |
612 | def EndPage(self, *_args, **_kwargs): | |
613 | val = apply(gdic.wxDC_EndPage,(self,) + _args, _kwargs) | |
614 | return val | |
615 | def FloodFill(self, *_args, **_kwargs): | |
616 | val = apply(gdic.wxDC_FloodFill,(self,) + _args, _kwargs) | |
617 | return val | |
618 | def GetBackground(self, *_args, **_kwargs): | |
619 | val = apply(gdic.wxDC_GetBackground,(self,) + _args, _kwargs) | |
620 | if val: val = wxBrushPtr(val) ; val.thisown = 1 | |
621 | return val | |
622 | def GetBrush(self, *_args, **_kwargs): | |
623 | val = apply(gdic.wxDC_GetBrush,(self,) + _args, _kwargs) | |
624 | if val: val = wxBrushPtr(val) ; val.thisown = 1 | |
625 | return val | |
626 | def GetCharHeight(self, *_args, **_kwargs): | |
627 | val = apply(gdic.wxDC_GetCharHeight,(self,) + _args, _kwargs) | |
628 | return val | |
629 | def GetCharWidth(self, *_args, **_kwargs): | |
630 | val = apply(gdic.wxDC_GetCharWidth,(self,) + _args, _kwargs) | |
631 | return val | |
632 | def GetClippingBox(self, *_args, **_kwargs): | |
633 | val = apply(gdic.wxDC_GetClippingBox,(self,) + _args, _kwargs) | |
634 | return val | |
635 | def GetFont(self, *_args, **_kwargs): | |
636 | val = apply(gdic.wxDC_GetFont,(self,) + _args, _kwargs) | |
637 | if val: val = wxFontPtr(val) ; val.thisown = 1 | |
638 | return val | |
639 | def GetLogicalFunction(self, *_args, **_kwargs): | |
640 | val = apply(gdic.wxDC_GetLogicalFunction,(self,) + _args, _kwargs) | |
641 | return val | |
642 | def GetLogicalScale(self, *_args, **_kwargs): | |
643 | val = apply(gdic.wxDC_GetLogicalScale,(self,) + _args, _kwargs) | |
644 | return val | |
645 | def GetMapMode(self, *_args, **_kwargs): | |
646 | val = apply(gdic.wxDC_GetMapMode,(self,) + _args, _kwargs) | |
647 | return val | |
648 | def GetOptimization(self, *_args, **_kwargs): | |
649 | val = apply(gdic.wxDC_GetOptimization,(self,) + _args, _kwargs) | |
650 | return val | |
651 | def GetPen(self, *_args, **_kwargs): | |
652 | val = apply(gdic.wxDC_GetPen,(self,) + _args, _kwargs) | |
653 | if val: val = wxPenPtr(val) ; val.thisown = 1 | |
654 | return val | |
655 | def GetPixel(self, *_args, **_kwargs): | |
656 | val = apply(gdic.wxDC_GetPixel,(self,) + _args, _kwargs) | |
657 | if val: val = wxColourPtr(val) ; val.thisown = 1 | |
658 | return val | |
659 | def GetSizeTuple(self, *_args, **_kwargs): | |
660 | val = apply(gdic.wxDC_GetSizeTuple,(self,) + _args, _kwargs) | |
661 | return val | |
662 | def GetSize(self, *_args, **_kwargs): | |
663 | val = apply(gdic.wxDC_GetSize,(self,) + _args, _kwargs) | |
664 | if val: val = wxSizePtr(val) ; val.thisown = 1 | |
665 | return val | |
666 | def GetSizeMM(self, *_args, **_kwargs): | |
667 | val = apply(gdic.wxDC_GetSizeMM,(self,) + _args, _kwargs) | |
668 | if val: val = wxSizePtr(val) ; val.thisown = 1 | |
669 | return val | |
670 | def GetTextBackground(self, *_args, **_kwargs): | |
671 | val = apply(gdic.wxDC_GetTextBackground,(self,) + _args, _kwargs) | |
672 | if val: val = wxColourPtr(val) ; val.thisown = 1 | |
673 | return val | |
674 | def GetTextExtent(self, *_args, **_kwargs): | |
675 | val = apply(gdic.wxDC_GetTextExtent,(self,) + _args, _kwargs) | |
676 | return val | |
677 | def GetFullTextExtent(self, *_args, **_kwargs): | |
678 | val = apply(gdic.wxDC_GetFullTextExtent,(self,) + _args, _kwargs) | |
679 | return val | |
680 | def GetTextForeground(self, *_args, **_kwargs): | |
681 | val = apply(gdic.wxDC_GetTextForeground,(self,) + _args, _kwargs) | |
682 | if val: val = wxColourPtr(val) ; val.thisown = 1 | |
683 | return val | |
684 | def GetUserScale(self, *_args, **_kwargs): | |
685 | val = apply(gdic.wxDC_GetUserScale,(self,) + _args, _kwargs) | |
686 | return val | |
687 | def LogicalToDeviceX(self, *_args, **_kwargs): | |
688 | val = apply(gdic.wxDC_LogicalToDeviceX,(self,) + _args, _kwargs) | |
689 | return val | |
690 | def LogicalToDeviceXRel(self, *_args, **_kwargs): | |
691 | val = apply(gdic.wxDC_LogicalToDeviceXRel,(self,) + _args, _kwargs) | |
692 | return val | |
693 | def LogicalToDeviceY(self, *_args, **_kwargs): | |
694 | val = apply(gdic.wxDC_LogicalToDeviceY,(self,) + _args, _kwargs) | |
695 | return val | |
696 | def LogicalToDeviceYRel(self, *_args, **_kwargs): | |
697 | val = apply(gdic.wxDC_LogicalToDeviceYRel,(self,) + _args, _kwargs) | |
698 | return val | |
699 | def MaxX(self, *_args, **_kwargs): | |
700 | val = apply(gdic.wxDC_MaxX,(self,) + _args, _kwargs) | |
701 | return val | |
702 | def MaxY(self, *_args, **_kwargs): | |
703 | val = apply(gdic.wxDC_MaxY,(self,) + _args, _kwargs) | |
704 | return val | |
705 | def MinX(self, *_args, **_kwargs): | |
706 | val = apply(gdic.wxDC_MinX,(self,) + _args, _kwargs) | |
707 | return val | |
708 | def MinY(self, *_args, **_kwargs): | |
709 | val = apply(gdic.wxDC_MinY,(self,) + _args, _kwargs) | |
710 | return val | |
711 | def Ok(self, *_args, **_kwargs): | |
712 | val = apply(gdic.wxDC_Ok,(self,) + _args, _kwargs) | |
713 | return val | |
714 | def SetDeviceOrigin(self, *_args, **_kwargs): | |
715 | val = apply(gdic.wxDC_SetDeviceOrigin,(self,) + _args, _kwargs) | |
716 | return val | |
717 | def SetBackground(self, *_args, **_kwargs): | |
718 | val = apply(gdic.wxDC_SetBackground,(self,) + _args, _kwargs) | |
719 | return val | |
720 | def SetBackgroundMode(self, *_args, **_kwargs): | |
721 | val = apply(gdic.wxDC_SetBackgroundMode,(self,) + _args, _kwargs) | |
722 | return val | |
723 | def SetClippingRegion(self, *_args, **_kwargs): | |
724 | val = apply(gdic.wxDC_SetClippingRegion,(self,) + _args, _kwargs) | |
725 | return val | |
726 | def SetClippingRegionAsRegion(self, *_args, **_kwargs): | |
727 | val = apply(gdic.wxDC_SetClippingRegionAsRegion,(self,) + _args, _kwargs) | |
728 | return val | |
729 | def SetPalette(self, *_args, **_kwargs): | |
730 | val = apply(gdic.wxDC_SetPalette,(self,) + _args, _kwargs) | |
731 | return val | |
732 | def SetBrush(self, *_args, **_kwargs): | |
733 | val = apply(gdic.wxDC_SetBrush,(self,) + _args, _kwargs) | |
734 | return val | |
735 | def SetFont(self, *_args, **_kwargs): | |
736 | val = apply(gdic.wxDC_SetFont,(self,) + _args, _kwargs) | |
737 | return val | |
738 | def SetLogicalFunction(self, *_args, **_kwargs): | |
739 | val = apply(gdic.wxDC_SetLogicalFunction,(self,) + _args, _kwargs) | |
740 | return val | |
741 | def SetLogicalScale(self, *_args, **_kwargs): | |
742 | val = apply(gdic.wxDC_SetLogicalScale,(self,) + _args, _kwargs) | |
743 | return val | |
744 | def SetMapMode(self, *_args, **_kwargs): | |
745 | val = apply(gdic.wxDC_SetMapMode,(self,) + _args, _kwargs) | |
746 | return val | |
747 | def SetOptimization(self, *_args, **_kwargs): | |
748 | val = apply(gdic.wxDC_SetOptimization,(self,) + _args, _kwargs) | |
749 | return val | |
750 | def SetPen(self, *_args, **_kwargs): | |
751 | val = apply(gdic.wxDC_SetPen,(self,) + _args, _kwargs) | |
752 | return val | |
753 | def SetTextBackground(self, *_args, **_kwargs): | |
754 | val = apply(gdic.wxDC_SetTextBackground,(self,) + _args, _kwargs) | |
755 | return val | |
756 | def SetTextForeground(self, *_args, **_kwargs): | |
757 | val = apply(gdic.wxDC_SetTextForeground,(self,) + _args, _kwargs) | |
758 | return val | |
759 | def SetUserScale(self, *_args, **_kwargs): | |
760 | val = apply(gdic.wxDC_SetUserScale,(self,) + _args, _kwargs) | |
761 | return val | |
762 | def StartDoc(self, *_args, **_kwargs): | |
763 | val = apply(gdic.wxDC_StartDoc,(self,) + _args, _kwargs) | |
764 | return val | |
765 | def StartPage(self, *_args, **_kwargs): | |
766 | val = apply(gdic.wxDC_StartPage,(self,) + _args, _kwargs) | |
767 | return val | |
768 | def DrawBitmap(self, *_args, **_kwargs): | |
769 | val = apply(gdic.wxDC_DrawBitmap,(self,) + _args, _kwargs) | |
770 | return val | |
771 | def CanDrawBitmap(self, *_args, **_kwargs): | |
772 | val = apply(gdic.wxDC_CanDrawBitmap,(self,) + _args, _kwargs) | |
773 | return val | |
774 | def CanGetTextExtent(self, *_args, **_kwargs): | |
775 | val = apply(gdic.wxDC_CanGetTextExtent,(self,) + _args, _kwargs) | |
776 | return val | |
777 | def GetDepth(self, *_args, **_kwargs): | |
778 | val = apply(gdic.wxDC_GetDepth,(self,) + _args, _kwargs) | |
779 | return val | |
780 | def GetPPI(self, *_args, **_kwargs): | |
781 | val = apply(gdic.wxDC_GetPPI,(self,) + _args, _kwargs) | |
782 | if val: val = wxSizePtr(val) ; val.thisown = 1 | |
783 | return val | |
784 | def GetLogicalOrigin(self, *_args, **_kwargs): | |
785 | val = apply(gdic.wxDC_GetLogicalOrigin,(self,) + _args, _kwargs) | |
786 | return val | |
787 | def SetLogicalOrigin(self, *_args, **_kwargs): | |
788 | val = apply(gdic.wxDC_SetLogicalOrigin,(self,) + _args, _kwargs) | |
789 | return val | |
790 | def GetDeviceOrigin(self, *_args, **_kwargs): | |
791 | val = apply(gdic.wxDC_GetDeviceOrigin,(self,) + _args, _kwargs) | |
792 | return val | |
793 | def SetAxisOrientation(self, *_args, **_kwargs): | |
794 | val = apply(gdic.wxDC_SetAxisOrientation,(self,) + _args, _kwargs) | |
795 | return val | |
796 | def CalcBoundingBox(self, *_args, **_kwargs): | |
797 | val = apply(gdic.wxDC_CalcBoundingBox,(self,) + _args, _kwargs) | |
798 | return val | |
799 | def ResetBoundingBox(self, *_args, **_kwargs): | |
800 | val = apply(gdic.wxDC_ResetBoundingBox,(self,) + _args, _kwargs) | |
801 | return val | |
802 | def GetBoundingBox(self, *_args, **_kwargs): | |
803 | val = apply(gdic.wxDC_GetBoundingBox,(self,) + _args, _kwargs) | |
804 | return val | |
805 | def GetHDC(self, *_args, **_kwargs): | |
806 | val = apply(gdic.wxDC_GetHDC,(self,) + _args, _kwargs) | |
807 | return val | |
808 | def _DrawPointList(self, *_args, **_kwargs): | |
809 | val = apply(gdic.wxDC__DrawPointList,(self,) + _args, _kwargs) | |
810 | return val | |
811 | def _DrawLineList(self, *_args, **_kwargs): | |
812 | val = apply(gdic.wxDC__DrawLineList,(self,) + _args, _kwargs) | |
813 | return val | |
814 | def __repr__(self): | |
815 | return "<C wxDC instance at %s>" % (self.this,) | |
816 | ||
817 | def DrawPointList(self, points, pens=None): | |
818 | if pens is None: | |
819 | pens = [] | |
820 | elif isinstance(pens, wxPenPtr): | |
821 | pens = [pens] | |
822 | elif len(pens) != len(points): | |
823 | raise ValueError('points and pens must have same length') | |
824 | return self._DrawPointList(points, pens) | |
825 | ||
826 | def DrawLineList(self, lines, pens=None): | |
827 | if pens is None: | |
828 | pens = [] | |
829 | elif isinstance(pens, wxPenPtr): | |
830 | pens = [pens] | |
831 | elif len(pens) != len(lines): | |
832 | raise ValueError('lines and pens must have same length') | |
833 | return self._DrawLineList(lines, pens) | |
834 | ||
835 | class wxDC(wxDCPtr): | |
836 | def __init__(self,this): | |
837 | self.this = this | |
838 | ||
839 | ||
840 | ||
841 | ||
842 | class wxMemoryDCPtr(wxDCPtr): | |
843 | def __init__(self,this): | |
844 | self.this = this | |
845 | self.thisown = 0 | |
846 | def SelectObject(self, *_args, **_kwargs): | |
847 | val = apply(gdic.wxMemoryDC_SelectObject,(self,) + _args, _kwargs) | |
848 | return val | |
849 | def __repr__(self): | |
850 | return "<C wxMemoryDC instance at %s>" % (self.this,) | |
851 | class wxMemoryDC(wxMemoryDCPtr): | |
852 | def __init__(self,*_args,**_kwargs): | |
853 | self.this = apply(gdic.new_wxMemoryDC,_args,_kwargs) | |
854 | self.thisown = 1 | |
855 | ||
856 | ||
857 | ||
858 | ||
859 | class wxBufferedDCPtr(wxMemoryDCPtr): | |
860 | def __init__(self,this): | |
861 | self.this = this | |
862 | self.thisown = 0 | |
863 | def UnMask(self, *_args, **_kwargs): | |
864 | val = apply(gdic.wxBufferedDC_UnMask,(self,) + _args, _kwargs) | |
865 | return val | |
866 | def __repr__(self): | |
867 | return "<C wxBufferedDC instance at %s>" % (self.this,) | |
868 | class wxBufferedDC(wxBufferedDCPtr): | |
869 | def __init__(self,*_args,**_kwargs): | |
870 | self.this = apply(gdic.new_wxBufferedDC,_args,_kwargs) | |
871 | self.thisown = 1 | |
872 | self._dc = _args[0] # save a ref so the other dc won't be deleted before self | |
873 | ||
874 | ||
875 | ||
876 | def wxBufferedDCInternalBuffer(*_args,**_kwargs): | |
877 | val = wxBufferedDCPtr(apply(gdic.new_wxBufferedDCInternalBuffer,_args,_kwargs)) | |
878 | val.thisown = 1 | |
879 | val._dc = _args[0] # save a ref so the other dc won't be deleted before self | |
880 | return val | |
881 | ||
882 | ||
883 | class wxBufferedPaintDCPtr(wxBufferedDCPtr): | |
884 | def __init__(self,this): | |
885 | self.this = this | |
886 | self.thisown = 0 | |
887 | def __repr__(self): | |
888 | return "<C wxBufferedPaintDC instance at %s>" % (self.this,) | |
889 | class wxBufferedPaintDC(wxBufferedPaintDCPtr): | |
890 | def __init__(self,*_args,**_kwargs): | |
891 | self.this = apply(gdic.new_wxBufferedPaintDC,_args,_kwargs) | |
892 | self.thisown = 1 | |
893 | ||
894 | ||
895 | ||
896 | ||
897 | class wxScreenDCPtr(wxDCPtr): | |
898 | def __init__(self,this): | |
899 | self.this = this | |
900 | self.thisown = 0 | |
901 | def StartDrawingOnTopWin(self, *_args, **_kwargs): | |
902 | val = apply(gdic.wxScreenDC_StartDrawingOnTopWin,(self,) + _args, _kwargs) | |
903 | return val | |
904 | def StartDrawingOnTop(self, *_args, **_kwargs): | |
905 | val = apply(gdic.wxScreenDC_StartDrawingOnTop,(self,) + _args, _kwargs) | |
906 | return val | |
907 | def EndDrawingOnTop(self, *_args, **_kwargs): | |
908 | val = apply(gdic.wxScreenDC_EndDrawingOnTop,(self,) + _args, _kwargs) | |
909 | return val | |
910 | def __repr__(self): | |
911 | return "<C wxScreenDC instance at %s>" % (self.this,) | |
912 | class wxScreenDC(wxScreenDCPtr): | |
913 | def __init__(self,*_args,**_kwargs): | |
914 | self.this = apply(gdic.new_wxScreenDC,_args,_kwargs) | |
915 | self.thisown = 1 | |
916 | ||
917 | ||
918 | ||
919 | ||
920 | class wxClientDCPtr(wxDCPtr): | |
921 | def __init__(self,this): | |
922 | self.this = this | |
923 | self.thisown = 0 | |
924 | def __repr__(self): | |
925 | return "<C wxClientDC instance at %s>" % (self.this,) | |
926 | class wxClientDC(wxClientDCPtr): | |
927 | def __init__(self,*_args,**_kwargs): | |
928 | self.this = apply(gdic.new_wxClientDC,_args,_kwargs) | |
929 | self.thisown = 1 | |
930 | ||
931 | ||
932 | ||
933 | ||
934 | class wxPaintDCPtr(wxDCPtr): | |
935 | def __init__(self,this): | |
936 | self.this = this | |
937 | self.thisown = 0 | |
938 | def __repr__(self): | |
939 | return "<C wxPaintDC instance at %s>" % (self.this,) | |
940 | class wxPaintDC(wxPaintDCPtr): | |
941 | def __init__(self,*_args,**_kwargs): | |
942 | self.this = apply(gdic.new_wxPaintDC,_args,_kwargs) | |
943 | self.thisown = 1 | |
944 | ||
945 | ||
946 | ||
947 | ||
948 | class wxWindowDCPtr(wxDCPtr): | |
949 | def __init__(self,this): | |
950 | self.this = this | |
951 | self.thisown = 0 | |
952 | def __repr__(self): | |
953 | return "<C wxWindowDC instance at %s>" % (self.this,) | |
954 | class wxWindowDC(wxWindowDCPtr): | |
955 | def __init__(self,*_args,**_kwargs): | |
956 | self.this = apply(gdic.new_wxWindowDC,_args,_kwargs) | |
957 | self.thisown = 1 | |
958 | ||
959 | ||
960 | ||
961 | ||
962 | class wxMetaFilePtr(wxObjectPtr): | |
963 | def __init__(self,this): | |
964 | self.this = this | |
965 | self.thisown = 0 | |
966 | def __del__(self,gdic=gdic): | |
967 | if self.thisown == 1 : | |
968 | gdic.delete_wxMetaFile(self) | |
969 | def Ok(self, *_args, **_kwargs): | |
970 | val = apply(gdic.wxMetaFile_Ok,(self,) + _args, _kwargs) | |
971 | return val | |
972 | def SetClipboard(self, *_args, **_kwargs): | |
973 | val = apply(gdic.wxMetaFile_SetClipboard,(self,) + _args, _kwargs) | |
974 | return val | |
975 | def GetSize(self, *_args, **_kwargs): | |
976 | val = apply(gdic.wxMetaFile_GetSize,(self,) + _args, _kwargs) | |
977 | if val: val = wxSizePtr(val) ; val.thisown = 1 | |
978 | return val | |
979 | def GetWidth(self, *_args, **_kwargs): | |
980 | val = apply(gdic.wxMetaFile_GetWidth,(self,) + _args, _kwargs) | |
981 | return val | |
982 | def GetHeight(self, *_args, **_kwargs): | |
983 | val = apply(gdic.wxMetaFile_GetHeight,(self,) + _args, _kwargs) | |
984 | return val | |
985 | def GetFileName(self, *_args, **_kwargs): | |
986 | val = apply(gdic.wxMetaFile_GetFileName,(self,) + _args, _kwargs) | |
987 | return val | |
988 | def __repr__(self): | |
989 | return "<C wxMetaFile instance at %s>" % (self.this,) | |
990 | class wxMetaFile(wxMetaFilePtr): | |
991 | def __init__(self,*_args,**_kwargs): | |
992 | self.this = apply(gdic.new_wxMetaFile,_args,_kwargs) | |
993 | self.thisown = 1 | |
994 | ||
995 | ||
996 | ||
997 | ||
998 | class wxMetaFileDCPtr(wxDCPtr): | |
999 | def __init__(self,this): | |
1000 | self.this = this | |
1001 | self.thisown = 0 | |
1002 | def Close(self, *_args, **_kwargs): | |
1003 | val = apply(gdic.wxMetaFileDC_Close,(self,) + _args, _kwargs) | |
1004 | if val: val = wxMetaFilePtr(val) | |
1005 | return val | |
1006 | def __repr__(self): | |
1007 | return "<C wxMetaFileDC instance at %s>" % (self.this,) | |
1008 | class wxMetaFileDC(wxMetaFileDCPtr): | |
1009 | def __init__(self,*_args,**_kwargs): | |
1010 | self.this = apply(gdic.new_wxMetaFileDC,_args,_kwargs) | |
1011 | self.thisown = 1 | |
1012 | ||
1013 | ||
1014 | ||
1015 | ||
1016 | class wxPalettePtr(wxGDIObjectPtr): | |
1017 | def __init__(self,this): | |
1018 | self.this = this | |
1019 | self.thisown = 0 | |
1020 | def __del__(self,gdic=gdic): | |
1021 | if self.thisown == 1 : | |
1022 | gdic.delete_wxPalette(self) | |
1023 | def GetPixel(self, *_args, **_kwargs): | |
1024 | val = apply(gdic.wxPalette_GetPixel,(self,) + _args, _kwargs) | |
1025 | return val | |
1026 | def GetRGB(self, *_args, **_kwargs): | |
1027 | val = apply(gdic.wxPalette_GetRGB,(self,) + _args, _kwargs) | |
1028 | return val | |
1029 | def Ok(self, *_args, **_kwargs): | |
1030 | val = apply(gdic.wxPalette_Ok,(self,) + _args, _kwargs) | |
1031 | return val | |
1032 | def __repr__(self): | |
1033 | return "<C wxPalette instance at %s>" % (self.this,) | |
1034 | class wxPalette(wxPalettePtr): | |
1035 | def __init__(self,*_args,**_kwargs): | |
1036 | self.this = apply(gdic.new_wxPalette,_args,_kwargs) | |
1037 | self.thisown = 1 | |
1038 | ||
1039 | ||
1040 | ||
1041 | ||
1042 | class wxImageListPtr(wxObjectPtr): | |
1043 | def __init__(self,this): | |
1044 | self.this = this | |
1045 | self.thisown = 0 | |
1046 | def __del__(self,gdic=gdic): | |
1047 | if self.thisown == 1 : | |
1048 | gdic.delete_wxImageList(self) | |
1049 | def Add(self, *_args, **_kwargs): | |
1050 | val = apply(gdic.wxImageList_Add,(self,) + _args, _kwargs) | |
1051 | return val | |
1052 | def AddWithColourMask(self, *_args, **_kwargs): | |
1053 | val = apply(gdic.wxImageList_AddWithColourMask,(self,) + _args, _kwargs) | |
1054 | return val | |
1055 | def AddIcon(self, *_args, **_kwargs): | |
1056 | val = apply(gdic.wxImageList_AddIcon,(self,) + _args, _kwargs) | |
1057 | return val | |
1058 | def Replace(self, *_args, **_kwargs): | |
1059 | val = apply(gdic.wxImageList_Replace,(self,) + _args, _kwargs) | |
1060 | return val | |
1061 | def Draw(self, *_args, **_kwargs): | |
1062 | val = apply(gdic.wxImageList_Draw,(self,) + _args, _kwargs) | |
1063 | return val | |
1064 | def GetImageCount(self, *_args, **_kwargs): | |
1065 | val = apply(gdic.wxImageList_GetImageCount,(self,) + _args, _kwargs) | |
1066 | return val | |
1067 | def Remove(self, *_args, **_kwargs): | |
1068 | val = apply(gdic.wxImageList_Remove,(self,) + _args, _kwargs) | |
1069 | return val | |
1070 | def RemoveAll(self, *_args, **_kwargs): | |
1071 | val = apply(gdic.wxImageList_RemoveAll,(self,) + _args, _kwargs) | |
1072 | return val | |
1073 | def GetSize(self, *_args, **_kwargs): | |
1074 | val = apply(gdic.wxImageList_GetSize,(self,) + _args, _kwargs) | |
1075 | return val | |
1076 | def __repr__(self): | |
1077 | return "<C wxImageList instance at %s>" % (self.this,) | |
1078 | class wxImageList(wxImageListPtr): | |
1079 | def __init__(self,*_args,**_kwargs): | |
1080 | self.this = apply(gdic.new_wxImageList,_args,_kwargs) | |
1081 | self.thisown = 1 | |
1082 | ||
1083 | ||
1084 | ||
1085 | ||
1086 | class wxRegionPtr(wxGDIObjectPtr): | |
1087 | def __init__(self,this): | |
1088 | self.this = this | |
1089 | self.thisown = 0 | |
1090 | def __del__(self,gdic=gdic): | |
1091 | if self.thisown == 1 : | |
1092 | gdic.delete_wxRegion(self) | |
1093 | def Clear(self, *_args, **_kwargs): | |
1094 | val = apply(gdic.wxRegion_Clear,(self,) + _args, _kwargs) | |
1095 | return val | |
1096 | def Offset(self, *_args, **_kwargs): | |
1097 | val = apply(gdic.wxRegion_Offset,(self,) + _args, _kwargs) | |
1098 | return val | |
1099 | def Contains(self, *_args, **_kwargs): | |
1100 | val = apply(gdic.wxRegion_Contains,(self,) + _args, _kwargs) | |
1101 | return val | |
1102 | def ContainsPoint(self, *_args, **_kwargs): | |
1103 | val = apply(gdic.wxRegion_ContainsPoint,(self,) + _args, _kwargs) | |
1104 | return val | |
1105 | def ContainsRect(self, *_args, **_kwargs): | |
1106 | val = apply(gdic.wxRegion_ContainsRect,(self,) + _args, _kwargs) | |
1107 | return val | |
1108 | def ContainsRectDim(self, *_args, **_kwargs): | |
1109 | val = apply(gdic.wxRegion_ContainsRectDim,(self,) + _args, _kwargs) | |
1110 | return val | |
1111 | def GetBox(self, *_args, **_kwargs): | |
1112 | val = apply(gdic.wxRegion_GetBox,(self,) + _args, _kwargs) | |
1113 | if val: val = wxRectPtr(val) ; val.thisown = 1 | |
1114 | return val | |
1115 | def Intersect(self, *_args, **_kwargs): | |
1116 | val = apply(gdic.wxRegion_Intersect,(self,) + _args, _kwargs) | |
1117 | return val | |
1118 | def IntersectRect(self, *_args, **_kwargs): | |
1119 | val = apply(gdic.wxRegion_IntersectRect,(self,) + _args, _kwargs) | |
1120 | return val | |
1121 | def IntersectRegion(self, *_args, **_kwargs): | |
1122 | val = apply(gdic.wxRegion_IntersectRegion,(self,) + _args, _kwargs) | |
1123 | return val | |
1124 | def IsEmpty(self, *_args, **_kwargs): | |
1125 | val = apply(gdic.wxRegion_IsEmpty,(self,) + _args, _kwargs) | |
1126 | return val | |
1127 | def Union(self, *_args, **_kwargs): | |
1128 | val = apply(gdic.wxRegion_Union,(self,) + _args, _kwargs) | |
1129 | return val | |
1130 | def UnionRect(self, *_args, **_kwargs): | |
1131 | val = apply(gdic.wxRegion_UnionRect,(self,) + _args, _kwargs) | |
1132 | return val | |
1133 | def UnionRegion(self, *_args, **_kwargs): | |
1134 | val = apply(gdic.wxRegion_UnionRegion,(self,) + _args, _kwargs) | |
1135 | return val | |
1136 | def Subtract(self, *_args, **_kwargs): | |
1137 | val = apply(gdic.wxRegion_Subtract,(self,) + _args, _kwargs) | |
1138 | return val | |
1139 | def SubtractRect(self, *_args, **_kwargs): | |
1140 | val = apply(gdic.wxRegion_SubtractRect,(self,) + _args, _kwargs) | |
1141 | return val | |
1142 | def SubtractRegion(self, *_args, **_kwargs): | |
1143 | val = apply(gdic.wxRegion_SubtractRegion,(self,) + _args, _kwargs) | |
1144 | return val | |
1145 | def Xor(self, *_args, **_kwargs): | |
1146 | val = apply(gdic.wxRegion_Xor,(self,) + _args, _kwargs) | |
1147 | return val | |
1148 | def XorRect(self, *_args, **_kwargs): | |
1149 | val = apply(gdic.wxRegion_XorRect,(self,) + _args, _kwargs) | |
1150 | return val | |
1151 | def XorRegion(self, *_args, **_kwargs): | |
1152 | val = apply(gdic.wxRegion_XorRegion,(self,) + _args, _kwargs) | |
1153 | return val | |
1154 | def __repr__(self): | |
1155 | return "<C wxRegion instance at %s>" % (self.this,) | |
1156 | class wxRegion(wxRegionPtr): | |
1157 | def __init__(self,*_args,**_kwargs): | |
1158 | self.this = apply(gdic.new_wxRegion,_args,_kwargs) | |
1159 | self.thisown = 1 | |
1160 | ||
1161 | ||
1162 | ||
1163 | ||
1164 | class wxRegionIteratorPtr(wxObjectPtr): | |
1165 | def __init__(self,this): | |
1166 | self.this = this | |
1167 | self.thisown = 0 | |
1168 | def __del__(self,gdic=gdic): | |
1169 | if self.thisown == 1 : | |
1170 | gdic.delete_wxRegionIterator(self) | |
1171 | def GetX(self, *_args, **_kwargs): | |
1172 | val = apply(gdic.wxRegionIterator_GetX,(self,) + _args, _kwargs) | |
1173 | return val | |
1174 | def GetY(self, *_args, **_kwargs): | |
1175 | val = apply(gdic.wxRegionIterator_GetY,(self,) + _args, _kwargs) | |
1176 | return val | |
1177 | def GetW(self, *_args, **_kwargs): | |
1178 | val = apply(gdic.wxRegionIterator_GetW,(self,) + _args, _kwargs) | |
1179 | return val | |
1180 | def GetWidth(self, *_args, **_kwargs): | |
1181 | val = apply(gdic.wxRegionIterator_GetWidth,(self,) + _args, _kwargs) | |
1182 | return val | |
1183 | def GetH(self, *_args, **_kwargs): | |
1184 | val = apply(gdic.wxRegionIterator_GetH,(self,) + _args, _kwargs) | |
1185 | return val | |
1186 | def GetHeight(self, *_args, **_kwargs): | |
1187 | val = apply(gdic.wxRegionIterator_GetHeight,(self,) + _args, _kwargs) | |
1188 | return val | |
1189 | def GetRect(self, *_args, **_kwargs): | |
1190 | val = apply(gdic.wxRegionIterator_GetRect,(self,) + _args, _kwargs) | |
1191 | if val: val = wxRectPtr(val) ; val.thisown = 1 | |
1192 | return val | |
1193 | def HaveRects(self, *_args, **_kwargs): | |
1194 | val = apply(gdic.wxRegionIterator_HaveRects,(self,) + _args, _kwargs) | |
1195 | return val | |
1196 | def Reset(self, *_args, **_kwargs): | |
1197 | val = apply(gdic.wxRegionIterator_Reset,(self,) + _args, _kwargs) | |
1198 | return val | |
1199 | def Next(self, *_args, **_kwargs): | |
1200 | val = apply(gdic.wxRegionIterator_Next,(self,) + _args, _kwargs) | |
1201 | return val | |
1202 | def __repr__(self): | |
1203 | return "<C wxRegionIterator instance at %s>" % (self.this,) | |
1204 | class wxRegionIterator(wxRegionIteratorPtr): | |
1205 | def __init__(self,*_args,**_kwargs): | |
1206 | self.this = apply(gdic.new_wxRegionIterator,_args,_kwargs) | |
1207 | self.thisown = 1 | |
1208 | ||
1209 | ||
1210 | ||
1211 | ||
1212 | ||
1213 | ||
1214 | #-------------- FUNCTION WRAPPERS ------------------ | |
1215 | ||
1216 | def wxEmptyBitmap(*_args, **_kwargs): | |
1217 | val = apply(gdic.wxEmptyBitmap,_args,_kwargs) | |
1218 | if val: val = wxBitmapPtr(val); val.thisown = 1 | |
1219 | return val | |
1220 | ||
1221 | def wxBitmapFromXPMData(*_args, **_kwargs): | |
1222 | val = apply(gdic.wxBitmapFromXPMData,_args,_kwargs) | |
1223 | if val: val = wxBitmapPtr(val); val.thisown = 1 | |
1224 | return val | |
1225 | ||
1226 | def wxBitmapFromIcon(*_args, **_kwargs): | |
1227 | val = apply(gdic.wxBitmapFromIcon,_args,_kwargs) | |
1228 | if val: val = wxBitmapPtr(val); val.thisown = 1 | |
1229 | return val | |
1230 | ||
1231 | def wxBitmapFromBits(*_args, **_kwargs): | |
1232 | val = apply(gdic.wxBitmapFromBits,_args,_kwargs) | |
1233 | if val: val = wxBitmapPtr(val); val.thisown = 1 | |
1234 | return val | |
1235 | ||
1236 | def wxMaskColour(*_args, **_kwargs): | |
1237 | val = apply(gdic.wxMaskColour,_args,_kwargs) | |
1238 | if val: val = wxMaskPtr(val); val.thisown = 1 | |
1239 | return val | |
1240 | ||
1241 | def wxEmptyIcon(*_args, **_kwargs): | |
1242 | val = apply(gdic.wxEmptyIcon,_args,_kwargs) | |
1243 | if val: val = wxIconPtr(val); val.thisown = 1 | |
1244 | return val | |
1245 | ||
1246 | def wxIconFromXPMData(*_args, **_kwargs): | |
1247 | val = apply(gdic.wxIconFromXPMData,_args,_kwargs) | |
1248 | if val: val = wxIconPtr(val); val.thisown = 1 | |
1249 | return val | |
1250 | ||
1251 | def wxIconFromBitmap(*_args, **_kwargs): | |
1252 | val = apply(gdic.wxIconFromBitmap,_args,_kwargs) | |
1253 | if val: val = wxIconPtr(val); val.thisown = 1 | |
1254 | return val | |
1255 | ||
1256 | def wxStockCursor(*_args, **_kwargs): | |
1257 | val = apply(gdic.wxStockCursor,_args,_kwargs) | |
1258 | if val: val = wxCursorPtr(val); val.thisown = 1 | |
1259 | return val | |
1260 | ||
1261 | def wxNamedColour(*_args, **_kwargs): | |
1262 | val = apply(gdic.wxNamedColour,_args,_kwargs) | |
1263 | if val: val = wxColourPtr(val); val.thisown = 1 | |
1264 | return val | |
1265 | ||
1266 | def wxMemoryDCFromDC(*_args, **_kwargs): | |
1267 | val = apply(gdic.wxMemoryDCFromDC,_args,_kwargs) | |
1268 | if val: val = wxMemoryDCPtr(val); val.thisown = 1 | |
1269 | return val | |
1270 | ||
1271 | ||
1272 | ||
1273 | #-------------- VARIABLE WRAPPERS ------------------ | |
1274 | ||
1275 | wxIMAGELIST_DRAW_NORMAL = gdic.wxIMAGELIST_DRAW_NORMAL | |
1276 | wxIMAGELIST_DRAW_TRANSPARENT = gdic.wxIMAGELIST_DRAW_TRANSPARENT | |
1277 | wxIMAGELIST_DRAW_SELECTED = gdic.wxIMAGELIST_DRAW_SELECTED | |
1278 | wxIMAGELIST_DRAW_FOCUSED = gdic.wxIMAGELIST_DRAW_FOCUSED | |
1279 | wxIMAGE_LIST_NORMAL = gdic.wxIMAGE_LIST_NORMAL | |
1280 | wxIMAGE_LIST_SMALL = gdic.wxIMAGE_LIST_SMALL | |
1281 | wxIMAGE_LIST_STATE = gdic.wxIMAGE_LIST_STATE | |
1282 | wxOutRegion = gdic.wxOutRegion | |
1283 | wxPartRegion = gdic.wxPartRegion | |
1284 | wxInRegion = gdic.wxInRegion | |
1285 | cvar = gdic.cvar | |
1286 | wxNORMAL_FONT = wxFontPtr(gdic.cvar.wxNORMAL_FONT) | |
1287 | wxSMALL_FONT = wxFontPtr(gdic.cvar.wxSMALL_FONT) | |
1288 | wxITALIC_FONT = wxFontPtr(gdic.cvar.wxITALIC_FONT) | |
1289 | wxSWISS_FONT = wxFontPtr(gdic.cvar.wxSWISS_FONT) | |
1290 | wxRED_PEN = wxPenPtr(gdic.cvar.wxRED_PEN) | |
1291 | wxCYAN_PEN = wxPenPtr(gdic.cvar.wxCYAN_PEN) | |
1292 | wxGREEN_PEN = wxPenPtr(gdic.cvar.wxGREEN_PEN) | |
1293 | wxBLACK_PEN = wxPenPtr(gdic.cvar.wxBLACK_PEN) | |
1294 | wxWHITE_PEN = wxPenPtr(gdic.cvar.wxWHITE_PEN) | |
1295 | wxTRANSPARENT_PEN = wxPenPtr(gdic.cvar.wxTRANSPARENT_PEN) | |
1296 | wxBLACK_DASHED_PEN = wxPenPtr(gdic.cvar.wxBLACK_DASHED_PEN) | |
1297 | wxGREY_PEN = wxPenPtr(gdic.cvar.wxGREY_PEN) | |
1298 | wxMEDIUM_GREY_PEN = wxPenPtr(gdic.cvar.wxMEDIUM_GREY_PEN) | |
1299 | wxLIGHT_GREY_PEN = wxPenPtr(gdic.cvar.wxLIGHT_GREY_PEN) | |
1300 | wxBLUE_BRUSH = wxBrushPtr(gdic.cvar.wxBLUE_BRUSH) | |
1301 | wxGREEN_BRUSH = wxBrushPtr(gdic.cvar.wxGREEN_BRUSH) | |
1302 | wxWHITE_BRUSH = wxBrushPtr(gdic.cvar.wxWHITE_BRUSH) | |
1303 | wxBLACK_BRUSH = wxBrushPtr(gdic.cvar.wxBLACK_BRUSH) | |
1304 | wxTRANSPARENT_BRUSH = wxBrushPtr(gdic.cvar.wxTRANSPARENT_BRUSH) | |
1305 | wxCYAN_BRUSH = wxBrushPtr(gdic.cvar.wxCYAN_BRUSH) | |
1306 | wxRED_BRUSH = wxBrushPtr(gdic.cvar.wxRED_BRUSH) | |
1307 | wxGREY_BRUSH = wxBrushPtr(gdic.cvar.wxGREY_BRUSH) | |
1308 | wxMEDIUM_GREY_BRUSH = wxBrushPtr(gdic.cvar.wxMEDIUM_GREY_BRUSH) | |
1309 | wxLIGHT_GREY_BRUSH = wxBrushPtr(gdic.cvar.wxLIGHT_GREY_BRUSH) | |
1310 | wxBLACK = wxColourPtr(gdic.cvar.wxBLACK) | |
1311 | wxWHITE = wxColourPtr(gdic.cvar.wxWHITE) | |
1312 | wxRED = wxColourPtr(gdic.cvar.wxRED) | |
1313 | wxBLUE = wxColourPtr(gdic.cvar.wxBLUE) | |
1314 | wxGREEN = wxColourPtr(gdic.cvar.wxGREEN) | |
1315 | wxCYAN = wxColourPtr(gdic.cvar.wxCYAN) | |
1316 | wxLIGHT_GREY = wxColourPtr(gdic.cvar.wxLIGHT_GREY) | |
1317 | wxSTANDARD_CURSOR = wxCursorPtr(gdic.cvar.wxSTANDARD_CURSOR) | |
1318 | wxHOURGLASS_CURSOR = wxCursorPtr(gdic.cvar.wxHOURGLASS_CURSOR) | |
1319 | wxCROSS_CURSOR = wxCursorPtr(gdic.cvar.wxCROSS_CURSOR) | |
1320 | wxNullBitmap = wxBitmapPtr(gdic.cvar.wxNullBitmap) | |
1321 | wxNullIcon = wxIconPtr(gdic.cvar.wxNullIcon) | |
1322 | wxNullCursor = wxCursorPtr(gdic.cvar.wxNullCursor) | |
1323 | wxNullPen = wxPenPtr(gdic.cvar.wxNullPen) | |
1324 | wxNullBrush = wxBrushPtr(gdic.cvar.wxNullBrush) | |
1325 | wxNullPalette = wxPalettePtr(gdic.cvar.wxNullPalette) | |
1326 | wxNullFont = wxFontPtr(gdic.cvar.wxNullFont) | |
1327 | wxNullColour = wxColourPtr(gdic.cvar.wxNullColour) | |
1328 | wxTheFontList = wxFontListPtr(gdic.cvar.wxTheFontList) | |
1329 | wxThePenList = wxPenListPtr(gdic.cvar.wxThePenList) | |
1330 | wxTheBrushList = wxBrushListPtr(gdic.cvar.wxTheBrushList) | |
1331 | wxTheColourDatabase = wxColourDatabasePtr(gdic.cvar.wxTheColourDatabase) |