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