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