]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/gdi.py
test commit, no real change
[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
d29aba2f
RD
158 def Ok(self, *_args, **_kwargs):
159 val = apply(gdic.wxFont_Ok,(self,) + _args, _kwargs)
160 return val
2d091820
RD
161 def GetFaceName(self, *_args, **_kwargs):
162 val = apply(gdic.wxFont_GetFaceName,(self,) + _args, _kwargs)
70551f47 163 return val
2d091820
RD
164 def GetFamily(self, *_args, **_kwargs):
165 val = apply(gdic.wxFont_GetFamily,(self,) + _args, _kwargs)
70551f47 166 return val
2d091820
RD
167 def GetPointSize(self, *_args, **_kwargs):
168 val = apply(gdic.wxFont_GetPointSize,(self,) + _args, _kwargs)
70551f47 169 return val
2d091820
RD
170 def GetStyle(self, *_args, **_kwargs):
171 val = apply(gdic.wxFont_GetStyle,(self,) + _args, _kwargs)
70551f47 172 return val
2d091820
RD
173 def GetUnderlined(self, *_args, **_kwargs):
174 val = apply(gdic.wxFont_GetUnderlined,(self,) + _args, _kwargs)
70551f47 175 return val
2d091820
RD
176 def GetWeight(self, *_args, **_kwargs):
177 val = apply(gdic.wxFont_GetWeight,(self,) + _args, _kwargs)
70551f47 178 return val
134d79dc
RD
179 def GetEncoding(self, *_args, **_kwargs):
180 val = apply(gdic.wxFont_GetEncoding,(self,) + _args, _kwargs)
181 return val
2d091820
RD
182 def SetFaceName(self, *_args, **_kwargs):
183 val = apply(gdic.wxFont_SetFaceName,(self,) + _args, _kwargs)
d3b4d113 184 return val
2d091820
RD
185 def SetFamily(self, *_args, **_kwargs):
186 val = apply(gdic.wxFont_SetFamily,(self,) + _args, _kwargs)
d3b4d113 187 return val
2d091820
RD
188 def SetPointSize(self, *_args, **_kwargs):
189 val = apply(gdic.wxFont_SetPointSize,(self,) + _args, _kwargs)
d3b4d113 190 return val
2d091820
RD
191 def SetStyle(self, *_args, **_kwargs):
192 val = apply(gdic.wxFont_SetStyle,(self,) + _args, _kwargs)
d3b4d113 193 return val
2d091820
RD
194 def SetUnderlined(self, *_args, **_kwargs):
195 val = apply(gdic.wxFont_SetUnderlined,(self,) + _args, _kwargs)
d3b4d113 196 return val
2d091820
RD
197 def SetWeight(self, *_args, **_kwargs):
198 val = apply(gdic.wxFont_SetWeight,(self,) + _args, _kwargs)
d3b4d113 199 return val
134d79dc
RD
200 def SetEncoding(self, *_args, **_kwargs):
201 val = apply(gdic.wxFont_SetEncoding,(self,) + _args, _kwargs)
202 return val
203 def GetFamilyString(self, *_args, **_kwargs):
204 val = apply(gdic.wxFont_GetFamilyString,(self,) + _args, _kwargs)
205 return val
206 def GetStyleString(self, *_args, **_kwargs):
207 val = apply(gdic.wxFont_GetStyleString,(self,) + _args, _kwargs)
208 return val
209 def GetWeightString(self, *_args, **_kwargs):
210 val = apply(gdic.wxFont_GetWeightString,(self,) + _args, _kwargs)
211 return val
70551f47 212 def __repr__(self):
2d091820 213 return "<C wxFont instance at %s>" % (self.this,)
70551f47 214class wxFont(wxFontPtr):
2d091820
RD
215 def __init__(self,*_args,**_kwargs):
216 self.this = apply(gdic.new_wxFont,_args,_kwargs)
70551f47
RD
217 self.thisown = 1
218
219
220
221
222class wxColourPtr :
223 def __init__(self,this):
224 self.this = this
225 self.thisown = 0
2d091820 226 def __del__(self,gdic=gdic):
70551f47 227 if self.thisown == 1 :
2d091820
RD
228 gdic.delete_wxColour(self)
229 def Red(self, *_args, **_kwargs):
230 val = apply(gdic.wxColour_Red,(self,) + _args, _kwargs)
70551f47 231 return val
2d091820
RD
232 def Green(self, *_args, **_kwargs):
233 val = apply(gdic.wxColour_Green,(self,) + _args, _kwargs)
70551f47 234 return val
2d091820
RD
235 def Blue(self, *_args, **_kwargs):
236 val = apply(gdic.wxColour_Blue,(self,) + _args, _kwargs)
70551f47 237 return val
2d091820
RD
238 def Ok(self, *_args, **_kwargs):
239 val = apply(gdic.wxColour_Ok,(self,) + _args, _kwargs)
70551f47 240 return val
2d091820
RD
241 def Set(self, *_args, **_kwargs):
242 val = apply(gdic.wxColour_Set,(self,) + _args, _kwargs)
70551f47 243 return val
2d091820
RD
244 def Get(self, *_args, **_kwargs):
245 val = apply(gdic.wxColour_Get,(self,) + _args, _kwargs)
70551f47
RD
246 return val
247 def __repr__(self):
2d091820 248 return "<C wxColour instance at %s>" % (self.this,)
ab2208b5
RD
249 asTuple = Get
250 def __str__(self): return str(self.asTuple())
251 def __repr__(self): return str(self.asTuple())
70551f47 252class wxColour(wxColourPtr):
2d091820
RD
253 def __init__(self,*_args,**_kwargs):
254 self.this = apply(gdic.new_wxColour,_args,_kwargs)
70551f47
RD
255 self.thisown = 1
256
257
258
259
260class wxPenPtr :
261 def __init__(self,this):
262 self.this = this
263 self.thisown = 0
2d091820
RD
264 def GetCap(self, *_args, **_kwargs):
265 val = apply(gdic.wxPen_GetCap,(self,) + _args, _kwargs)
70551f47 266 return val
2d091820
RD
267 def GetColour(self, *_args, **_kwargs):
268 val = apply(gdic.wxPen_GetColour,(self,) + _args, _kwargs)
269 if val: val = wxColourPtr(val)
70551f47 270 return val
2d091820
RD
271 def GetJoin(self, *_args, **_kwargs):
272 val = apply(gdic.wxPen_GetJoin,(self,) + _args, _kwargs)
70551f47 273 return val
2d091820
RD
274 def GetStyle(self, *_args, **_kwargs):
275 val = apply(gdic.wxPen_GetStyle,(self,) + _args, _kwargs)
70551f47 276 return val
2d091820
RD
277 def GetWidth(self, *_args, **_kwargs):
278 val = apply(gdic.wxPen_GetWidth,(self,) + _args, _kwargs)
70551f47 279 return val
2d091820
RD
280 def Ok(self, *_args, **_kwargs):
281 val = apply(gdic.wxPen_Ok,(self,) + _args, _kwargs)
70551f47 282 return val
2d091820
RD
283 def SetCap(self, *_args, **_kwargs):
284 val = apply(gdic.wxPen_SetCap,(self,) + _args, _kwargs)
70551f47 285 return val
2d091820
RD
286 def SetColour(self, *_args, **_kwargs):
287 val = apply(gdic.wxPen_SetColour,(self,) + _args, _kwargs)
70551f47 288 return val
2d091820
RD
289 def SetJoin(self, *_args, **_kwargs):
290 val = apply(gdic.wxPen_SetJoin,(self,) + _args, _kwargs)
70551f47 291 return val
2d091820
RD
292 def SetStyle(self, *_args, **_kwargs):
293 val = apply(gdic.wxPen_SetStyle,(self,) + _args, _kwargs)
70551f47 294 return val
2d091820
RD
295 def SetWidth(self, *_args, **_kwargs):
296 val = apply(gdic.wxPen_SetWidth,(self,) + _args, _kwargs)
70551f47 297 return val
56f5d962
RD
298 def GetDashes(self, *_args, **_kwargs):
299 val = apply(gdic.wxPen_GetDashes,(self,) + _args, _kwargs)
300 return val
301 def SetDashes(self, *_args, **_kwargs):
302 val = apply(gdic.wxPen_SetDashes,(self,) + _args, _kwargs)
303 return val
70551f47 304 def __repr__(self):
2d091820 305 return "<C wxPen instance at %s>" % (self.this,)
70551f47 306class wxPen(wxPenPtr):
2d091820
RD
307 def __init__(self,*_args,**_kwargs):
308 self.this = apply(gdic.new_wxPen,_args,_kwargs)
70551f47
RD
309 self.thisown = 1
310
311
312
313
314class wxBrushPtr :
315 def __init__(self,this):
316 self.this = this
317 self.thisown = 0
2d091820
RD
318 def GetColour(self, *_args, **_kwargs):
319 val = apply(gdic.wxBrush_GetColour,(self,) + _args, _kwargs)
320 if val: val = wxColourPtr(val)
70551f47 321 return val
2d091820
RD
322 def GetStipple(self, *_args, **_kwargs):
323 val = apply(gdic.wxBrush_GetStipple,(self,) + _args, _kwargs)
324 if val: val = wxBitmapPtr(val)
70551f47 325 return val
2d091820
RD
326 def GetStyle(self, *_args, **_kwargs):
327 val = apply(gdic.wxBrush_GetStyle,(self,) + _args, _kwargs)
70551f47 328 return val
2d091820
RD
329 def Ok(self, *_args, **_kwargs):
330 val = apply(gdic.wxBrush_Ok,(self,) + _args, _kwargs)
70551f47 331 return val
2d091820
RD
332 def SetColour(self, *_args, **_kwargs):
333 val = apply(gdic.wxBrush_SetColour,(self,) + _args, _kwargs)
c95e68d8 334 return val
2d091820
RD
335 def SetStipple(self, *_args, **_kwargs):
336 val = apply(gdic.wxBrush_SetStipple,(self,) + _args, _kwargs)
c95e68d8 337 return val
2d091820
RD
338 def SetStyle(self, *_args, **_kwargs):
339 val = apply(gdic.wxBrush_SetStyle,(self,) + _args, _kwargs)
c95e68d8 340 return val
70551f47 341 def __repr__(self):
2d091820 342 return "<C wxBrush instance at %s>" % (self.this,)
70551f47 343class wxBrush(wxBrushPtr):
2d091820
RD
344 def __init__(self,*_args,**_kwargs):
345 self.this = apply(gdic.new_wxBrush,_args,_kwargs)
70551f47
RD
346 self.thisown = 1
347
348
349
350
351class wxDCPtr :
352 def __init__(self,this):
353 self.this = this
354 self.thisown = 0
2d091820 355 def __del__(self,gdic=gdic):
70551f47 356 if self.thisown == 1 :
2d091820
RD
357 gdic.delete_wxDC(self)
358 def BeginDrawing(self, *_args, **_kwargs):
359 val = apply(gdic.wxDC_BeginDrawing,(self,) + _args, _kwargs)
70551f47 360 return val
2d091820
RD
361 def Blit(self, *_args, **_kwargs):
362 val = apply(gdic.wxDC_Blit,(self,) + _args, _kwargs)
70551f47 363 return val
2d091820
RD
364 def Clear(self, *_args, **_kwargs):
365 val = apply(gdic.wxDC_Clear,(self,) + _args, _kwargs)
70551f47 366 return val
2d091820
RD
367 def CrossHair(self, *_args, **_kwargs):
368 val = apply(gdic.wxDC_CrossHair,(self,) + _args, _kwargs)
70551f47 369 return val
2d091820
RD
370 def DestroyClippingRegion(self, *_args, **_kwargs):
371 val = apply(gdic.wxDC_DestroyClippingRegion,(self,) + _args, _kwargs)
70551f47 372 return val
2d091820
RD
373 def DeviceToLogicalX(self, *_args, **_kwargs):
374 val = apply(gdic.wxDC_DeviceToLogicalX,(self,) + _args, _kwargs)
70551f47 375 return val
2d091820
RD
376 def DeviceToLogicalXRel(self, *_args, **_kwargs):
377 val = apply(gdic.wxDC_DeviceToLogicalXRel,(self,) + _args, _kwargs)
70551f47 378 return val
2d091820
RD
379 def DeviceToLogicalY(self, *_args, **_kwargs):
380 val = apply(gdic.wxDC_DeviceToLogicalY,(self,) + _args, _kwargs)
70551f47 381 return val
2d091820
RD
382 def DeviceToLogicalYRel(self, *_args, **_kwargs):
383 val = apply(gdic.wxDC_DeviceToLogicalYRel,(self,) + _args, _kwargs)
70551f47 384 return val
2d091820
RD
385 def DrawArc(self, *_args, **_kwargs):
386 val = apply(gdic.wxDC_DrawArc,(self,) + _args, _kwargs)
70551f47 387 return val
2d091820
RD
388 def DrawCircle(self, *_args, **_kwargs):
389 val = apply(gdic.wxDC_DrawCircle,(self,) + _args, _kwargs)
d24a34bb 390 return val
2d091820
RD
391 def DrawEllipse(self, *_args, **_kwargs):
392 val = apply(gdic.wxDC_DrawEllipse,(self,) + _args, _kwargs)
70551f47 393 return val
2d091820
RD
394 def DrawEllipticArc(self, *_args, **_kwargs):
395 val = apply(gdic.wxDC_DrawEllipticArc,(self,) + _args, _kwargs)
70551f47 396 return val
2d091820
RD
397 def DrawIcon(self, *_args, **_kwargs):
398 val = apply(gdic.wxDC_DrawIcon,(self,) + _args, _kwargs)
70551f47 399 return val
2d091820
RD
400 def DrawLine(self, *_args, **_kwargs):
401 val = apply(gdic.wxDC_DrawLine,(self,) + _args, _kwargs)
70551f47 402 return val
2d091820
RD
403 def DrawLines(self, *_args, **_kwargs):
404 val = apply(gdic.wxDC_DrawLines,(self,) + _args, _kwargs)
70551f47 405 return val
2d091820
RD
406 def DrawPolygon(self, *_args, **_kwargs):
407 val = apply(gdic.wxDC_DrawPolygon,(self,) + _args, _kwargs)
70551f47 408 return val
2d091820
RD
409 def DrawPoint(self, *_args, **_kwargs):
410 val = apply(gdic.wxDC_DrawPoint,(self,) + _args, _kwargs)
70551f47 411 return val
2d091820
RD
412 def DrawRectangle(self, *_args, **_kwargs):
413 val = apply(gdic.wxDC_DrawRectangle,(self,) + _args, _kwargs)
70551f47 414 return val
56f5d962
RD
415 def DrawRotatedText(self, *_args, **_kwargs):
416 val = apply(gdic.wxDC_DrawRotatedText,(self,) + _args, _kwargs)
417 return val
2d091820
RD
418 def DrawRoundedRectangle(self, *_args, **_kwargs):
419 val = apply(gdic.wxDC_DrawRoundedRectangle,(self,) + _args, _kwargs)
70551f47 420 return val
2d091820
RD
421 def DrawSpline(self, *_args, **_kwargs):
422 val = apply(gdic.wxDC_DrawSpline,(self,) + _args, _kwargs)
70551f47 423 return val
2d091820
RD
424 def DrawText(self, *_args, **_kwargs):
425 val = apply(gdic.wxDC_DrawText,(self,) + _args, _kwargs)
70551f47 426 return val
2d091820
RD
427 def EndDoc(self, *_args, **_kwargs):
428 val = apply(gdic.wxDC_EndDoc,(self,) + _args, _kwargs)
70551f47 429 return val
2d091820
RD
430 def EndDrawing(self, *_args, **_kwargs):
431 val = apply(gdic.wxDC_EndDrawing,(self,) + _args, _kwargs)
70551f47 432 return val
2d091820
RD
433 def EndPage(self, *_args, **_kwargs):
434 val = apply(gdic.wxDC_EndPage,(self,) + _args, _kwargs)
70551f47 435 return val
2d091820
RD
436 def FloodFill(self, *_args, **_kwargs):
437 val = apply(gdic.wxDC_FloodFill,(self,) + _args, _kwargs)
70551f47 438 return val
2d091820
RD
439 def GetBackground(self, *_args, **_kwargs):
440 val = apply(gdic.wxDC_GetBackground,(self,) + _args, _kwargs)
441 if val: val = wxBrushPtr(val)
70551f47 442 return val
2d091820
RD
443 def GetBrush(self, *_args, **_kwargs):
444 val = apply(gdic.wxDC_GetBrush,(self,) + _args, _kwargs)
445 if val: val = wxBrushPtr(val)
70551f47 446 return val
2d091820
RD
447 def GetCharHeight(self, *_args, **_kwargs):
448 val = apply(gdic.wxDC_GetCharHeight,(self,) + _args, _kwargs)
70551f47 449 return val
2d091820
RD
450 def GetCharWidth(self, *_args, **_kwargs):
451 val = apply(gdic.wxDC_GetCharWidth,(self,) + _args, _kwargs)
70551f47 452 return val
2d091820
RD
453 def GetClippingBox(self, *_args, **_kwargs):
454 val = apply(gdic.wxDC_GetClippingBox,(self,) + _args, _kwargs)
70551f47 455 return val
2d091820
RD
456 def GetFont(self, *_args, **_kwargs):
457 val = apply(gdic.wxDC_GetFont,(self,) + _args, _kwargs)
458 if val: val = wxFontPtr(val)
70551f47 459 return val
2d091820
RD
460 def GetLogicalFunction(self, *_args, **_kwargs):
461 val = apply(gdic.wxDC_GetLogicalFunction,(self,) + _args, _kwargs)
70551f47 462 return val
e02c03a4
RD
463 def GetLogicalScale(self, *_args, **_kwargs):
464 val = apply(gdic.wxDC_GetLogicalScale,(self,) + _args, _kwargs)
465 return val
2d091820
RD
466 def GetMapMode(self, *_args, **_kwargs):
467 val = apply(gdic.wxDC_GetMapMode,(self,) + _args, _kwargs)
70551f47 468 return val
2d091820
RD
469 def GetOptimization(self, *_args, **_kwargs):
470 val = apply(gdic.wxDC_GetOptimization,(self,) + _args, _kwargs)
70551f47 471 return val
2d091820
RD
472 def GetPen(self, *_args, **_kwargs):
473 val = apply(gdic.wxDC_GetPen,(self,) + _args, _kwargs)
474 if val: val = wxPenPtr(val)
70551f47 475 return val
2d091820
RD
476 def GetPixel(self, *_args, **_kwargs):
477 val = apply(gdic.wxDC_GetPixel,(self,) + _args, _kwargs)
478 if val: val = wxColourPtr(val) ; val.thisown = 1
70551f47 479 return val
2d091820
RD
480 def GetSizeTuple(self, *_args, **_kwargs):
481 val = apply(gdic.wxDC_GetSizeTuple,(self,) + _args, _kwargs)
d24a34bb 482 return val
2d091820
RD
483 def GetSize(self, *_args, **_kwargs):
484 val = apply(gdic.wxDC_GetSize,(self,) + _args, _kwargs)
485 if val: val = wxSizePtr(val) ; val.thisown = 1
70551f47 486 return val
e02c03a4
RD
487 def GetSizeMM(self, *_args, **_kwargs):
488 val = apply(gdic.wxDC_GetSizeMM,(self,) + _args, _kwargs)
489 if val: val = wxSizePtr(val) ; val.thisown = 1
490 return val
2d091820
RD
491 def GetTextBackground(self, *_args, **_kwargs):
492 val = apply(gdic.wxDC_GetTextBackground,(self,) + _args, _kwargs)
493 if val: val = wxColourPtr(val)
70551f47 494 return val
2d091820
RD
495 def GetTextExtent(self, *_args, **_kwargs):
496 val = apply(gdic.wxDC_GetTextExtent,(self,) + _args, _kwargs)
70551f47 497 return val
2d091820
RD
498 def GetFullTextExtent(self, *_args, **_kwargs):
499 val = apply(gdic.wxDC_GetFullTextExtent,(self,) + _args, _kwargs)
21f8d7ea 500 return val
2d091820
RD
501 def GetTextForeground(self, *_args, **_kwargs):
502 val = apply(gdic.wxDC_GetTextForeground,(self,) + _args, _kwargs)
503 if val: val = wxColourPtr(val)
70551f47 504 return val
e02c03a4
RD
505 def GetUserScale(self, *_args, **_kwargs):
506 val = apply(gdic.wxDC_GetUserScale,(self,) + _args, _kwargs)
507 return val
2d091820
RD
508 def LogicalToDeviceX(self, *_args, **_kwargs):
509 val = apply(gdic.wxDC_LogicalToDeviceX,(self,) + _args, _kwargs)
70551f47 510 return val
2d091820
RD
511 def LogicalToDeviceXRel(self, *_args, **_kwargs):
512 val = apply(gdic.wxDC_LogicalToDeviceXRel,(self,) + _args, _kwargs)
70551f47 513 return val
2d091820
RD
514 def LogicalToDeviceY(self, *_args, **_kwargs):
515 val = apply(gdic.wxDC_LogicalToDeviceY,(self,) + _args, _kwargs)
70551f47 516 return val
2d091820
RD
517 def LogicalToDeviceYRel(self, *_args, **_kwargs):
518 val = apply(gdic.wxDC_LogicalToDeviceYRel,(self,) + _args, _kwargs)
70551f47 519 return val
2d091820
RD
520 def MaxX(self, *_args, **_kwargs):
521 val = apply(gdic.wxDC_MaxX,(self,) + _args, _kwargs)
70551f47 522 return val
2d091820
RD
523 def MaxY(self, *_args, **_kwargs):
524 val = apply(gdic.wxDC_MaxY,(self,) + _args, _kwargs)
70551f47 525 return val
2d091820
RD
526 def MinX(self, *_args, **_kwargs):
527 val = apply(gdic.wxDC_MinX,(self,) + _args, _kwargs)
70551f47 528 return val
2d091820
RD
529 def MinY(self, *_args, **_kwargs):
530 val = apply(gdic.wxDC_MinY,(self,) + _args, _kwargs)
70551f47 531 return val
2d091820
RD
532 def Ok(self, *_args, **_kwargs):
533 val = apply(gdic.wxDC_Ok,(self,) + _args, _kwargs)
70551f47 534 return val
2d091820
RD
535 def SetDeviceOrigin(self, *_args, **_kwargs):
536 val = apply(gdic.wxDC_SetDeviceOrigin,(self,) + _args, _kwargs)
70551f47 537 return val
2d091820
RD
538 def SetBackground(self, *_args, **_kwargs):
539 val = apply(gdic.wxDC_SetBackground,(self,) + _args, _kwargs)
70551f47 540 return val
2d091820
RD
541 def SetBackgroundMode(self, *_args, **_kwargs):
542 val = apply(gdic.wxDC_SetBackgroundMode,(self,) + _args, _kwargs)
70551f47 543 return val
2d091820
RD
544 def SetClippingRegion(self, *_args, **_kwargs):
545 val = apply(gdic.wxDC_SetClippingRegion,(self,) + _args, _kwargs)
70551f47 546 return val
2d091820
RD
547 def SetPalette(self, *_args, **_kwargs):
548 val = apply(gdic.wxDC_SetPalette,(self,) + _args, _kwargs)
70551f47 549 return val
2d091820
RD
550 def SetBrush(self, *_args, **_kwargs):
551 val = apply(gdic.wxDC_SetBrush,(self,) + _args, _kwargs)
70551f47 552 return val
2d091820
RD
553 def SetFont(self, *_args, **_kwargs):
554 val = apply(gdic.wxDC_SetFont,(self,) + _args, _kwargs)
70551f47 555 return val
2d091820
RD
556 def SetLogicalFunction(self, *_args, **_kwargs):
557 val = apply(gdic.wxDC_SetLogicalFunction,(self,) + _args, _kwargs)
70551f47 558 return val
e02c03a4
RD
559 def SetLogicalScale(self, *_args, **_kwargs):
560 val = apply(gdic.wxDC_SetLogicalScale,(self,) + _args, _kwargs)
561 return val
2d091820
RD
562 def SetMapMode(self, *_args, **_kwargs):
563 val = apply(gdic.wxDC_SetMapMode,(self,) + _args, _kwargs)
70551f47 564 return val
2d091820
RD
565 def SetOptimization(self, *_args, **_kwargs):
566 val = apply(gdic.wxDC_SetOptimization,(self,) + _args, _kwargs)
70551f47 567 return val
2d091820
RD
568 def SetPen(self, *_args, **_kwargs):
569 val = apply(gdic.wxDC_SetPen,(self,) + _args, _kwargs)
70551f47 570 return val
2d091820
RD
571 def SetTextBackground(self, *_args, **_kwargs):
572 val = apply(gdic.wxDC_SetTextBackground,(self,) + _args, _kwargs)
70551f47 573 return val
2d091820
RD
574 def SetTextForeground(self, *_args, **_kwargs):
575 val = apply(gdic.wxDC_SetTextForeground,(self,) + _args, _kwargs)
70551f47 576 return val
2d091820
RD
577 def SetUserScale(self, *_args, **_kwargs):
578 val = apply(gdic.wxDC_SetUserScale,(self,) + _args, _kwargs)
70551f47 579 return val
2d091820
RD
580 def StartDoc(self, *_args, **_kwargs):
581 val = apply(gdic.wxDC_StartDoc,(self,) + _args, _kwargs)
70551f47 582 return val
2d091820
RD
583 def StartPage(self, *_args, **_kwargs):
584 val = apply(gdic.wxDC_StartPage,(self,) + _args, _kwargs)
70551f47 585 return val
2d091820
RD
586 def DrawBitmap(self, *_args, **_kwargs):
587 val = apply(gdic.wxDC_DrawBitmap,(self,) + _args, _kwargs)
70551f47 588 return val
e02c03a4
RD
589 def CanDrawBitmap(self, *_args, **_kwargs):
590 val = apply(gdic.wxDC_CanDrawBitmap,(self,) + _args, _kwargs)
591 return val
592 def CanGetTextExtent(self, *_args, **_kwargs):
593 val = apply(gdic.wxDC_CanGetTextExtent,(self,) + _args, _kwargs)
594 return val
595 def GetDepth(self, *_args, **_kwargs):
596 val = apply(gdic.wxDC_GetDepth,(self,) + _args, _kwargs)
597 return val
598 def GetPPI(self, *_args, **_kwargs):
599 val = apply(gdic.wxDC_GetPPI,(self,) + _args, _kwargs)
600 if val: val = wxSizePtr(val) ; val.thisown = 1
601 return val
602 def GetLogicalOrigin(self, *_args, **_kwargs):
603 val = apply(gdic.wxDC_GetLogicalOrigin,(self,) + _args, _kwargs)
604 return val
605 def SetLogicalOrigin(self, *_args, **_kwargs):
606 val = apply(gdic.wxDC_SetLogicalOrigin,(self,) + _args, _kwargs)
607 return val
608 def GetDeviceOrigin(self, *_args, **_kwargs):
609 val = apply(gdic.wxDC_GetDeviceOrigin,(self,) + _args, _kwargs)
610 return val
611 def SetAxisOrientation(self, *_args, **_kwargs):
612 val = apply(gdic.wxDC_SetAxisOrientation,(self,) + _args, _kwargs)
613 return val
f6bcfd97
BP
614 def CalcBoundingBox(self, *_args, **_kwargs):
615 val = apply(gdic.wxDC_CalcBoundingBox,(self,) + _args, _kwargs)
616 return val
617 def ResetBoundingBox(self, *_args, **_kwargs):
618 val = apply(gdic.wxDC_ResetBoundingBox,(self,) + _args, _kwargs)
619 return val
70551f47 620 def __repr__(self):
2d091820 621 return "<C wxDC instance at %s>" % (self.this,)
70551f47
RD
622class wxDC(wxDCPtr):
623 def __init__(self,this):
624 self.this = this
625
626
627
628
629class wxMemoryDCPtr(wxDCPtr):
630 def __init__(self,this):
631 self.this = this
632 self.thisown = 0
2d091820
RD
633 def SelectObject(self, *_args, **_kwargs):
634 val = apply(gdic.wxMemoryDC_SelectObject,(self,) + _args, _kwargs)
70551f47
RD
635 return val
636 def __repr__(self):
2d091820 637 return "<C wxMemoryDC instance at %s>" % (self.this,)
70551f47 638class wxMemoryDC(wxMemoryDCPtr):
2d091820
RD
639 def __init__(self,*_args,**_kwargs):
640 self.this = apply(gdic.new_wxMemoryDC,_args,_kwargs)
70551f47
RD
641 self.thisown = 1
642
643
644
645
646class wxScreenDCPtr(wxDCPtr):
647 def __init__(self,this):
648 self.this = this
649 self.thisown = 0
2fc99549
RD
650 def StartDrawingOnTopWin(self, *_args, **_kwargs):
651 val = apply(gdic.wxScreenDC_StartDrawingOnTopWin,(self,) + _args, _kwargs)
652 return val
2d091820
RD
653 def StartDrawingOnTop(self, *_args, **_kwargs):
654 val = apply(gdic.wxScreenDC_StartDrawingOnTop,(self,) + _args, _kwargs)
70551f47 655 return val
2d091820
RD
656 def EndDrawingOnTop(self, *_args, **_kwargs):
657 val = apply(gdic.wxScreenDC_EndDrawingOnTop,(self,) + _args, _kwargs)
70551f47
RD
658 return val
659 def __repr__(self):
2d091820 660 return "<C wxScreenDC instance at %s>" % (self.this,)
70551f47 661class wxScreenDC(wxScreenDCPtr):
2d091820
RD
662 def __init__(self,*_args,**_kwargs):
663 self.this = apply(gdic.new_wxScreenDC,_args,_kwargs)
70551f47
RD
664 self.thisown = 1
665
666
667
668
669class wxClientDCPtr(wxDCPtr):
670 def __init__(self,this):
671 self.this = this
672 self.thisown = 0
673 def __repr__(self):
2d091820 674 return "<C wxClientDC instance at %s>" % (self.this,)
70551f47 675class wxClientDC(wxClientDCPtr):
2d091820
RD
676 def __init__(self,*_args,**_kwargs):
677 self.this = apply(gdic.new_wxClientDC,_args,_kwargs)
70551f47
RD
678 self.thisown = 1
679
680
681
682
683class wxPaintDCPtr(wxDCPtr):
684 def __init__(self,this):
685 self.this = this
686 self.thisown = 0
687 def __repr__(self):
2d091820 688 return "<C wxPaintDC instance at %s>" % (self.this,)
70551f47 689class wxPaintDC(wxPaintDCPtr):
2d091820
RD
690 def __init__(self,*_args,**_kwargs):
691 self.this = apply(gdic.new_wxPaintDC,_args,_kwargs)
70551f47
RD
692 self.thisown = 1
693
694
695
696
c95e68d8
RD
697class wxWindowDCPtr(wxDCPtr):
698 def __init__(self,this):
699 self.this = this
700 self.thisown = 0
701 def __repr__(self):
2d091820 702 return "<C wxWindowDC instance at %s>" % (self.this,)
c95e68d8 703class wxWindowDC(wxWindowDCPtr):
2d091820
RD
704 def __init__(self,*_args,**_kwargs):
705 self.this = apply(gdic.new_wxWindowDC,_args,_kwargs)
c95e68d8
RD
706 self.thisown = 1
707
708
709
710
70551f47
RD
711class wxPostScriptDCPtr(wxDCPtr):
712 def __init__(self,this):
713 self.this = this
714 self.thisown = 0
715 def __repr__(self):
2d091820 716 return "<C wxPostScriptDC instance at %s>" % (self.this,)
70551f47 717class wxPostScriptDC(wxPostScriptDCPtr):
2d091820
RD
718 def __init__(self,*_args,**_kwargs):
719 self.this = apply(gdic.new_wxPostScriptDC,_args,_kwargs)
70551f47
RD
720 self.thisown = 1
721
722
723
724
105e45b9
RD
725class wxPalettePtr :
726 def __init__(self,this):
727 self.this = this
728 self.thisown = 0
2d091820 729 def __del__(self,gdic=gdic):
105e45b9 730 if self.thisown == 1 :
2d091820
RD
731 gdic.delete_wxPalette(self)
732 def GetPixel(self, *_args, **_kwargs):
733 val = apply(gdic.wxPalette_GetPixel,(self,) + _args, _kwargs)
105e45b9 734 return val
2d091820
RD
735 def GetRGB(self, *_args, **_kwargs):
736 val = apply(gdic.wxPalette_GetRGB,(self,) + _args, _kwargs)
105e45b9 737 return val
2d091820
RD
738 def Ok(self, *_args, **_kwargs):
739 val = apply(gdic.wxPalette_Ok,(self,) + _args, _kwargs)
105e45b9
RD
740 return val
741 def __repr__(self):
2d091820 742 return "<C wxPalette instance at %s>" % (self.this,)
105e45b9 743class wxPalette(wxPalettePtr):
2d091820
RD
744 def __init__(self,*_args,**_kwargs):
745 self.this = apply(gdic.new_wxPalette,_args,_kwargs)
105e45b9
RD
746 self.thisown = 1
747
748
749
750
21f8d7ea
RD
751class wxImageListPtr :
752 def __init__(self,this):
753 self.this = this
754 self.thisown = 0
2d091820 755 def __del__(self,gdic=gdic):
21f8d7ea 756 if self.thisown == 1 :
2d091820
RD
757 gdic.delete_wxImageList(self)
758 def Add(self, *_args, **_kwargs):
759 val = apply(gdic.wxImageList_Add,(self,) + _args, _kwargs)
21f8d7ea 760 return val
f6bcfd97
BP
761 def AddWithColourMask(self, *_args, **_kwargs):
762 val = apply(gdic.wxImageList_AddWithColourMask,(self,) + _args, _kwargs)
763 return val
764 def AddIcon(self, *_args, **_kwargs):
765 val = apply(gdic.wxImageList_AddIcon,(self,) + _args, _kwargs)
766 return val
2d091820
RD
767 def Replace(self, *_args, **_kwargs):
768 val = apply(gdic.wxImageList_Replace,(self,) + _args, _kwargs)
21f8d7ea 769 return val
2d091820
RD
770 def Draw(self, *_args, **_kwargs):
771 val = apply(gdic.wxImageList_Draw,(self,) + _args, _kwargs)
21f8d7ea 772 return val
2d091820
RD
773 def GetImageCount(self, *_args, **_kwargs):
774 val = apply(gdic.wxImageList_GetImageCount,(self,) + _args, _kwargs)
21f8d7ea 775 return val
2d091820
RD
776 def Remove(self, *_args, **_kwargs):
777 val = apply(gdic.wxImageList_Remove,(self,) + _args, _kwargs)
21f8d7ea 778 return val
2d091820
RD
779 def RemoveAll(self, *_args, **_kwargs):
780 val = apply(gdic.wxImageList_RemoveAll,(self,) + _args, _kwargs)
21f8d7ea 781 return val
f6bcfd97
BP
782 def GetSize(self, *_args, **_kwargs):
783 val = apply(gdic.wxImageList_GetSize,(self,) + _args, _kwargs)
784 return val
21f8d7ea 785 def __repr__(self):
2d091820 786 return "<C wxImageList instance at %s>" % (self.this,)
21f8d7ea 787class wxImageList(wxImageListPtr):
2d091820
RD
788 def __init__(self,*_args,**_kwargs):
789 self.this = apply(gdic.new_wxImageList,_args,_kwargs)
21f8d7ea
RD
790 self.thisown = 1
791
792
793
794
70551f47
RD
795
796
797#-------------- FUNCTION WRAPPERS ------------------
798
2d091820
RD
799def wxEmptyBitmap(*_args, **_kwargs):
800 val = apply(gdic.wxEmptyBitmap,_args,_kwargs)
801 if val: val = wxBitmapPtr(val); val.thisown = 1
70551f47
RD
802 return val
803
2d091820
RD
804def wxMaskColour(*_args, **_kwargs):
805 val = apply(gdic.wxMaskColour,_args,_kwargs)
806 if val: val = wxMaskPtr(val); val.thisown = 1
70551f47
RD
807 return val
808
2d091820
RD
809def wxStockCursor(*_args, **_kwargs):
810 val = apply(gdic.wxStockCursor,_args,_kwargs)
811 if val: val = wxCursorPtr(val); val.thisown = 1
70551f47
RD
812 return val
813
134d79dc
RD
814wxFont_GetDefaultEncoding = gdic.wxFont_GetDefaultEncoding
815
816wxFont_SetDefaultEncoding = gdic.wxFont_SetDefaultEncoding
817
2d091820
RD
818def wxNamedColour(*_args, **_kwargs):
819 val = apply(gdic.wxNamedColour,_args,_kwargs)
820 if val: val = wxColourPtr(val); val.thisown = 1
70551f47
RD
821 return val
822
2d091820
RD
823def wxMemoryDCFromDC(*_args, **_kwargs):
824 val = apply(gdic.wxMemoryDCFromDC,_args,_kwargs)
825 if val: val = wxMemoryDCPtr(val); val.thisown = 1
70551f47
RD
826 return val
827
828
829
830#-------------- VARIABLE WRAPPERS ------------------
831
134d79dc
RD
832wxFONTENCODING_SYSTEM = gdic.wxFONTENCODING_SYSTEM
833wxFONTENCODING_DEFAULT = gdic.wxFONTENCODING_DEFAULT
834wxFONTENCODING_ISO8859_1 = gdic.wxFONTENCODING_ISO8859_1
835wxFONTENCODING_ISO8859_2 = gdic.wxFONTENCODING_ISO8859_2
836wxFONTENCODING_ISO8859_3 = gdic.wxFONTENCODING_ISO8859_3
837wxFONTENCODING_ISO8859_4 = gdic.wxFONTENCODING_ISO8859_4
838wxFONTENCODING_ISO8859_5 = gdic.wxFONTENCODING_ISO8859_5
839wxFONTENCODING_ISO8859_6 = gdic.wxFONTENCODING_ISO8859_6
840wxFONTENCODING_ISO8859_7 = gdic.wxFONTENCODING_ISO8859_7
841wxFONTENCODING_ISO8859_8 = gdic.wxFONTENCODING_ISO8859_8
842wxFONTENCODING_ISO8859_9 = gdic.wxFONTENCODING_ISO8859_9
843wxFONTENCODING_ISO8859_10 = gdic.wxFONTENCODING_ISO8859_10
844wxFONTENCODING_ISO8859_11 = gdic.wxFONTENCODING_ISO8859_11
845wxFONTENCODING_ISO8859_12 = gdic.wxFONTENCODING_ISO8859_12
846wxFONTENCODING_ISO8859_13 = gdic.wxFONTENCODING_ISO8859_13
847wxFONTENCODING_ISO8859_14 = gdic.wxFONTENCODING_ISO8859_14
848wxFONTENCODING_ISO8859_15 = gdic.wxFONTENCODING_ISO8859_15
849wxFONTENCODING_KOI8 = gdic.wxFONTENCODING_KOI8
850wxFONTENCODING_ALTERNATIVE = gdic.wxFONTENCODING_ALTERNATIVE
851wxFONTENCODING_BULGARIAN = gdic.wxFONTENCODING_BULGARIAN
852wxFONTENCODING_CP437 = gdic.wxFONTENCODING_CP437
853wxFONTENCODING_CP850 = gdic.wxFONTENCODING_CP850
854wxFONTENCODING_CP852 = gdic.wxFONTENCODING_CP852
855wxFONTENCODING_CP855 = gdic.wxFONTENCODING_CP855
856wxFONTENCODING_CP866 = gdic.wxFONTENCODING_CP866
857wxFONTENCODING_CP1250 = gdic.wxFONTENCODING_CP1250
858wxFONTENCODING_CP1251 = gdic.wxFONTENCODING_CP1251
859wxFONTENCODING_CP1252 = gdic.wxFONTENCODING_CP1252
860wxFONTENCODING_MAX = gdic.wxFONTENCODING_MAX
70551f47
RD
861cvar = gdic.cvar
862wxNORMAL_FONT = wxFontPtr(gdic.cvar.wxNORMAL_FONT)
863wxSMALL_FONT = wxFontPtr(gdic.cvar.wxSMALL_FONT)
864wxITALIC_FONT = wxFontPtr(gdic.cvar.wxITALIC_FONT)
865wxSWISS_FONT = wxFontPtr(gdic.cvar.wxSWISS_FONT)
866wxRED_PEN = wxPenPtr(gdic.cvar.wxRED_PEN)
867wxCYAN_PEN = wxPenPtr(gdic.cvar.wxCYAN_PEN)
868wxGREEN_PEN = wxPenPtr(gdic.cvar.wxGREEN_PEN)
869wxBLACK_PEN = wxPenPtr(gdic.cvar.wxBLACK_PEN)
870wxWHITE_PEN = wxPenPtr(gdic.cvar.wxWHITE_PEN)
871wxTRANSPARENT_PEN = wxPenPtr(gdic.cvar.wxTRANSPARENT_PEN)
872wxBLACK_DASHED_PEN = wxPenPtr(gdic.cvar.wxBLACK_DASHED_PEN)
873wxGREY_PEN = wxPenPtr(gdic.cvar.wxGREY_PEN)
874wxMEDIUM_GREY_PEN = wxPenPtr(gdic.cvar.wxMEDIUM_GREY_PEN)
875wxLIGHT_GREY_PEN = wxPenPtr(gdic.cvar.wxLIGHT_GREY_PEN)
876wxBLUE_BRUSH = wxBrushPtr(gdic.cvar.wxBLUE_BRUSH)
877wxGREEN_BRUSH = wxBrushPtr(gdic.cvar.wxGREEN_BRUSH)
878wxWHITE_BRUSH = wxBrushPtr(gdic.cvar.wxWHITE_BRUSH)
879wxBLACK_BRUSH = wxBrushPtr(gdic.cvar.wxBLACK_BRUSH)
880wxTRANSPARENT_BRUSH = wxBrushPtr(gdic.cvar.wxTRANSPARENT_BRUSH)
881wxCYAN_BRUSH = wxBrushPtr(gdic.cvar.wxCYAN_BRUSH)
882wxRED_BRUSH = wxBrushPtr(gdic.cvar.wxRED_BRUSH)
883wxGREY_BRUSH = wxBrushPtr(gdic.cvar.wxGREY_BRUSH)
884wxMEDIUM_GREY_BRUSH = wxBrushPtr(gdic.cvar.wxMEDIUM_GREY_BRUSH)
885wxLIGHT_GREY_BRUSH = wxBrushPtr(gdic.cvar.wxLIGHT_GREY_BRUSH)
886wxBLACK = wxColourPtr(gdic.cvar.wxBLACK)
887wxWHITE = wxColourPtr(gdic.cvar.wxWHITE)
888wxRED = wxColourPtr(gdic.cvar.wxRED)
889wxBLUE = wxColourPtr(gdic.cvar.wxBLUE)
890wxGREEN = wxColourPtr(gdic.cvar.wxGREEN)
891wxCYAN = wxColourPtr(gdic.cvar.wxCYAN)
892wxLIGHT_GREY = wxColourPtr(gdic.cvar.wxLIGHT_GREY)
893wxSTANDARD_CURSOR = wxCursorPtr(gdic.cvar.wxSTANDARD_CURSOR)
894wxHOURGLASS_CURSOR = wxCursorPtr(gdic.cvar.wxHOURGLASS_CURSOR)
895wxCROSS_CURSOR = wxCursorPtr(gdic.cvar.wxCROSS_CURSOR)
896wxNullBitmap = wxBitmapPtr(gdic.cvar.wxNullBitmap)
897wxNullIcon = wxIconPtr(gdic.cvar.wxNullIcon)
898wxNullCursor = wxCursorPtr(gdic.cvar.wxNullCursor)
899wxNullPen = wxPenPtr(gdic.cvar.wxNullPen)
900wxNullBrush = wxBrushPtr(gdic.cvar.wxNullBrush)
21f8d7ea 901wxNullPalette = wxPalettePtr(gdic.cvar.wxNullPalette)
70551f47
RD
902wxNullFont = wxFontPtr(gdic.cvar.wxNullFont)
903wxNullColour = wxColourPtr(gdic.cvar.wxNullColour)
21f8d7ea
RD
904wxIMAGELIST_DRAW_NORMAL = gdic.wxIMAGELIST_DRAW_NORMAL
905wxIMAGELIST_DRAW_TRANSPARENT = gdic.wxIMAGELIST_DRAW_TRANSPARENT
906wxIMAGELIST_DRAW_SELECTED = gdic.wxIMAGELIST_DRAW_SELECTED
907wxIMAGELIST_DRAW_FOCUSED = gdic.wxIMAGELIST_DRAW_FOCUSED
908wxIMAGE_LIST_NORMAL = gdic.wxIMAGE_LIST_NORMAL
909wxIMAGE_LIST_SMALL = gdic.wxIMAGE_LIST_SMALL
910wxIMAGE_LIST_STATE = gdic.wxIMAGE_LIST_STATE