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