]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/gdi.py
Added wxSashWindow, wxSashEvent, wxLayoutAlgorithm, etc.
[wxWidgets.git] / utils / wxPython / src / gtk / gdi.py
1 # This file was created automatically by SWIG.
2 import gdic
3
4 from misc import *
5 class wxBitmapPtr :
6 def __init__(self,this):
7 self.this = this
8 self.thisown = 0
9 def __del__(self):
10 if self.thisown == 1 :
11 gdic.delete_wxBitmap(self.this)
12 def GetDepth(self):
13 val = gdic.wxBitmap_GetDepth(self.this)
14 return val
15 def GetHeight(self):
16 val = gdic.wxBitmap_GetHeight(self.this)
17 return val
18 def GetPalette(self):
19 val = gdic.wxBitmap_GetPalette(self.this)
20 val = wxPalettePtr(val)
21 return val
22 def GetMask(self):
23 val = gdic.wxBitmap_GetMask(self.this)
24 val = wxMaskPtr(val)
25 return val
26 def GetWidth(self):
27 val = gdic.wxBitmap_GetWidth(self.this)
28 return val
29 def LoadFile(self,arg0,arg1):
30 val = gdic.wxBitmap_LoadFile(self.this,arg0,arg1)
31 return val
32 def Ok(self):
33 val = gdic.wxBitmap_Ok(self.this)
34 return val
35 def SaveFile(self,arg0,arg1,*args):
36 argl = map(None,args)
37 try: argl[0] = argl[0].this
38 except: pass
39 args = tuple(argl)
40 val = apply(gdic.wxBitmap_SaveFile,(self.this,arg0,arg1,)+args)
41 return val
42 def SetDepth(self,arg0):
43 val = gdic.wxBitmap_SetDepth(self.this,arg0)
44 return val
45 def SetHeight(self,arg0):
46 val = gdic.wxBitmap_SetHeight(self.this,arg0)
47 return val
48 def SetMask(self,arg0):
49 val = gdic.wxBitmap_SetMask(self.this,arg0.this)
50 return val
51 def SetWidth(self,arg0):
52 val = gdic.wxBitmap_SetWidth(self.this,arg0)
53 return val
54 def __repr__(self):
55 return "<C wxBitmap instance>"
56 class wxBitmap(wxBitmapPtr):
57 def __init__(self,arg0,arg1) :
58 self.this = gdic.new_wxBitmap(arg0,arg1)
59 self.thisown = 1
60
61
62
63
64 class wxMaskPtr :
65 def __init__(self,this):
66 self.this = this
67 self.thisown = 0
68 def __del__(self):
69 if self.thisown == 1 :
70 gdic.delete_wxMask(self.this)
71 def __repr__(self):
72 return "<C wxMask instance>"
73 class wxMask(wxMaskPtr):
74 def __init__(self,arg0) :
75 self.this = gdic.new_wxMask(arg0.this)
76 self.thisown = 1
77
78
79
80
81 class wxIconPtr(wxBitmapPtr):
82 def __init__(self,this):
83 self.this = this
84 self.thisown = 0
85 def __del__(self):
86 if self.thisown == 1 :
87 gdic.delete_wxIcon(self.this)
88 def GetDepth(self):
89 val = gdic.wxIcon_GetDepth(self.this)
90 return val
91 def GetHeight(self):
92 val = gdic.wxIcon_GetHeight(self.this)
93 return val
94 def GetWidth(self):
95 val = gdic.wxIcon_GetWidth(self.this)
96 return val
97 def LoadFile(self,arg0,arg1):
98 val = gdic.wxIcon_LoadFile(self.this,arg0,arg1)
99 return val
100 def Ok(self):
101 val = gdic.wxIcon_Ok(self.this)
102 return val
103 def SetDepth(self,arg0):
104 val = gdic.wxIcon_SetDepth(self.this,arg0)
105 return val
106 def SetHeight(self,arg0):
107 val = gdic.wxIcon_SetHeight(self.this,arg0)
108 return val
109 def SetWidth(self,arg0):
110 val = gdic.wxIcon_SetWidth(self.this,arg0)
111 return val
112 def __repr__(self):
113 return "<C wxIcon instance>"
114 class wxIcon(wxIconPtr):
115 def __init__(self,this):
116 self.this = this
117
118
119
120
121 class wxCursorPtr(wxBitmapPtr):
122 def __init__(self,this):
123 self.this = this
124 self.thisown = 0
125 def __del__(self):
126 if self.thisown == 1 :
127 gdic.delete_wxCursor(self.this)
128 def Ok(self):
129 val = gdic.wxCursor_Ok(self.this)
130 return val
131 def __repr__(self):
132 return "<C wxCursor instance>"
133 class wxCursor(wxCursorPtr):
134 def __init__(self,this):
135 self.this = this
136
137
138
139
140 class wxFontPtr :
141 def __init__(self,this):
142 self.this = this
143 self.thisown = 0
144 def GetFaceName(self):
145 val = gdic.wxFont_GetFaceName(self.this)
146 return val
147 def GetFamily(self):
148 val = gdic.wxFont_GetFamily(self.this)
149 return val
150 def GetPointSize(self):
151 val = gdic.wxFont_GetPointSize(self.this)
152 return val
153 def GetStyle(self):
154 val = gdic.wxFont_GetStyle(self.this)
155 return val
156 def GetUnderlined(self):
157 val = gdic.wxFont_GetUnderlined(self.this)
158 return val
159 def GetWeight(self):
160 val = gdic.wxFont_GetWeight(self.this)
161 return val
162 def SetFaceName(self,arg0):
163 val = gdic.wxFont_SetFaceName(self.this,arg0)
164 return val
165 def SetFamily(self,arg0):
166 val = gdic.wxFont_SetFamily(self.this,arg0)
167 return val
168 def SetPointSize(self,arg0):
169 val = gdic.wxFont_SetPointSize(self.this,arg0)
170 return val
171 def SetStyle(self,arg0):
172 val = gdic.wxFont_SetStyle(self.this,arg0)
173 return val
174 def SetUnderlined(self,arg0):
175 val = gdic.wxFont_SetUnderlined(self.this,arg0)
176 return val
177 def SetWeight(self,arg0):
178 val = gdic.wxFont_SetWeight(self.this,arg0)
179 return val
180 def __repr__(self):
181 return "<C wxFont instance>"
182 class wxFont(wxFontPtr):
183 def __init__(self,arg0,arg1,arg2,arg3,*args) :
184 self.this = apply(gdic.new_wxFont,(arg0,arg1,arg2,arg3,)+args)
185 self.thisown = 1
186
187
188
189
190 class wxColourPtr :
191 def __init__(self,this):
192 self.this = this
193 self.thisown = 0
194 def __del__(self):
195 if self.thisown == 1 :
196 gdic.delete_wxColour(self.this)
197 def Red(self):
198 val = gdic.wxColour_Red(self.this)
199 return val
200 def Green(self):
201 val = gdic.wxColour_Green(self.this)
202 return val
203 def Blue(self):
204 val = gdic.wxColour_Blue(self.this)
205 return val
206 def Ok(self):
207 val = gdic.wxColour_Ok(self.this)
208 return val
209 def Set(self,arg0,arg1,arg2):
210 val = gdic.wxColour_Set(self.this,arg0,arg1,arg2)
211 return val
212 def Get(self):
213 val = gdic.wxColour_Get(self.this)
214 return val
215 def __repr__(self):
216 return "<C wxColour instance>"
217 class wxColour(wxColourPtr):
218 def __init__(self,*args) :
219 self.this = apply(gdic.new_wxColour,()+args)
220 self.thisown = 1
221
222
223
224
225 class wxPenPtr :
226 def __init__(self,this):
227 self.this = this
228 self.thisown = 0
229 def GetCap(self):
230 val = gdic.wxPen_GetCap(self.this)
231 return val
232 def GetColour(self):
233 val = gdic.wxPen_GetColour(self.this)
234 val = wxColourPtr(val)
235 return val
236 def GetJoin(self):
237 val = gdic.wxPen_GetJoin(self.this)
238 return val
239 def GetStyle(self):
240 val = gdic.wxPen_GetStyle(self.this)
241 return val
242 def GetWidth(self):
243 val = gdic.wxPen_GetWidth(self.this)
244 return val
245 def Ok(self):
246 val = gdic.wxPen_Ok(self.this)
247 return val
248 def SetCap(self,arg0):
249 val = gdic.wxPen_SetCap(self.this,arg0)
250 return val
251 def SetColour(self,arg0):
252 val = gdic.wxPen_SetColour(self.this,arg0.this)
253 return val
254 def SetJoin(self,arg0):
255 val = gdic.wxPen_SetJoin(self.this,arg0)
256 return val
257 def SetStyle(self,arg0):
258 val = gdic.wxPen_SetStyle(self.this,arg0)
259 return val
260 def SetWidth(self,arg0):
261 val = gdic.wxPen_SetWidth(self.this,arg0)
262 return val
263 def __repr__(self):
264 return "<C wxPen instance>"
265 class wxPen(wxPenPtr):
266 def __init__(self,arg0,*args) :
267 self.this = apply(gdic.new_wxPen,(arg0.this,)+args)
268 self.thisown = 1
269
270
271
272
273 class wxBrushPtr :
274 def __init__(self,this):
275 self.this = this
276 self.thisown = 0
277 def GetColour(self):
278 val = gdic.wxBrush_GetColour(self.this)
279 val = wxColourPtr(val)
280 return val
281 def GetStipple(self):
282 val = gdic.wxBrush_GetStipple(self.this)
283 val = wxBitmapPtr(val)
284 return val
285 def GetStyle(self):
286 val = gdic.wxBrush_GetStyle(self.this)
287 return val
288 def Ok(self):
289 val = gdic.wxBrush_Ok(self.this)
290 return val
291 def SetColour(self,arg0):
292 val = gdic.wxBrush_SetColour(self.this,arg0.this)
293 return val
294 def SetStipple(self,arg0):
295 val = gdic.wxBrush_SetStipple(self.this,arg0.this)
296 return val
297 def SetStyle(self,arg0):
298 val = gdic.wxBrush_SetStyle(self.this,arg0)
299 return val
300 def __repr__(self):
301 return "<C wxBrush instance>"
302 class wxBrush(wxBrushPtr):
303 def __init__(self,arg0,*args) :
304 self.this = apply(gdic.new_wxBrush,(arg0.this,)+args)
305 self.thisown = 1
306
307
308
309
310 class wxDCPtr :
311 def __init__(self,this):
312 self.this = this
313 self.thisown = 0
314 def __del__(self):
315 if self.thisown == 1 :
316 gdic.delete_wxDC(self.this)
317 def BeginDrawing(self):
318 val = gdic.wxDC_BeginDrawing(self.this)
319 return val
320 def Blit(self,arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7):
321 val = gdic.wxDC_Blit(self.this,arg0,arg1,arg2,arg3,arg4.this,arg5,arg6,arg7)
322 return val
323 def Clear(self):
324 val = gdic.wxDC_Clear(self.this)
325 return val
326 def CrossHair(self,arg0,arg1):
327 val = gdic.wxDC_CrossHair(self.this,arg0,arg1)
328 return val
329 def DestroyClippingRegion(self):
330 val = gdic.wxDC_DestroyClippingRegion(self.this)
331 return val
332 def DeviceToLogicalX(self,arg0):
333 val = gdic.wxDC_DeviceToLogicalX(self.this,arg0)
334 return val
335 def DeviceToLogicalXRel(self,arg0):
336 val = gdic.wxDC_DeviceToLogicalXRel(self.this,arg0)
337 return val
338 def DeviceToLogicalY(self,arg0):
339 val = gdic.wxDC_DeviceToLogicalY(self.this,arg0)
340 return val
341 def DeviceToLogicalYRel(self,arg0):
342 val = gdic.wxDC_DeviceToLogicalYRel(self.this,arg0)
343 return val
344 def DrawArc(self,arg0,arg1,arg2,arg3,arg4,arg5):
345 val = gdic.wxDC_DrawArc(self.this,arg0,arg1,arg2,arg3,arg4,arg5)
346 return val
347 def DrawEllipse(self,arg0,arg1,arg2,arg3):
348 val = gdic.wxDC_DrawEllipse(self.this,arg0,arg1,arg2,arg3)
349 return val
350 def DrawEllipticArc(self,arg0,arg1,arg2,arg3,arg4,arg5):
351 val = gdic.wxDC_DrawEllipticArc(self.this,arg0,arg1,arg2,arg3,arg4,arg5)
352 return val
353 def DrawIcon(self,arg0,arg1,arg2):
354 val = gdic.wxDC_DrawIcon(self.this,arg0.this,arg1,arg2)
355 return val
356 def DrawLine(self,arg0,arg1,arg2,arg3):
357 val = gdic.wxDC_DrawLine(self.this,arg0,arg1,arg2,arg3)
358 return val
359 def DrawLines(self,arg0,*args):
360 argl = map(None,args)
361 try: argl[0] = argl[0].this
362 except: pass
363 args = tuple(argl)
364 val = apply(gdic.wxDC_DrawLines,(self.this,arg0,)+args)
365 return val
366 def DrawPolygon(self,arg0,*args):
367 argl = map(None,args)
368 try: argl[0] = argl[0].this
369 except: pass
370 args = tuple(argl)
371 val = apply(gdic.wxDC_DrawPolygon,(self.this,arg0,)+args)
372 return val
373 def DrawPoint(self,arg0,arg1):
374 val = gdic.wxDC_DrawPoint(self.this,arg0,arg1)
375 return val
376 def DrawRectangle(self,arg0,arg1,arg2,arg3):
377 val = gdic.wxDC_DrawRectangle(self.this,arg0,arg1,arg2,arg3)
378 return val
379 def DrawRoundedRectangle(self,arg0,arg1,arg2,arg3,*args):
380 val = apply(gdic.wxDC_DrawRoundedRectangle,(self.this,arg0,arg1,arg2,arg3,)+args)
381 return val
382 def DrawSpline(self,arg0,*args):
383 argl = map(None,args)
384 try: argl[0] = argl[0].this
385 except: pass
386 args = tuple(argl)
387 val = apply(gdic.wxDC_DrawSpline,(self.this,arg0,)+args)
388 return val
389 def DrawText(self,arg0,arg1,arg2):
390 val = gdic.wxDC_DrawText(self.this,arg0,arg1,arg2)
391 return val
392 def EndDoc(self):
393 val = gdic.wxDC_EndDoc(self.this)
394 return val
395 def EndDrawing(self):
396 val = gdic.wxDC_EndDrawing(self.this)
397 return val
398 def EndPage(self):
399 val = gdic.wxDC_EndPage(self.this)
400 return val
401 def FloodFill(self,arg0,arg1,arg2,*args):
402 val = apply(gdic.wxDC_FloodFill,(self.this,arg0,arg1,arg2.this,)+args)
403 return val
404 def GetBackground(self):
405 val = gdic.wxDC_GetBackground(self.this)
406 val = wxBrushPtr(val)
407 return val
408 def GetBrush(self):
409 val = gdic.wxDC_GetBrush(self.this)
410 val = wxBrushPtr(val)
411 return val
412 def GetCharHeight(self):
413 val = gdic.wxDC_GetCharHeight(self.this)
414 return val
415 def GetCharWidth(self):
416 val = gdic.wxDC_GetCharWidth(self.this)
417 return val
418 def GetClippingBox(self):
419 val = gdic.wxDC_GetClippingBox(self.this)
420 return val
421 def GetFont(self):
422 val = gdic.wxDC_GetFont(self.this)
423 val = wxFontPtr(val)
424 return val
425 def GetLogicalFunction(self):
426 val = gdic.wxDC_GetLogicalFunction(self.this)
427 return val
428 def GetMapMode(self):
429 val = gdic.wxDC_GetMapMode(self.this)
430 return val
431 def GetOptimization(self):
432 val = gdic.wxDC_GetOptimization(self.this)
433 return val
434 def GetPen(self):
435 val = gdic.wxDC_GetPen(self.this)
436 val = wxPenPtr(val)
437 return val
438 def GetPixel(self,arg0,arg1):
439 val = gdic.wxDC_GetPixel(self.this,arg0,arg1)
440 val = wxColourPtr(val)
441 val.thisown = 1
442 return val
443 def GetSize(self):
444 val = gdic.wxDC_GetSize(self.this)
445 return val
446 def GetTextBackground(self):
447 val = gdic.wxDC_GetTextBackground(self.this)
448 val = wxColourPtr(val)
449 return val
450 def GetTextExtent(self,arg0):
451 val = gdic.wxDC_GetTextExtent(self.this,arg0)
452 return val
453 def GetTextForeground(self):
454 val = gdic.wxDC_GetTextForeground(self.this)
455 val = wxColourPtr(val)
456 return val
457 def LogicalToDeviceX(self,arg0):
458 val = gdic.wxDC_LogicalToDeviceX(self.this,arg0)
459 return val
460 def LogicalToDeviceXRel(self,arg0):
461 val = gdic.wxDC_LogicalToDeviceXRel(self.this,arg0)
462 return val
463 def LogicalToDeviceY(self,arg0):
464 val = gdic.wxDC_LogicalToDeviceY(self.this,arg0)
465 return val
466 def LogicalToDeviceYRel(self,arg0):
467 val = gdic.wxDC_LogicalToDeviceYRel(self.this,arg0)
468 return val
469 def MaxX(self):
470 val = gdic.wxDC_MaxX(self.this)
471 return val
472 def MaxY(self):
473 val = gdic.wxDC_MaxY(self.this)
474 return val
475 def MinX(self):
476 val = gdic.wxDC_MinX(self.this)
477 return val
478 def MinY(self):
479 val = gdic.wxDC_MinY(self.this)
480 return val
481 def Ok(self):
482 val = gdic.wxDC_Ok(self.this)
483 return val
484 def SetDeviceOrigin(self,arg0,arg1):
485 val = gdic.wxDC_SetDeviceOrigin(self.this,arg0,arg1)
486 return val
487 def SetBackground(self,arg0):
488 val = gdic.wxDC_SetBackground(self.this,arg0.this)
489 return val
490 def SetBackgroundMode(self,arg0):
491 val = gdic.wxDC_SetBackgroundMode(self.this,arg0)
492 return val
493 def SetClippingRegion(self,arg0,arg1,arg2,arg3):
494 val = gdic.wxDC_SetClippingRegion(self.this,arg0,arg1,arg2,arg3)
495 return val
496 def SetPalette(self,arg0):
497 val = gdic.wxDC_SetPalette(self.this,arg0.this)
498 return val
499 def SetBrush(self,arg0):
500 val = gdic.wxDC_SetBrush(self.this,arg0.this)
501 return val
502 def SetFont(self,arg0):
503 val = gdic.wxDC_SetFont(self.this,arg0.this)
504 return val
505 def SetLogicalFunction(self,arg0):
506 val = gdic.wxDC_SetLogicalFunction(self.this,arg0)
507 return val
508 def SetMapMode(self,arg0):
509 val = gdic.wxDC_SetMapMode(self.this,arg0)
510 return val
511 def SetOptimization(self,arg0):
512 val = gdic.wxDC_SetOptimization(self.this,arg0)
513 return val
514 def SetPen(self,arg0):
515 val = gdic.wxDC_SetPen(self.this,arg0.this)
516 return val
517 def SetTextBackground(self,arg0):
518 val = gdic.wxDC_SetTextBackground(self.this,arg0.this)
519 return val
520 def SetTextForeground(self,arg0):
521 val = gdic.wxDC_SetTextForeground(self.this,arg0.this)
522 return val
523 def SetUserScale(self,arg0,arg1):
524 val = gdic.wxDC_SetUserScale(self.this,arg0,arg1)
525 return val
526 def StartDoc(self,arg0):
527 val = gdic.wxDC_StartDoc(self.this,arg0)
528 return val
529 def StartPage(self):
530 val = gdic.wxDC_StartPage(self.this)
531 return val
532 def DrawBitmap(self,arg0,arg1,arg2,*args):
533 val = apply(gdic.wxDC_DrawBitmap,(self.this,arg0.this,arg1,arg2,)+args)
534 return val
535 def __repr__(self):
536 return "<C wxDC instance>"
537 class wxDC(wxDCPtr):
538 def __init__(self,this):
539 self.this = this
540
541
542
543
544 class wxMemoryDCPtr(wxDCPtr):
545 def __init__(self,this):
546 self.this = this
547 self.thisown = 0
548 def SelectObject(self,arg0):
549 val = gdic.wxMemoryDC_SelectObject(self.this,arg0.this)
550 return val
551 def __repr__(self):
552 return "<C wxMemoryDC instance>"
553 class wxMemoryDC(wxMemoryDCPtr):
554 def __init__(self) :
555 self.this = gdic.new_wxMemoryDC()
556 self.thisown = 1
557
558
559
560
561 class wxScreenDCPtr(wxDCPtr):
562 def __init__(self,this):
563 self.this = this
564 self.thisown = 0
565 def StartDrawingOnTop(self,arg0):
566 val = gdic.wxScreenDC_StartDrawingOnTop(self.this,arg0.this)
567 return val
568 def StartDrawingOnTopRect(self,*args):
569 argl = map(None,args)
570 try: argl[0] = argl[0].this
571 except: pass
572 args = tuple(argl)
573 val = apply(gdic.wxScreenDC_StartDrawingOnTopRect,(self.this,)+args)
574 return val
575 def EndDrawingOnTop(self):
576 val = gdic.wxScreenDC_EndDrawingOnTop(self.this)
577 return val
578 def __repr__(self):
579 return "<C wxScreenDC instance>"
580 class wxScreenDC(wxScreenDCPtr):
581 def __init__(self) :
582 self.this = gdic.new_wxScreenDC()
583 self.thisown = 1
584
585
586
587
588 class wxClientDCPtr(wxDCPtr):
589 def __init__(self,this):
590 self.this = this
591 self.thisown = 0
592 def __repr__(self):
593 return "<C wxClientDC instance>"
594 class wxClientDC(wxClientDCPtr):
595 def __init__(self,arg0) :
596 self.this = gdic.new_wxClientDC(arg0.this)
597 self.thisown = 1
598
599
600
601
602 class wxPaintDCPtr(wxDCPtr):
603 def __init__(self,this):
604 self.this = this
605 self.thisown = 0
606 def __repr__(self):
607 return "<C wxPaintDC instance>"
608 class wxPaintDC(wxPaintDCPtr):
609 def __init__(self,arg0) :
610 self.this = gdic.new_wxPaintDC(arg0.this)
611 self.thisown = 1
612
613
614
615
616 class wxWindowDCPtr(wxDCPtr):
617 def __init__(self,this):
618 self.this = this
619 self.thisown = 0
620 def __repr__(self):
621 return "<C wxWindowDC instance>"
622 class wxWindowDC(wxWindowDCPtr):
623 def __init__(self,arg0) :
624 self.this = gdic.new_wxWindowDC(arg0.this)
625 self.thisown = 1
626
627
628
629
630 class wxPostScriptDCPtr(wxDCPtr):
631 def __init__(self,this):
632 self.this = this
633 self.thisown = 0
634 def __repr__(self):
635 return "<C wxPostScriptDC instance>"
636 class wxPostScriptDC(wxPostScriptDCPtr):
637 def __init__(self,arg0,*args) :
638 argl = map(None,args)
639 try: argl[1] = argl[1].this
640 except: pass
641 args = tuple(argl)
642 self.this = apply(gdic.new_wxPostScriptDC,(arg0,)+args)
643 self.thisown = 1
644
645
646
647
648 class wxPalettePtr :
649 def __init__(self,this):
650 self.this = this
651 self.thisown = 0
652 def __del__(self):
653 if self.thisown == 1 :
654 gdic.delete_wxPalette(self.this)
655 def GetPixel(self,arg0,arg1,arg2):
656 val = gdic.wxPalette_GetPixel(self.this,arg0,arg1,arg2)
657 return val
658 def GetRGB(self,arg0,arg1,arg2,arg3):
659 val = gdic.wxPalette_GetRGB(self.this,arg0,arg1,arg2,arg3)
660 return val
661 def Ok(self):
662 val = gdic.wxPalette_Ok(self.this)
663 return val
664 def __repr__(self):
665 return "<C wxPalette instance>"
666 class wxPalette(wxPalettePtr):
667 def __init__(self,arg0,arg1,arg2) :
668 self.this = gdic.new_wxPalette(arg0,arg1,arg2)
669 self.thisown = 1
670
671
672
673
674
675
676 #-------------- FUNCTION WRAPPERS ------------------
677
678 def wxEmptyBitmap(arg0,arg1,*args):
679 val = apply(gdic.wxEmptyBitmap,(arg0,arg1,)+args)
680 val = wxBitmapPtr(val)
681 val.thisown = 1
682 return val
683
684 def wxNoRefBitmap(arg0,arg1):
685 val = gdic.wxNoRefBitmap(arg0,arg1)
686 val = wxBitmapPtr(val)
687 return val
688
689 def wxMaskColour(arg0,arg1):
690 val = gdic.wxMaskColour(arg0.this,arg1.this)
691 val = wxMaskPtr(val)
692 val.thisown = 1
693 return val
694
695 def wxStockCursor(arg0):
696 val = gdic.wxStockCursor(arg0)
697 val = wxCursorPtr(val)
698 val.thisown = 1
699 return val
700
701 def wxNamedColour(arg0):
702 val = gdic.wxNamedColour(arg0)
703 val = wxColourPtr(val)
704 val.thisown = 1
705 return val
706
707 def wxMemoryDCFromDC(arg0):
708 val = gdic.wxMemoryDCFromDC(arg0.this)
709 val = wxMemoryDCPtr(val)
710 val.thisown = 1
711 return val
712
713
714
715 #-------------- VARIABLE WRAPPERS ------------------
716
717 cvar = gdic.cvar
718 wxNORMAL_FONT = wxFontPtr(gdic.cvar.wxNORMAL_FONT)
719 wxSMALL_FONT = wxFontPtr(gdic.cvar.wxSMALL_FONT)
720 wxITALIC_FONT = wxFontPtr(gdic.cvar.wxITALIC_FONT)
721 wxSWISS_FONT = wxFontPtr(gdic.cvar.wxSWISS_FONT)
722 wxRED_PEN = wxPenPtr(gdic.cvar.wxRED_PEN)
723 wxCYAN_PEN = wxPenPtr(gdic.cvar.wxCYAN_PEN)
724 wxGREEN_PEN = wxPenPtr(gdic.cvar.wxGREEN_PEN)
725 wxBLACK_PEN = wxPenPtr(gdic.cvar.wxBLACK_PEN)
726 wxWHITE_PEN = wxPenPtr(gdic.cvar.wxWHITE_PEN)
727 wxTRANSPARENT_PEN = wxPenPtr(gdic.cvar.wxTRANSPARENT_PEN)
728 wxBLACK_DASHED_PEN = wxPenPtr(gdic.cvar.wxBLACK_DASHED_PEN)
729 wxGREY_PEN = wxPenPtr(gdic.cvar.wxGREY_PEN)
730 wxMEDIUM_GREY_PEN = wxPenPtr(gdic.cvar.wxMEDIUM_GREY_PEN)
731 wxLIGHT_GREY_PEN = wxPenPtr(gdic.cvar.wxLIGHT_GREY_PEN)
732 wxBLUE_BRUSH = wxBrushPtr(gdic.cvar.wxBLUE_BRUSH)
733 wxGREEN_BRUSH = wxBrushPtr(gdic.cvar.wxGREEN_BRUSH)
734 wxWHITE_BRUSH = wxBrushPtr(gdic.cvar.wxWHITE_BRUSH)
735 wxBLACK_BRUSH = wxBrushPtr(gdic.cvar.wxBLACK_BRUSH)
736 wxTRANSPARENT_BRUSH = wxBrushPtr(gdic.cvar.wxTRANSPARENT_BRUSH)
737 wxCYAN_BRUSH = wxBrushPtr(gdic.cvar.wxCYAN_BRUSH)
738 wxRED_BRUSH = wxBrushPtr(gdic.cvar.wxRED_BRUSH)
739 wxGREY_BRUSH = wxBrushPtr(gdic.cvar.wxGREY_BRUSH)
740 wxMEDIUM_GREY_BRUSH = wxBrushPtr(gdic.cvar.wxMEDIUM_GREY_BRUSH)
741 wxLIGHT_GREY_BRUSH = wxBrushPtr(gdic.cvar.wxLIGHT_GREY_BRUSH)
742 wxBLACK = wxColourPtr(gdic.cvar.wxBLACK)
743 wxWHITE = wxColourPtr(gdic.cvar.wxWHITE)
744 wxRED = wxColourPtr(gdic.cvar.wxRED)
745 wxBLUE = wxColourPtr(gdic.cvar.wxBLUE)
746 wxGREEN = wxColourPtr(gdic.cvar.wxGREEN)
747 wxCYAN = wxColourPtr(gdic.cvar.wxCYAN)
748 wxLIGHT_GREY = wxColourPtr(gdic.cvar.wxLIGHT_GREY)
749 wxSTANDARD_CURSOR = wxCursorPtr(gdic.cvar.wxSTANDARD_CURSOR)
750 wxHOURGLASS_CURSOR = wxCursorPtr(gdic.cvar.wxHOURGLASS_CURSOR)
751 wxCROSS_CURSOR = wxCursorPtr(gdic.cvar.wxCROSS_CURSOR)
752 wxNullBitmap = wxBitmapPtr(gdic.cvar.wxNullBitmap)
753 wxNullIcon = wxIconPtr(gdic.cvar.wxNullIcon)
754 wxNullCursor = wxCursorPtr(gdic.cvar.wxNullCursor)
755 wxNullPen = wxPenPtr(gdic.cvar.wxNullPen)
756 wxNullBrush = wxBrushPtr(gdic.cvar.wxNullBrush)
757 wxNullFont = wxFontPtr(gdic.cvar.wxNullFont)
758 wxNullColour = wxColourPtr(gdic.cvar.wxNullColour)