// See also wxPy_ReinitStockObjects in helpers.cpp
%immutable;
+%threadWrapperOff;
wxFont* const wxNORMAL_FONT;
wxFont* const wxSMALL_FONT;
const wxFont wxNullFont;
const wxColour wxNullColour;
+%threadWrapperOn;
%mutable;
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();
//---------------------------------------------------------------------------
+MustHaveApp(wxColourDatabase);
+
class wxColourDatabase : public wxObject {
public:
wxColourDatabase();
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);