]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/gdi.py
Images can now be embedded in Python source files.
[wxWidgets.git] / wxPython / src / gtk / gdi.py
CommitLineData
70551f47
RD
1# This file was created automatically by SWIG.
2import gdic
3
4from misc import *
5class wxBitmapPtr :
6 def __init__(self,this):
7 self.this = this
8 self.thisown = 0
2d091820 9 def __del__(self,gdic=gdic):
70551f47 10 if self.thisown == 1 :
2d091820 11 gdic.delete_wxBitmap(self)
2d091820
RD
12 def GetPalette(self, *_args, **_kwargs):
13 val = apply(gdic.wxBitmap_GetPalette,(self,) + _args, _kwargs)
14 if val: val = wxPalettePtr(val)
70551f47 15 return val
2d091820
RD
16 def GetMask(self, *_args, **_kwargs):
17 val = apply(gdic.wxBitmap_GetMask,(self,) + _args, _kwargs)
18 if val: val = wxMaskPtr(val)
70551f47 19 return val
2d091820
RD
20 def LoadFile(self, *_args, **_kwargs):
21 val = apply(gdic.wxBitmap_LoadFile,(self,) + _args, _kwargs)
70551f47 22 return val
2d091820
RD
23 def SaveFile(self, *_args, **_kwargs):
24 val = apply(gdic.wxBitmap_SaveFile,(self,) + _args, _kwargs)
70551f47 25 return val
2d091820
RD
26 def SetMask(self, *_args, **_kwargs):
27 val = apply(gdic.wxBitmap_SetMask,(self,) + _args, _kwargs)
70551f47 28 return val
56f5d962
RD
29 def Ok(self, *_args, **_kwargs):
30 val = apply(gdic.wxBitmap_Ok,(self,) + _args, _kwargs)
31 return val
32 def GetWidth(self, *_args, **_kwargs):
33 val = apply(gdic.wxBitmap_GetWidth,(self,) + _args, _kwargs)
34 return val
35 def GetHeight(self, *_args, **_kwargs):
36 val = apply(gdic.wxBitmap_GetHeight,(self,) + _args, _kwargs)
37 return val
38 def GetDepth(self, *_args, **_kwargs):
39 val = apply(gdic.wxBitmap_GetDepth,(self,) + _args, _kwargs)
40 return val
2d091820
RD
41 def SetWidth(self, *_args, **_kwargs):
42 val = apply(gdic.wxBitmap_SetWidth,(self,) + _args, _kwargs)
70551f47 43 return val
56f5d962
RD
44 def SetHeight(self, *_args, **_kwargs):
45 val = apply(gdic.wxBitmap_SetHeight,(self,) + _args, _kwargs)
46 return val
47 def SetDepth(self, *_args, **_kwargs):
48 val = apply(gdic.wxBitmap_SetDepth,(self,) + _args, _kwargs)
49 return val
f6bcfd97
BP
50 def GetSubBitmap(self, *_args, **_kwargs):
51 val = apply(gdic.wxBitmap_GetSubBitmap,(self,) + _args, _kwargs)
52 if val: val = wxBitmapPtr(val) ; val.thisown = 1
53 return val
70551f47 54 def __repr__(self):
2d091820 55 return "<C wxBitmap instance at %s>" % (self.this,)
f6bcfd97
BP
56
57 def __del__(self,gdic=gdic):
58 try:
59 if self.thisown == 1 :
60 gdic.delete_wxBitmap(self)
61 except:
62 pass
63
70551f47 64class wxBitmap(wxBitmapPtr):
2d091820
RD
65 def __init__(self,*_args,**_kwargs):
66 self.this = apply(gdic.new_wxBitmap,_args,_kwargs)
70551f47
RD
67 self.thisown = 1
68
69
70
71
72class wxMaskPtr :
73 def __init__(self,this):
74 self.this = this
75 self.thisown = 0
70551f47 76 def __repr__(self):
2d091820 77 return "<C wxMask instance at %s>" % (self.this,)
70551f47 78class wxMask(wxMaskPtr):
2d091820
RD
79 def __init__(self,*_args,**_kwargs):
80 self.this = apply(gdic.new_wxMask,_args,_kwargs)
70551f47
RD
81 self.thisown = 1
82
83
84
85
56f5d962 86class wxIconPtr :
70551f47
RD
87 def __init__(self,this):
88 self.this = this
89 self.thisown = 0
2d091820 90 def __del__(self,gdic=gdic):
70551f47 91 if self.thisown == 1 :
2d091820 92 gdic.delete_wxIcon(self)
56f5d962
RD
93 def LoadFile(self, *_args, **_kwargs):
94 val = apply(gdic.wxIcon_LoadFile,(self,) + _args, _kwargs)
70551f47 95 return val
56f5d962
RD
96 def Ok(self, *_args, **_kwargs):
97 val = apply(gdic.wxIcon_Ok,(self,) + _args, _kwargs)
70551f47 98 return val
2d091820
RD
99 def GetWidth(self, *_args, **_kwargs):
100 val = apply(gdic.wxIcon_GetWidth,(self,) + _args, _kwargs)
70551f47 101 return val
56f5d962
RD
102 def GetHeight(self, *_args, **_kwargs):
103 val = apply(gdic.wxIcon_GetHeight,(self,) + _args, _kwargs)
70551f47 104 return val
56f5d962
RD
105 def GetDepth(self, *_args, **_kwargs):
106 val = apply(gdic.wxIcon_GetDepth,(self,) + _args, _kwargs)
70551f47 107 return val
56f5d962
RD
108 def SetWidth(self, *_args, **_kwargs):
109 val = apply(gdic.wxIcon_SetWidth,(self,) + _args, _kwargs)
70551f47 110 return val
2d091820
RD
111 def SetHeight(self, *_args, **_kwargs):
112 val = apply(gdic.wxIcon_SetHeight,(self,) + _args, _kwargs)
70551f47 113 return val
56f5d962
RD
114 def SetDepth(self, *_args, **_kwargs):
115 val = apply(gdic.wxIcon_SetDepth,(self,) + _args, _kwargs)
70551f47
RD
116 return val
117 def __repr__(self):
2d091820 118 return "<C wxIcon instance at %s>" % (self.this,)
f6bcfd97
BP
119
120 def __del__(self,gdic=gdic):
121 try:
122 if self.thisown == 1 :
123 gdic.delete_wxIcon(self)
124 except:
125 pass
126
70551f47 127class wxIcon(wxIconPtr):
2d091820
RD
128 def __init__(self,*_args,**_kwargs):
129 self.this = apply(gdic.new_wxIcon,_args,_kwargs)
8bf5d46e 130 self.thisown = 1
70551f47
RD
131
132
133
134
56f5d962 135class wxCursorPtr :
70551f47
RD
136 def __init__(self,this):
137 self.this = this
138 self.thisown = 0
2d091820 139 def __del__(self,gdic=gdic):
70551f47 140 if self.thisown == 1 :
2d091820
RD
141 gdic.delete_wxCursor(self)
142 def Ok(self, *_args, **_kwargs):
143 val = apply(gdic.wxCursor_Ok,(self,) + _args, _kwargs)
70551f47
RD
144 return val
145 def __repr__(self):
2d091820 146 return "<C wxCursor instance at %s>" % (self.this,)
70551f47
RD
147class wxCursor(wxCursorPtr):
148 def __init__(self,this):
149 self.this = this
150
151
152
153
154class wxFontPtr :
155 def __init__(self,this):
156 self.this = this
157 self.thisown = 0
5e40f9dd
RD
158 def __del__(self,gdic=gdic):
159 if self.thisown == 1 :
160 gdic.delete_wxFont(self)
d29aba2f
RD
161 def Ok(self, *_args, **_kwargs):
162 val = apply(gdic.wxFont_Ok,(self,) + _args, _kwargs)
163 return val
2d091820
RD
164 def GetFaceName(self, *_args, **_kwargs):
165 val = apply(gdic.wxFont_GetFaceName,(self,) + _args, _kwargs)
70551f47 166 return val
2d091820
RD
167 def GetFamily(self, *_args, **_kwargs):
168 val = apply(gdic.wxFont_GetFamily,(self,) + _args, _kwargs)
70551f47 169 return val
2d091820
RD
170 def GetPointSize(self, *_args, **_kwargs):
171 val = apply(gdic.wxFont_GetPointSize,(self,) + _args, _kwargs)
70551f47 172 return val
2d091820
RD
173 def GetStyle(self, *_args, **_kwargs):
174 val = apply(gdic.wxFont_GetStyle,(self,) + _args, _kwargs)
70551f47 175 return val
2d091820
RD
176 def GetUnderlined(self, *_args, **_kwargs):
177 val = apply(gdic.wxFont_GetUnderlined,(self,) + _args, _kwargs)
70551f47 178 return val
2d091820
RD
179 def GetWeight(self, *_args, **_kwargs):
180 val = apply(gdic.wxFont_GetWeight,(self,) + _args, _kwargs)
70551f47 181 return val
134d79dc
RD
182 def GetEncoding(self, *_args, **_kwargs):
183 val = apply(gdic.wxFont_GetEncoding,(self,) + _args, _kwargs)
184 return val
2d091820
RD
185 def SetFaceName(self, *_args, **_kwargs):
186 val = apply(gdic.wxFont_SetFaceName,(self,) + _args, _kwargs)
d3b4d113 187 return val
2d091820
RD
188 def SetFamily(self, *_args, **_kwargs):
189 val = apply(gdic.wxFont_SetFamily,(self,) + _args, _kwargs)
d3b4d113 190 return val
2d091820
RD
191 def SetPointSize(self, *_args, **_kwargs):
192 val = apply(gdic.wxFont_SetPointSize,(self,) + _args, _kwargs)
d3b4d113 193 return val
2d091820
RD
194 def SetStyle(self, *_args, **_kwargs):
195 val = apply(gdic.wxFont_SetStyle,(self,) + _args, _kwargs)
d3b4d113 196 return val
2d091820
RD
197 def SetUnderlined(self, *_args, **_kwargs):
198 val = apply(gdic.wxFont_SetUnderlined,(self,) + _args, _kwargs)
d3b4d113 199 return val
2d091820
RD
200 def SetWeight(self, *_args, **_kwargs):
201 val = apply(gdic.wxFont_SetWeight,(self,) + _args, _kwargs)
d3b4d113 202 return val
134d79dc
RD
203 def SetEncoding(self, *_args, **_kwargs):
204 val = apply(gdic.wxFont_SetEncoding,(self,) + _args, _kwargs)
205 return val
206 def GetFamilyString(self, *_args, **_kwargs):
207 val = apply(gdic.wxFont_GetFamilyString,(self,) + _args, _kwargs)
208 return val
209 def GetStyleString(self, *_args, **_kwargs):
210 val = apply(gdic.wxFont_GetStyleString,(self,) + _args, _kwargs)
211 return val
212 def GetWeightString(self, *_args, **_kwargs):
213 val = apply(gdic.wxFont_GetWeightString,(self,) + _args, _kwargs)
214 return val
70551f47 215 def __repr__(self):
2d091820 216 return "<C wxFont instance at %s>" % (self.this,)
70551f47 217class wxFont(wxFontPtr):
2d091820
RD
218 def __init__(self,*_args,**_kwargs):
219 self.this = apply(gdic.new_wxFont,_args,_kwargs)
70551f47
RD
220 self.thisown = 1
221
222
223
224
5e40f9dd
RD
225class wxFontListPtr :
226 def __init__(self,this):
227 self.this = this
228 self.thisown = 0
229 def AddFont(self, *_args, **_kwargs):
230 val = apply(gdic.wxFontList_AddFont,(self,) + _args, _kwargs)
231 return val
232 def FindOrCreateFont(self, *_args, **_kwargs):
233 val = apply(gdic.wxFontList_FindOrCreateFont,(self,) + _args, _kwargs)
234 if val: val = wxFontPtr(val)
235 return val
236 def RemoveFont(self, *_args, **_kwargs):
237 val = apply(gdic.wxFontList_RemoveFont,(self,) + _args, _kwargs)
238 return val
239 def __repr__(self):
240 return "<C wxFontList instance at %s>" % (self.this,)
241class wxFontList(wxFontListPtr):
242 def __init__(self,this):
243 self.this = this
244
245
246
247
70551f47
RD
248class wxColourPtr :
249 def __init__(self,this):
250 self.this = this
251 self.thisown = 0
2d091820 252 def __del__(self,gdic=gdic):
70551f47 253 if self.thisown == 1 :
2d091820
RD
254 gdic.delete_wxColour(self)
255 def Red(self, *_args, **_kwargs):
256 val = apply(gdic.wxColour_Red,(self,) + _args, _kwargs)
70551f47 257 return val
2d091820
RD
258 def Green(self, *_args, **_kwargs):
259 val = apply(gdic.wxColour_Green,(self,) + _args, _kwargs)
70551f47 260 return val
2d091820
RD
261 def Blue(self, *_args, **_kwargs):
262 val = apply(gdic.wxColour_Blue,(self,) + _args, _kwargs)
70551f47 263 return val
2d091820
RD
264 def Ok(self, *_args, **_kwargs):
265 val = apply(gdic.wxColour_Ok,(self,) + _args, _kwargs)
70551f47 266 return val
2d091820
RD
267 def Set(self, *_args, **_kwargs):
268 val = apply(gdic.wxColour_Set,(self,) + _args, _kwargs)
70551f47 269 return val
2d091820
RD
270 def Get(self, *_args, **_kwargs):
271 val = apply(gdic.wxColour_Get,(self,) + _args, _kwargs)
70551f47
RD
272 return val
273 def __repr__(self):
2d091820 274 return "<C wxColour instance at %s>" % (self.this,)
ab2208b5
RD
275 asTuple = Get
276 def __str__(self): return str(self.asTuple())
277 def __repr__(self): return str(self.asTuple())
70551f47 278class wxColour(wxColourPtr):
2d091820
RD
279 def __init__(self,*_args,**_kwargs):
280 self.this = apply(gdic.new_wxColour,_args,_kwargs)
70551f47
RD
281 self.thisown = 1
282
283
284
285
5e40f9dd
RD
286class wxColourDatabasePtr :
287 def __init__(self,this):
288 self.this = this
289 self.thisown = 0
290 def FindColour(self, *_args, **_kwargs):
291 val = apply(gdic.wxColourDatabase_FindColour,(self,) + _args, _kwargs)
292 if val: val = wxColourPtr(val)
293 return val
294 def FindName(self, *_args, **_kwargs):
295 val = apply(gdic.wxColourDatabase_FindName,(self,) + _args, _kwargs)
296 return val
297 def Append(self, *_args, **_kwargs):
298 val = apply(gdic.wxColourDatabase_Append,(self,) + _args, _kwargs)
299 return val
300 def __repr__(self):
301 return "<C wxColourDatabase instance at %s>" % (self.this,)
302class wxColourDatabase(wxColourDatabasePtr):
303 def __init__(self,this):
304 self.this = this
305
306
307
308
70551f47
RD
309class wxPenPtr :
310 def __init__(self,this):
311 self.this = this
312 self.thisown = 0
5e40f9dd
RD
313 def __del__(self,gdic=gdic):
314 if self.thisown == 1 :
315 gdic.delete_wxPen(self)
2d091820
RD
316 def GetCap(self, *_args, **_kwargs):
317 val = apply(gdic.wxPen_GetCap,(self,) + _args, _kwargs)
70551f47 318 return val
2d091820
RD
319 def GetColour(self, *_args, **_kwargs):
320 val = apply(gdic.wxPen_GetColour,(self,) + _args, _kwargs)
321 if val: val = wxColourPtr(val)
70551f47 322 return val
2d091820
RD
323 def GetJoin(self, *_args, **_kwargs):
324 val = apply(gdic.wxPen_GetJoin,(self,) + _args, _kwargs)
70551f47 325 return val
2d091820
RD
326 def GetStyle(self, *_args, **_kwargs):
327 val = apply(gdic.wxPen_GetStyle,(self,) + _args, _kwargs)
70551f47 328 return val
2d091820
RD
329 def GetWidth(self, *_args, **_kwargs):
330 val = apply(gdic.wxPen_GetWidth,(self,) + _args, _kwargs)
70551f47 331 return val
2d091820
RD
332 def Ok(self, *_args, **_kwargs):
333 val = apply(gdic.wxPen_Ok,(self,) + _args, _kwargs)
70551f47 334 return val
2d091820
RD
335 def SetCap(self, *_args, **_kwargs):
336 val = apply(gdic.wxPen_SetCap,(self,) + _args, _kwargs)
70551f47 337 return val
2d091820
RD
338 def SetColour(self, *_args, **_kwargs):
339 val = apply(gdic.wxPen_SetColour,(self,) + _args, _kwargs)
70551f47 340 return val
2d091820
RD
341 def SetJoin(self, *_args, **_kwargs):
342 val = apply(gdic.wxPen_SetJoin,(self,) + _args, _kwargs)
70551f47 343 return val
2d091820
RD
344 def SetStyle(self, *_args, **_kwargs):
345 val = apply(gdic.wxPen_SetStyle,(self,) + _args, _kwargs)
70551f47 346 return val
2d091820
RD
347 def SetWidth(self, *_args, **_kwargs):
348 val = apply(gdic.wxPen_SetWidth,(self,) + _args, _kwargs)
70551f47 349 return val
56f5d962
RD
350 def GetDashes(self, *_args, **_kwargs):
351 val = apply(gdic.wxPen_GetDashes,(self,) + _args, _kwargs)
352 return val
353 def SetDashes(self, *_args, **_kwargs):
354 val = apply(gdic.wxPen_SetDashes,(self,) + _args, _kwargs)
355 return val
70551f47 356 def __repr__(self):
2d091820 357 return "<C wxPen instance at %s>" % (self.this,)
70551f47 358class wxPen(wxPenPtr):
2d091820
RD
359 def __init__(self,*_args,**_kwargs):
360 self.this = apply(gdic.new_wxPen,_args,_kwargs)
70551f47
RD
361 self.thisown = 1
362
363
364
365
5e40f9dd
RD
366class wxPenListPtr :
367 def __init__(self,this):
368 self.this = this
369 self.thisown = 0
370 def AddPen(self, *_args, **_kwargs):
371 val = apply(gdic.wxPenList_AddPen,(self,) + _args, _kwargs)
372 return val
373 def FindOrCreatePen(self, *_args, **_kwargs):
374 val = apply(gdic.wxPenList_FindOrCreatePen,(self,) + _args, _kwargs)
375 if val: val = wxPenPtr(val)
376 return val
377 def RemovePen(self, *_args, **_kwargs):
378 val = apply(gdic.wxPenList_RemovePen,(self,) + _args, _kwargs)
379 return val
380 def __repr__(self):
381 return "<C wxPenList instance at %s>" % (self.this,)
382class wxPenList(wxPenListPtr):
383 def __init__(self,this):
384 self.this = this
385
386
387
388
70551f47
RD
389class wxBrushPtr :
390 def __init__(self,this):
391 self.this = this
392 self.thisown = 0
5e40f9dd
RD
393 def __del__(self,gdic=gdic):
394 if self.thisown == 1 :
395 gdic.delete_wxBrush(self)
2d091820
RD
396 def GetColour(self, *_args, **_kwargs):
397 val = apply(gdic.wxBrush_GetColour,(self,) + _args, _kwargs)
398 if val: val = wxColourPtr(val)
70551f47 399 return val
2d091820
RD
400 def GetStipple(self, *_args, **_kwargs):
401 val = apply(gdic.wxBrush_GetStipple,(self,) + _args, _kwargs)
402 if val: val = wxBitmapPtr(val)
70551f47 403 return val
2d091820
RD
404 def GetStyle(self, *_args, **_kwargs):
405 val = apply(gdic.wxBrush_GetStyle,(self,) + _args, _kwargs)
70551f47 406 return val
2d091820
RD
407 def Ok(self, *_args, **_kwargs):
408 val = apply(gdic.wxBrush_Ok,(self,) + _args, _kwargs)
70551f47 409 return val
2d091820
RD
410 def SetColour(self, *_args, **_kwargs):
411 val = apply(gdic.wxBrush_SetColour,(self,) + _args, _kwargs)
c95e68d8 412 return val
2d091820
RD
413 def SetStipple(self, *_args, **_kwargs):
414 val = apply(gdic.wxBrush_SetStipple,(self,) + _args, _kwargs)
c95e68d8 415 return val
2d091820
RD
416 def SetStyle(self, *_args, **_kwargs):
417 val = apply(gdic.wxBrush_SetStyle,(self,) + _args, _kwargs)
c95e68d8 418 return val
70551f47 419 def __repr__(self):
2d091820 420 return "<C wxBrush instance at %s>" % (self.this,)
70551f47 421class wxBrush(wxBrushPtr):
2d091820
RD
422 def __init__(self,*_args,**_kwargs):
423 self.this = apply(gdic.new_wxBrush,_args,_kwargs)
70551f47
RD
424 self.thisown = 1
425
426
427
428
5e40f9dd
RD
429class wxBrushListPtr :
430 def __init__(self,this):
431 self.this = this
432 self.thisown = 0
433 def AddBrush(self, *_args, **_kwargs):
434 val = apply(gdic.wxBrushList_AddBrush,(self,) + _args, _kwargs)
435 return val
436 def FindOrCreateBrush(self, *_args, **_kwargs):
437 val = apply(gdic.wxBrushList_FindOrCreateBrush,(self,) + _args, _kwargs)
438 if val: val = wxBrushPtr(val)
439 return val
440 def RemoveBrush(self, *_args, **_kwargs):
441 val = apply(gdic.wxBrushList_RemoveBrush,(self,) + _args, _kwargs)
442 return val
443 def __repr__(self):
444 return "<C wxBrushList instance at %s>" % (self.this,)
445class wxBrushList(wxBrushListPtr):
446 def __init__(self,this):
447 self.this = this
448
449
450
451
70551f47
RD
452class wxDCPtr :
453 def __init__(self,this):
454 self.this = this
455 self.thisown = 0
2d091820 456 def __del__(self,gdic=gdic):
70551f47 457 if self.thisown == 1 :
2d091820
RD
458 gdic.delete_wxDC(self)
459 def BeginDrawing(self, *_args, **_kwargs):
460 val = apply(gdic.wxDC_BeginDrawing,(self,) + _args, _kwargs)
70551f47 461 return val
2d091820
RD
462 def Blit(self, *_args, **_kwargs):
463 val = apply(gdic.wxDC_Blit,(self,) + _args, _kwargs)
70551f47 464 return val
2d091820
RD
465 def Clear(self, *_args, **_kwargs):
466 val = apply(gdic.wxDC_Clear,(self,) + _args, _kwargs)
70551f47 467 return val
2d091820
RD
468 def CrossHair(self, *_args, **_kwargs):
469 val = apply(gdic.wxDC_CrossHair,(self,) + _args, _kwargs)
70551f47 470 return val
2d091820
RD
471 def DestroyClippingRegion(self, *_args, **_kwargs):
472 val = apply(gdic.wxDC_DestroyClippingRegion,(self,) + _args, _kwargs)
70551f47 473 return val
2d091820
RD
474 def DeviceToLogicalX(self, *_args, **_kwargs):
475 val = apply(gdic.wxDC_DeviceToLogicalX,(self,) + _args, _kwargs)
70551f47 476 return val
2d091820
RD
477 def DeviceToLogicalXRel(self, *_args, **_kwargs):
478 val = apply(gdic.wxDC_DeviceToLogicalXRel,(self,) + _args, _kwargs)
70551f47 479 return val
2d091820
RD
480 def DeviceToLogicalY(self, *_args, **_kwargs):
481 val = apply(gdic.wxDC_DeviceToLogicalY,(self,) + _args, _kwargs)
70551f47 482 return val
2d091820
RD
483 def DeviceToLogicalYRel(self, *_args, **_kwargs):
484 val = apply(gdic.wxDC_DeviceToLogicalYRel,(self,) + _args, _kwargs)
70551f47 485 return val
2d091820
RD
486 def DrawArc(self, *_args, **_kwargs):
487 val = apply(gdic.wxDC_DrawArc,(self,) + _args, _kwargs)
70551f47 488 return val
2d091820
RD
489 def DrawCircle(self, *_args, **_kwargs):
490 val = apply(gdic.wxDC_DrawCircle,(self,) + _args, _kwargs)
d24a34bb 491 return val
2d091820
RD
492 def DrawEllipse(self, *_args, **_kwargs):
493 val = apply(gdic.wxDC_DrawEllipse,(self,) + _args, _kwargs)
70551f47 494 return val
2d091820
RD
495 def DrawEllipticArc(self, *_args, **_kwargs):
496 val = apply(gdic.wxDC_DrawEllipticArc,(self,) + _args, _kwargs)
70551f47 497 return val
2d091820
RD
498 def DrawIcon(self, *_args, **_kwargs):
499 val = apply(gdic.wxDC_DrawIcon,(self,) + _args, _kwargs)
70551f47 500 return val
2d091820
RD
501 def DrawLine(self, *_args, **_kwargs):
502 val = apply(gdic.wxDC_DrawLine,(self,) + _args, _kwargs)
70551f47 503 return val
2d091820
RD
504 def DrawLines(self, *_args, **_kwargs):
505 val = apply(gdic.wxDC_DrawLines,(self,) + _args, _kwargs)
70551f47 506 return val
2d091820
RD
507 def DrawPolygon(self, *_args, **_kwargs):
508 val = apply(gdic.wxDC_DrawPolygon,(self,) + _args, _kwargs)
70551f47 509 return val
2d091820
RD
510 def DrawPoint(self, *_args, **_kwargs):
511 val = apply(gdic.wxDC_DrawPoint,(self,) + _args, _kwargs)
70551f47 512 return val
2d091820
RD
513 def DrawRectangle(self, *_args, **_kwargs):
514 val = apply(gdic.wxDC_DrawRectangle,(self,) + _args, _kwargs)
70551f47 515 return val
56f5d962
RD
516 def DrawRotatedText(self, *_args, **_kwargs):
517 val = apply(gdic.wxDC_DrawRotatedText,(self,) + _args, _kwargs)
518 return val
2d091820
RD
519 def DrawRoundedRectangle(self, *_args, **_kwargs):
520 val = apply(gdic.wxDC_DrawRoundedRectangle,(self,) + _args, _kwargs)
70551f47 521 return val
2d091820
RD
522 def DrawSpline(self, *_args, **_kwargs):
523 val = apply(gdic.wxDC_DrawSpline,(self,) + _args, _kwargs)
70551f47 524 return val
2d091820
RD
525 def DrawText(self, *_args, **_kwargs):
526 val = apply(gdic.wxDC_DrawText,(self,) + _args, _kwargs)
70551f47 527 return val
2d091820
RD
528 def EndDoc(self, *_args, **_kwargs):
529 val = apply(gdic.wxDC_EndDoc,(self,) + _args, _kwargs)
70551f47 530 return val
2d091820
RD
531 def EndDrawing(self, *_args, **_kwargs):
532 val = apply(gdic.wxDC_EndDrawing,(self,) + _args, _kwargs)
70551f47 533 return val
2d091820
RD
534 def EndPage(self, *_args, **_kwargs):
535 val = apply(gdic.wxDC_EndPage,(self,) + _args, _kwargs)
70551f47 536 return val
2d091820
RD
537 def FloodFill(self, *_args, **_kwargs):
538 val = apply(gdic.wxDC_FloodFill,(self,) + _args, _kwargs)
70551f47 539 return val
2d091820
RD
540 def GetBackground(self, *_args, **_kwargs):
541 val = apply(gdic.wxDC_GetBackground,(self,) + _args, _kwargs)
542 if val: val = wxBrushPtr(val)
70551f47 543 return val
2d091820
RD
544 def GetBrush(self, *_args, **_kwargs):
545 val = apply(gdic.wxDC_GetBrush,(self,) + _args, _kwargs)
546 if val: val = wxBrushPtr(val)
70551f47 547 return val
2d091820
RD
548 def GetCharHeight(self, *_args, **_kwargs):
549 val = apply(gdic.wxDC_GetCharHeight,(self,) + _args, _kwargs)
70551f47 550 return val
2d091820
RD
551 def GetCharWidth(self, *_args, **_kwargs):
552 val = apply(gdic.wxDC_GetCharWidth,(self,) + _args, _kwargs)
70551f47 553 return val
2d091820
RD
554 def GetClippingBox(self, *_args, **_kwargs):
555 val = apply(gdic.wxDC_GetClippingBox,(self,) + _args, _kwargs)
70551f47 556 return val
2d091820
RD
557 def GetFont(self, *_args, **_kwargs):
558 val = apply(gdic.wxDC_GetFont,(self,) + _args, _kwargs)
559 if val: val = wxFontPtr(val)
70551f47 560 return val
2d091820
RD
561 def GetLogicalFunction(self, *_args, **_kwargs):
562 val = apply(gdic.wxDC_GetLogicalFunction,(self,) + _args, _kwargs)
70551f47 563 return val
e02c03a4
RD
564 def GetLogicalScale(self, *_args, **_kwargs):
565 val = apply(gdic.wxDC_GetLogicalScale,(self,) + _args, _kwargs)
566 return val
2d091820
RD
567 def GetMapMode(self, *_args, **_kwargs):
568 val = apply(gdic.wxDC_GetMapMode,(self,) + _args, _kwargs)
70551f47 569 return val
2d091820
RD
570 def GetOptimization(self, *_args, **_kwargs):
571 val = apply(gdic.wxDC_GetOptimization,(self,) + _args, _kwargs)
70551f47 572 return val
2d091820
RD
573 def GetPen(self, *_args, **_kwargs):
574 val = apply(gdic.wxDC_GetPen,(self,) + _args, _kwargs)
575 if val: val = wxPenPtr(val)
70551f47 576 return val
2d091820
RD
577 def GetPixel(self, *_args, **_kwargs):
578 val = apply(gdic.wxDC_GetPixel,(self,) + _args, _kwargs)
579 if val: val = wxColourPtr(val) ; val.thisown = 1
70551f47 580 return val
2d091820
RD
581 def GetSizeTuple(self, *_args, **_kwargs):
582 val = apply(gdic.wxDC_GetSizeTuple,(self,) + _args, _kwargs)
d24a34bb 583 return val
2d091820
RD
584 def GetSize(self, *_args, **_kwargs):
585 val = apply(gdic.wxDC_GetSize,(self,) + _args, _kwargs)
586 if val: val = wxSizePtr(val) ; val.thisown = 1
70551f47 587 return val
e02c03a4
RD
588 def GetSizeMM(self, *_args, **_kwargs):
589 val = apply(gdic.wxDC_GetSizeMM,(self,) + _args, _kwargs)
590 if val: val = wxSizePtr(val) ; val.thisown = 1
591 return val
2d091820
RD
592 def GetTextBackground(self, *_args, **_kwargs):
593 val = apply(gdic.wxDC_GetTextBackground,(self,) + _args, _kwargs)
594 if val: val = wxColourPtr(val)
70551f47 595 return val
2d091820
RD
596 def GetTextExtent(self, *_args, **_kwargs):
597 val = apply(gdic.wxDC_GetTextExtent,(self,) + _args, _kwargs)
70551f47 598 return val
2d091820
RD
599 def GetFullTextExtent(self, *_args, **_kwargs):
600 val = apply(gdic.wxDC_GetFullTextExtent,(self,) + _args, _kwargs)
21f8d7ea 601 return val
2d091820
RD
602 def GetTextForeground(self, *_args, **_kwargs):
603 val = apply(gdic.wxDC_GetTextForeground,(self,) + _args, _kwargs)
604 if val: val = wxColourPtr(val)
70551f47 605 return val
e02c03a4
RD
606 def GetUserScale(self, *_args, **_kwargs):
607 val = apply(gdic.wxDC_GetUserScale,(self,) + _args, _kwargs)
608 return val
2d091820
RD
609 def LogicalToDeviceX(self, *_args, **_kwargs):
610 val = apply(gdic.wxDC_LogicalToDeviceX,(self,) + _args, _kwargs)
70551f47 611 return val
2d091820
RD
612 def LogicalToDeviceXRel(self, *_args, **_kwargs):
613 val = apply(gdic.wxDC_LogicalToDeviceXRel,(self,) + _args, _kwargs)
70551f47 614 return val
2d091820
RD
615 def LogicalToDeviceY(self, *_args, **_kwargs):
616 val = apply(gdic.wxDC_LogicalToDeviceY,(self,) + _args, _kwargs)
70551f47 617 return val
2d091820
RD
618 def LogicalToDeviceYRel(self, *_args, **_kwargs):
619 val = apply(gdic.wxDC_LogicalToDeviceYRel,(self,) + _args, _kwargs)
70551f47 620 return val
2d091820
RD
621 def MaxX(self, *_args, **_kwargs):
622 val = apply(gdic.wxDC_MaxX,(self,) + _args, _kwargs)
70551f47 623 return val
2d091820
RD
624 def MaxY(self, *_args, **_kwargs):
625 val = apply(gdic.wxDC_MaxY,(self,) + _args, _kwargs)
70551f47 626 return val
2d091820
RD
627 def MinX(self, *_args, **_kwargs):
628 val = apply(gdic.wxDC_MinX,(self,) + _args, _kwargs)
70551f47 629 return val
2d091820
RD
630 def MinY(self, *_args, **_kwargs):
631 val = apply(gdic.wxDC_MinY,(self,) + _args, _kwargs)
70551f47 632 return val
2d091820
RD
633 def Ok(self, *_args, **_kwargs):
634 val = apply(gdic.wxDC_Ok,(self,) + _args, _kwargs)
70551f47 635 return val
2d091820
RD
636 def SetDeviceOrigin(self, *_args, **_kwargs):
637 val = apply(gdic.wxDC_SetDeviceOrigin,(self,) + _args, _kwargs)
70551f47 638 return val
2d091820
RD
639 def SetBackground(self, *_args, **_kwargs):
640 val = apply(gdic.wxDC_SetBackground,(self,) + _args, _kwargs)
70551f47 641 return val
2d091820
RD
642 def SetBackgroundMode(self, *_args, **_kwargs):
643 val = apply(gdic.wxDC_SetBackgroundMode,(self,) + _args, _kwargs)
70551f47 644 return val
2d091820
RD
645 def SetClippingRegion(self, *_args, **_kwargs):
646 val = apply(gdic.wxDC_SetClippingRegion,(self,) + _args, _kwargs)
70551f47 647 return val
2d091820
RD
648 def SetPalette(self, *_args, **_kwargs):
649 val = apply(gdic.wxDC_SetPalette,(self,) + _args, _kwargs)
70551f47 650 return val
2d091820
RD
651 def SetBrush(self, *_args, **_kwargs):
652 val = apply(gdic.wxDC_SetBrush,(self,) + _args, _kwargs)
70551f47 653 return val
2d091820
RD
654 def SetFont(self, *_args, **_kwargs):
655 val = apply(gdic.wxDC_SetFont,(self,) + _args, _kwargs)
70551f47 656 return val
2d091820
RD
657 def SetLogicalFunction(self, *_args, **_kwargs):
658 val = apply(gdic.wxDC_SetLogicalFunction,(self,) + _args, _kwargs)
70551f47 659 return val
e02c03a4
RD
660 def SetLogicalScale(self, *_args, **_kwargs):
661 val = apply(gdic.wxDC_SetLogicalScale,(self,) + _args, _kwargs)
662 return val
2d091820
RD
663 def SetMapMode(self, *_args, **_kwargs):
664 val = apply(gdic.wxDC_SetMapMode,(self,) + _args, _kwargs)
70551f47 665 return val
2d091820
RD
666 def SetOptimization(self, *_args, **_kwargs):
667 val = apply(gdic.wxDC_SetOptimization,(self,) + _args, _kwargs)
70551f47 668 return val
2d091820
RD
669 def SetPen(self, *_args, **_kwargs):
670 val = apply(gdic.wxDC_SetPen,(self,) + _args, _kwargs)
70551f47 671 return val
2d091820
RD
672 def SetTextBackground(self, *_args, **_kwargs):
673 val = apply(gdic.wxDC_SetTextBackground,(self,) + _args, _kwargs)
70551f47 674 return val
2d091820
RD
675 def SetTextForeground(self, *_args, **_kwargs):
676 val = apply(gdic.wxDC_SetTextForeground,(self,) + _args, _kwargs)
70551f47 677 return val
2d091820
RD
678 def SetUserScale(self, *_args, **_kwargs):
679 val = apply(gdic.wxDC_SetUserScale,(self,) + _args, _kwargs)
70551f47 680 return val
2d091820
RD
681 def StartDoc(self, *_args, **_kwargs):
682 val = apply(gdic.wxDC_StartDoc,(self,) + _args, _kwargs)
70551f47 683 return val
2d091820
RD
684 def StartPage(self, *_args, **_kwargs):
685 val = apply(gdic.wxDC_StartPage,(self,) + _args, _kwargs)
70551f47 686 return val
2d091820
RD
687 def DrawBitmap(self, *_args, **_kwargs):
688 val = apply(gdic.wxDC_DrawBitmap,(self,) + _args, _kwargs)
70551f47 689 return val
e02c03a4
RD
690 def CanDrawBitmap(self, *_args, **_kwargs):
691 val = apply(gdic.wxDC_CanDrawBitmap,(self,) + _args, _kwargs)
692 return val
693 def CanGetTextExtent(self, *_args, **_kwargs):
694 val = apply(gdic.wxDC_CanGetTextExtent,(self,) + _args, _kwargs)
695 return val
696 def GetDepth(self, *_args, **_kwargs):
697 val = apply(gdic.wxDC_GetDepth,(self,) + _args, _kwargs)
698 return val
699 def GetPPI(self, *_args, **_kwargs):
700 val = apply(gdic.wxDC_GetPPI,(self,) + _args, _kwargs)
701 if val: val = wxSizePtr(val) ; val.thisown = 1
702 return val
703 def GetLogicalOrigin(self, *_args, **_kwargs):
704 val = apply(gdic.wxDC_GetLogicalOrigin,(self,) + _args, _kwargs)
705 return val
706 def SetLogicalOrigin(self, *_args, **_kwargs):
707 val = apply(gdic.wxDC_SetLogicalOrigin,(self,) + _args, _kwargs)
708 return val
709 def GetDeviceOrigin(self, *_args, **_kwargs):
710 val = apply(gdic.wxDC_GetDeviceOrigin,(self,) + _args, _kwargs)
711 return val
712 def SetAxisOrientation(self, *_args, **_kwargs):
713 val = apply(gdic.wxDC_SetAxisOrientation,(self,) + _args, _kwargs)
714 return val
f6bcfd97
BP
715 def CalcBoundingBox(self, *_args, **_kwargs):
716 val = apply(gdic.wxDC_CalcBoundingBox,(self,) + _args, _kwargs)
717 return val
718 def ResetBoundingBox(self, *_args, **_kwargs):
719 val = apply(gdic.wxDC_ResetBoundingBox,(self,) + _args, _kwargs)
720 return val
70551f47 721 def __repr__(self):
2d091820 722 return "<C wxDC instance at %s>" % (self.this,)
70551f47
RD
723class wxDC(wxDCPtr):
724 def __init__(self,this):
725 self.this = this
726
727
728
729
730class wxMemoryDCPtr(wxDCPtr):
731 def __init__(self,this):
732 self.this = this
733 self.thisown = 0
2d091820
RD
734 def SelectObject(self, *_args, **_kwargs):
735 val = apply(gdic.wxMemoryDC_SelectObject,(self,) + _args, _kwargs)
70551f47
RD
736 return val
737 def __repr__(self):
2d091820 738 return "<C wxMemoryDC instance at %s>" % (self.this,)
70551f47 739class wxMemoryDC(wxMemoryDCPtr):
2d091820
RD
740 def __init__(self,*_args,**_kwargs):
741 self.this = apply(gdic.new_wxMemoryDC,_args,_kwargs)
70551f47
RD
742 self.thisown = 1
743
744
745
746
747class wxScreenDCPtr(wxDCPtr):
748 def __init__(self,this):
749 self.this = this
750 self.thisown = 0
2fc99549
RD
751 def StartDrawingOnTopWin(self, *_args, **_kwargs):
752 val = apply(gdic.wxScreenDC_StartDrawingOnTopWin,(self,) + _args, _kwargs)
753 return val
2d091820
RD
754 def StartDrawingOnTop(self, *_args, **_kwargs):
755 val = apply(gdic.wxScreenDC_StartDrawingOnTop,(self,) + _args, _kwargs)
70551f47 756 return val
2d091820
RD
757 def EndDrawingOnTop(self, *_args, **_kwargs):
758 val = apply(gdic.wxScreenDC_EndDrawingOnTop,(self,) + _args, _kwargs)
70551f47
RD
759 return val
760 def __repr__(self):
2d091820 761 return "<C wxScreenDC instance at %s>" % (self.this,)
70551f47 762class wxScreenDC(wxScreenDCPtr):
2d091820
RD
763 def __init__(self,*_args,**_kwargs):
764 self.this = apply(gdic.new_wxScreenDC,_args,_kwargs)
70551f47
RD
765 self.thisown = 1
766
767
768
769
770class wxClientDCPtr(wxDCPtr):
771 def __init__(self,this):
772 self.this = this
773 self.thisown = 0
774 def __repr__(self):
2d091820 775 return "<C wxClientDC instance at %s>" % (self.this,)
70551f47 776class wxClientDC(wxClientDCPtr):
2d091820
RD
777 def __init__(self,*_args,**_kwargs):
778 self.this = apply(gdic.new_wxClientDC,_args,_kwargs)
70551f47
RD
779 self.thisown = 1
780
781
782
783
784class wxPaintDCPtr(wxDCPtr):
785 def __init__(self,this):
786 self.this = this
787 self.thisown = 0
788 def __repr__(self):
2d091820 789 return "<C wxPaintDC instance at %s>" % (self.this,)
70551f47 790class wxPaintDC(wxPaintDCPtr):
2d091820
RD
791 def __init__(self,*_args,**_kwargs):
792 self.this = apply(gdic.new_wxPaintDC,_args,_kwargs)
70551f47
RD
793 self.thisown = 1
794
795
796
797
c95e68d8
RD
798class wxWindowDCPtr(wxDCPtr):
799 def __init__(self,this):
800 self.this = this
801 self.thisown = 0
802 def __repr__(self):
2d091820 803 return "<C wxWindowDC instance at %s>" % (self.this,)
c95e68d8 804class wxWindowDC(wxWindowDCPtr):
2d091820
RD
805 def __init__(self,*_args,**_kwargs):
806 self.this = apply(gdic.new_wxWindowDC,_args,_kwargs)
c95e68d8
RD
807 self.thisown = 1
808
809
810
811
70551f47
RD
812class wxPostScriptDCPtr(wxDCPtr):
813 def __init__(self,this):
814 self.this = this
815 self.thisown = 0
816 def __repr__(self):
2d091820 817 return "<C wxPostScriptDC instance at %s>" % (self.this,)
70551f47 818class wxPostScriptDC(wxPostScriptDCPtr):
2d091820
RD
819 def __init__(self,*_args,**_kwargs):
820 self.this = apply(gdic.new_wxPostScriptDC,_args,_kwargs)
70551f47
RD
821 self.thisown = 1
822
823
824
825
105e45b9
RD
826class wxPalettePtr :
827 def __init__(self,this):
828 self.this = this
829 self.thisown = 0
2d091820 830 def __del__(self,gdic=gdic):
105e45b9 831 if self.thisown == 1 :
2d091820
RD
832 gdic.delete_wxPalette(self)
833 def GetPixel(self, *_args, **_kwargs):
834 val = apply(gdic.wxPalette_GetPixel,(self,) + _args, _kwargs)
105e45b9 835 return val
2d091820
RD
836 def GetRGB(self, *_args, **_kwargs):
837 val = apply(gdic.wxPalette_GetRGB,(self,) + _args, _kwargs)
105e45b9 838 return val
2d091820
RD
839 def Ok(self, *_args, **_kwargs):
840 val = apply(gdic.wxPalette_Ok,(self,) + _args, _kwargs)
105e45b9
RD
841 return val
842 def __repr__(self):
2d091820 843 return "<C wxPalette instance at %s>" % (self.this,)
105e45b9 844class wxPalette(wxPalettePtr):
2d091820
RD
845 def __init__(self,*_args,**_kwargs):
846 self.this = apply(gdic.new_wxPalette,_args,_kwargs)
105e45b9
RD
847 self.thisown = 1
848
849
850
851
21f8d7ea
RD
852class wxImageListPtr :
853 def __init__(self,this):
854 self.this = this
855 self.thisown = 0
2d091820 856 def __del__(self,gdic=gdic):
21f8d7ea 857 if self.thisown == 1 :
2d091820
RD
858 gdic.delete_wxImageList(self)
859 def Add(self, *_args, **_kwargs):
860 val = apply(gdic.wxImageList_Add,(self,) + _args, _kwargs)
21f8d7ea 861 return val
f6bcfd97
BP
862 def AddWithColourMask(self, *_args, **_kwargs):
863 val = apply(gdic.wxImageList_AddWithColourMask,(self,) + _args, _kwargs)
864 return val
865 def AddIcon(self, *_args, **_kwargs):
866 val = apply(gdic.wxImageList_AddIcon,(self,) + _args, _kwargs)
867 return val
2d091820
RD
868 def Replace(self, *_args, **_kwargs):
869 val = apply(gdic.wxImageList_Replace,(self,) + _args, _kwargs)
21f8d7ea 870 return val
2d091820
RD
871 def Draw(self, *_args, **_kwargs):
872 val = apply(gdic.wxImageList_Draw,(self,) + _args, _kwargs)
21f8d7ea 873 return val
2d091820
RD
874 def GetImageCount(self, *_args, **_kwargs):
875 val = apply(gdic.wxImageList_GetImageCount,(self,) + _args, _kwargs)
21f8d7ea 876 return val
2d091820
RD
877 def Remove(self, *_args, **_kwargs):
878 val = apply(gdic.wxImageList_Remove,(self,) + _args, _kwargs)
21f8d7ea 879 return val
2d091820
RD
880 def RemoveAll(self, *_args, **_kwargs):
881 val = apply(gdic.wxImageList_RemoveAll,(self,) + _args, _kwargs)
21f8d7ea 882 return val
f6bcfd97
BP
883 def GetSize(self, *_args, **_kwargs):
884 val = apply(gdic.wxImageList_GetSize,(self,) + _args, _kwargs)
885 return val
21f8d7ea 886 def __repr__(self):
2d091820 887 return "<C wxImageList instance at %s>" % (self.this,)
21f8d7ea 888class wxImageList(wxImageListPtr):
2d091820
RD
889 def __init__(self,*_args,**_kwargs):
890 self.this = apply(gdic.new_wxImageList,_args,_kwargs)
21f8d7ea
RD
891 self.thisown = 1
892
893
894
895
70551f47
RD
896
897
898#-------------- FUNCTION WRAPPERS ------------------
899
2d091820
RD
900def wxEmptyBitmap(*_args, **_kwargs):
901 val = apply(gdic.wxEmptyBitmap,_args,_kwargs)
902 if val: val = wxBitmapPtr(val); val.thisown = 1
70551f47
RD
903 return val
904
2d091820
RD
905def wxMaskColour(*_args, **_kwargs):
906 val = apply(gdic.wxMaskColour,_args,_kwargs)
907 if val: val = wxMaskPtr(val); val.thisown = 1
70551f47
RD
908 return val
909
2d091820
RD
910def wxStockCursor(*_args, **_kwargs):
911 val = apply(gdic.wxStockCursor,_args,_kwargs)
912 if val: val = wxCursorPtr(val); val.thisown = 1
70551f47
RD
913 return val
914
134d79dc
RD
915wxFont_GetDefaultEncoding = gdic.wxFont_GetDefaultEncoding
916
917wxFont_SetDefaultEncoding = gdic.wxFont_SetDefaultEncoding
918
2d091820
RD
919def wxNamedColour(*_args, **_kwargs):
920 val = apply(gdic.wxNamedColour,_args,_kwargs)
921 if val: val = wxColourPtr(val); val.thisown = 1
70551f47
RD
922 return val
923
2d091820
RD
924def wxMemoryDCFromDC(*_args, **_kwargs):
925 val = apply(gdic.wxMemoryDCFromDC,_args,_kwargs)
926 if val: val = wxMemoryDCPtr(val); val.thisown = 1
70551f47
RD
927 return val
928
929
930
931#-------------- VARIABLE WRAPPERS ------------------
932
134d79dc
RD
933wxFONTENCODING_SYSTEM = gdic.wxFONTENCODING_SYSTEM
934wxFONTENCODING_DEFAULT = gdic.wxFONTENCODING_DEFAULT
935wxFONTENCODING_ISO8859_1 = gdic.wxFONTENCODING_ISO8859_1
936wxFONTENCODING_ISO8859_2 = gdic.wxFONTENCODING_ISO8859_2
937wxFONTENCODING_ISO8859_3 = gdic.wxFONTENCODING_ISO8859_3
938wxFONTENCODING_ISO8859_4 = gdic.wxFONTENCODING_ISO8859_4
939wxFONTENCODING_ISO8859_5 = gdic.wxFONTENCODING_ISO8859_5
940wxFONTENCODING_ISO8859_6 = gdic.wxFONTENCODING_ISO8859_6
941wxFONTENCODING_ISO8859_7 = gdic.wxFONTENCODING_ISO8859_7
942wxFONTENCODING_ISO8859_8 = gdic.wxFONTENCODING_ISO8859_8
943wxFONTENCODING_ISO8859_9 = gdic.wxFONTENCODING_ISO8859_9
944wxFONTENCODING_ISO8859_10 = gdic.wxFONTENCODING_ISO8859_10
945wxFONTENCODING_ISO8859_11 = gdic.wxFONTENCODING_ISO8859_11
946wxFONTENCODING_ISO8859_12 = gdic.wxFONTENCODING_ISO8859_12
947wxFONTENCODING_ISO8859_13 = gdic.wxFONTENCODING_ISO8859_13
948wxFONTENCODING_ISO8859_14 = gdic.wxFONTENCODING_ISO8859_14
949wxFONTENCODING_ISO8859_15 = gdic.wxFONTENCODING_ISO8859_15
950wxFONTENCODING_KOI8 = gdic.wxFONTENCODING_KOI8
951wxFONTENCODING_ALTERNATIVE = gdic.wxFONTENCODING_ALTERNATIVE
952wxFONTENCODING_BULGARIAN = gdic.wxFONTENCODING_BULGARIAN
953wxFONTENCODING_CP437 = gdic.wxFONTENCODING_CP437
954wxFONTENCODING_CP850 = gdic.wxFONTENCODING_CP850
955wxFONTENCODING_CP852 = gdic.wxFONTENCODING_CP852
956wxFONTENCODING_CP855 = gdic.wxFONTENCODING_CP855
957wxFONTENCODING_CP866 = gdic.wxFONTENCODING_CP866
958wxFONTENCODING_CP1250 = gdic.wxFONTENCODING_CP1250
959wxFONTENCODING_CP1251 = gdic.wxFONTENCODING_CP1251
960wxFONTENCODING_CP1252 = gdic.wxFONTENCODING_CP1252
961wxFONTENCODING_MAX = gdic.wxFONTENCODING_MAX
70551f47
RD
962cvar = gdic.cvar
963wxNORMAL_FONT = wxFontPtr(gdic.cvar.wxNORMAL_FONT)
964wxSMALL_FONT = wxFontPtr(gdic.cvar.wxSMALL_FONT)
965wxITALIC_FONT = wxFontPtr(gdic.cvar.wxITALIC_FONT)
966wxSWISS_FONT = wxFontPtr(gdic.cvar.wxSWISS_FONT)
967wxRED_PEN = wxPenPtr(gdic.cvar.wxRED_PEN)
968wxCYAN_PEN = wxPenPtr(gdic.cvar.wxCYAN_PEN)
969wxGREEN_PEN = wxPenPtr(gdic.cvar.wxGREEN_PEN)
970wxBLACK_PEN = wxPenPtr(gdic.cvar.wxBLACK_PEN)
971wxWHITE_PEN = wxPenPtr(gdic.cvar.wxWHITE_PEN)
972wxTRANSPARENT_PEN = wxPenPtr(gdic.cvar.wxTRANSPARENT_PEN)
973wxBLACK_DASHED_PEN = wxPenPtr(gdic.cvar.wxBLACK_DASHED_PEN)
974wxGREY_PEN = wxPenPtr(gdic.cvar.wxGREY_PEN)
975wxMEDIUM_GREY_PEN = wxPenPtr(gdic.cvar.wxMEDIUM_GREY_PEN)
976wxLIGHT_GREY_PEN = wxPenPtr(gdic.cvar.wxLIGHT_GREY_PEN)
977wxBLUE_BRUSH = wxBrushPtr(gdic.cvar.wxBLUE_BRUSH)
978wxGREEN_BRUSH = wxBrushPtr(gdic.cvar.wxGREEN_BRUSH)
979wxWHITE_BRUSH = wxBrushPtr(gdic.cvar.wxWHITE_BRUSH)
980wxBLACK_BRUSH = wxBrushPtr(gdic.cvar.wxBLACK_BRUSH)
981wxTRANSPARENT_BRUSH = wxBrushPtr(gdic.cvar.wxTRANSPARENT_BRUSH)
982wxCYAN_BRUSH = wxBrushPtr(gdic.cvar.wxCYAN_BRUSH)
983wxRED_BRUSH = wxBrushPtr(gdic.cvar.wxRED_BRUSH)
984wxGREY_BRUSH = wxBrushPtr(gdic.cvar.wxGREY_BRUSH)
985wxMEDIUM_GREY_BRUSH = wxBrushPtr(gdic.cvar.wxMEDIUM_GREY_BRUSH)
986wxLIGHT_GREY_BRUSH = wxBrushPtr(gdic.cvar.wxLIGHT_GREY_BRUSH)
987wxBLACK = wxColourPtr(gdic.cvar.wxBLACK)
988wxWHITE = wxColourPtr(gdic.cvar.wxWHITE)
989wxRED = wxColourPtr(gdic.cvar.wxRED)
990wxBLUE = wxColourPtr(gdic.cvar.wxBLUE)
991wxGREEN = wxColourPtr(gdic.cvar.wxGREEN)
992wxCYAN = wxColourPtr(gdic.cvar.wxCYAN)
993wxLIGHT_GREY = wxColourPtr(gdic.cvar.wxLIGHT_GREY)
994wxSTANDARD_CURSOR = wxCursorPtr(gdic.cvar.wxSTANDARD_CURSOR)
995wxHOURGLASS_CURSOR = wxCursorPtr(gdic.cvar.wxHOURGLASS_CURSOR)
996wxCROSS_CURSOR = wxCursorPtr(gdic.cvar.wxCROSS_CURSOR)
997wxNullBitmap = wxBitmapPtr(gdic.cvar.wxNullBitmap)
998wxNullIcon = wxIconPtr(gdic.cvar.wxNullIcon)
999wxNullCursor = wxCursorPtr(gdic.cvar.wxNullCursor)
1000wxNullPen = wxPenPtr(gdic.cvar.wxNullPen)
1001wxNullBrush = wxBrushPtr(gdic.cvar.wxNullBrush)
21f8d7ea 1002wxNullPalette = wxPalettePtr(gdic.cvar.wxNullPalette)
70551f47
RD
1003wxNullFont = wxFontPtr(gdic.cvar.wxNullFont)
1004wxNullColour = wxColourPtr(gdic.cvar.wxNullColour)
5e40f9dd
RD
1005wxTheFontList = wxFontListPtr(gdic.cvar.wxTheFontList)
1006wxThePenList = wxPenListPtr(gdic.cvar.wxThePenList)
1007wxTheColourDatabase = wxColourDatabasePtr(gdic.cvar.wxTheColourDatabase)
21f8d7ea
RD
1008wxIMAGELIST_DRAW_NORMAL = gdic.wxIMAGELIST_DRAW_NORMAL
1009wxIMAGELIST_DRAW_TRANSPARENT = gdic.wxIMAGELIST_DRAW_TRANSPARENT
1010wxIMAGELIST_DRAW_SELECTED = gdic.wxIMAGELIST_DRAW_SELECTED
1011wxIMAGELIST_DRAW_FOCUSED = gdic.wxIMAGELIST_DRAW_FOCUSED
1012wxIMAGE_LIST_NORMAL = gdic.wxIMAGE_LIST_NORMAL
1013wxIMAGE_LIST_SMALL = gdic.wxIMAGE_LIST_SMALL
1014wxIMAGE_LIST_STATE = gdic.wxIMAGE_LIST_STATE