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