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