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