+ GetPen = staticmethod(GetPen)
+ def GetFont(*args, **kwargs):
+ """GetFont(self, int item) -> Font"""
+ return _gdi_.StockGDI_GetFont(*args, **kwargs)
+
+ def _initStockObjects():
+ import wx
+ wx.ITALIC_FONT = StockGDI.instance().GetFont(StockGDI.FONT_ITALIC)
+ wx.NORMAL_FONT = StockGDI.instance().GetFont(StockGDI.FONT_NORMAL)
+ wx.SMALL_FONT = StockGDI.instance().GetFont(StockGDI.FONT_SMALL)
+ wx.SWISS_FONT = StockGDI.instance().GetFont(StockGDI.FONT_SWISS)
+
+ wx.BLACK_DASHED_PEN = StockGDI.GetPen(StockGDI.PEN_BLACKDASHED)
+ wx.BLACK_PEN = StockGDI.GetPen(StockGDI.PEN_BLACK)
+ wx.CYAN_PEN = StockGDI.GetPen(StockGDI.PEN_CYAN)
+ wx.GREEN_PEN = StockGDI.GetPen(StockGDI.PEN_GREEN)
+ wx.GREY_PEN = StockGDI.GetPen(StockGDI.PEN_GREY)
+ wx.LIGHT_GREY_PEN = StockGDI.GetPen(StockGDI.PEN_LIGHTGREY)
+ wx.MEDIUM_GREY_PEN = StockGDI.GetPen(StockGDI.PEN_MEDIUMGREY)
+ wx.RED_PEN = StockGDI.GetPen(StockGDI.PEN_RED)
+ wx.TRANSPARENT_PEN = StockGDI.GetPen(StockGDI.PEN_TRANSPARENT)
+ wx.WHITE_PEN = StockGDI.GetPen(StockGDI.PEN_WHITE)
+
+ wx.BLACK_BRUSH = StockGDI.GetBrush(StockGDI.BRUSH_BLACK)
+ wx.BLUE_BRUSH = StockGDI.GetBrush(StockGDI.BRUSH_BLUE)
+ wx.CYAN_BRUSH = StockGDI.GetBrush(StockGDI.BRUSH_CYAN)
+ wx.GREEN_BRUSH = StockGDI.GetBrush(StockGDI.BRUSH_GREEN)
+ wx.GREY_BRUSH = StockGDI.GetBrush(StockGDI.BRUSH_GREY)
+ wx.LIGHT_GREY_BRUSH = StockGDI.GetBrush(StockGDI.BRUSH_LIGHTGREY)
+ wx.MEDIUM_GREY_BRUSH = StockGDI.GetBrush(StockGDI.BRUSH_MEDIUMGREY)
+ wx.RED_BRUSH = StockGDI.GetBrush(StockGDI.BRUSH_RED)
+ wx.TRANSPARENT_BRUSH = StockGDI.GetBrush(StockGDI.BRUSH_TRANSPARENT)
+ wx.WHITE_BRUSH = StockGDI.GetBrush(StockGDI.BRUSH_WHITE)
+
+ wx.BLACK = StockGDI.GetColour(StockGDI.COLOUR_BLACK)
+ wx.BLUE = StockGDI.GetColour(StockGDI.COLOUR_BLUE)
+ wx.CYAN = StockGDI.GetColour(StockGDI.COLOUR_CYAN)
+ wx.GREEN = StockGDI.GetColour(StockGDI.COLOUR_GREEN)
+ wx.LIGHT_GREY = StockGDI.GetColour(StockGDI.COLOUR_LIGHTGREY)
+ wx.RED = StockGDI.GetColour(StockGDI.COLOUR_RED)
+ wx.WHITE = StockGDI.GetColour(StockGDI.COLOUR_WHITE)
+
+ wx.CROSS_CURSOR = StockGDI.GetCursor(StockGDI.CURSOR_CROSS)
+ wx.HOURGLASS_CURSOR = StockGDI.GetCursor(StockGDI.CURSOR_HOURGLASS)
+ wx.STANDARD_CURSOR = StockGDI.GetCursor(StockGDI.CURSOR_STANDARD)
+
+ _initStockObjects = staticmethod(_initStockObjects)
+
+_gdi_.StockGDI_swigregister(StockGDI)
+
+def StockGDI_DeleteAll(*args):
+ """StockGDI_DeleteAll()"""
+ return _gdi_.StockGDI_DeleteAll(*args)
+
+def StockGDI_instance(*args):
+ """StockGDI_instance() -> StockGDI"""
+ return _gdi_.StockGDI_instance(*args)
+
+def StockGDI_GetBrush(*args, **kwargs):
+ """StockGDI_GetBrush(int item) -> Brush"""
+ return _gdi_.StockGDI_GetBrush(*args, **kwargs)
+
+def StockGDI_GetColour(*args, **kwargs):
+ """StockGDI_GetColour(int item) -> Colour"""
+ return _gdi_.StockGDI_GetColour(*args, **kwargs)
+
+def StockGDI_GetCursor(*args, **kwargs):
+ """StockGDI_GetCursor(int item) -> Cursor"""
+ return _gdi_.StockGDI_GetCursor(*args, **kwargs)
+
+def StockGDI_GetPen(*args, **kwargs):
+ """StockGDI_GetPen(int item) -> Pen"""
+ return _gdi_.StockGDI_GetPen(*args, **kwargs)
+
+class GDIObjListBase(object):
+ """Proxy of C++ GDIObjListBase class"""
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
+ __repr__ = _swig_repr
+ def __init__(self, *args, **kwargs):
+ """__init__(self) -> GDIObjListBase"""
+ _gdi_.GDIObjListBase_swiginit(self,_gdi_.new_GDIObjListBase(*args, **kwargs))
+ __swig_destroy__ = _gdi_.delete_GDIObjListBase
+ __del__ = lambda self : None;
+_gdi_.GDIObjListBase_swigregister(GDIObjListBase)