]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/gdi.i
bug #463146
[wxWidgets.git] / wxPython / src / gdi.i
index 3feb977640e18800dc3866da8e4b8e5c163dbd26..ffcb6744b3d1644d7ed605df6654fc97d74b328c 100644 (file)
@@ -655,7 +655,7 @@ public:
 };
 
 
-class wxBrushList {
+class wxBrushList : public wxObject {
 public:
 
     void AddBrush(wxBrush *brush);
@@ -750,6 +750,7 @@ public:
     void SetBackground(const wxBrush& brush);
     void SetBackgroundMode(int mode);
     void SetClippingRegion(long x, long y, long width, long height);
+    %name(SetClippingRegionAsRegion) void SetClippingRegion(const wxRegion& region);
     void SetPalette(const wxPalette& colourMap);
     void SetBrush(const wxBrush& brush);
     void SetFont(const wxFont& font);
@@ -916,7 +917,7 @@ extern wxColour wxNullColour;
 
 extern wxFontList*       wxTheFontList;
 extern wxPenList*        wxThePenList;
-extern wxBrushlist*      wxTheBrushList;
+extern wxBrushList*      wxTheBrushList;
 extern wxColourDatabase* wxTheColourDatabase;