X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b9048c56f0aa04b2adbb7813f9698abdda15184..af52e1853cab53343013b286119100241b561c45:/wxPython/src/_stockobjs.i diff --git a/wxPython/src/_stockobjs.i b/wxPython/src/_stockobjs.i index 12aa013492..7ae7546af4 100644 --- a/wxPython/src/_stockobjs.i +++ b/wxPython/src/_stockobjs.i @@ -91,7 +91,7 @@ class wxBrushList : public wxObject { public: void AddBrush(wxBrush *brush); - wxBrush * FindOrCreateBrush(const wxColour& colour, int style); + wxBrush * FindOrCreateBrush(const wxColour& colour, int style=wxSOLID); void RemoveBrush(wxBrush *brush); int GetCount(); @@ -99,6 +99,8 @@ public: //--------------------------------------------------------------------------- +MustHaveApp(wxColourDatabase); + class wxColourDatabase : public wxObject { public: wxColourDatabase(); @@ -126,7 +128,7 @@ public: void AddFont(wxFont* font); wxFont * FindOrCreateFont(int point_size, int family, int style, int weight, - bool underline = False, const wxString& facename = wxPyEmptyString, + bool underline = false, const wxString& facename = wxPyEmptyString, wxFontEncoding encoding = wxFONTENCODING_DEFAULT); void RemoveFont(wxFont *font);