X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b9048c56f0aa04b2adbb7813f9698abdda15184..c437fde9f90fc7dfcac79053d214fc9146d7be21:/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);