X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a72f4631fe5ab7ebeefdacf8ec9c826ea962133f..716a5baa6ecd0d5d0c31914567e4da3165ca6ff0:/wxPython/src/_stockobjs.i diff --git a/wxPython/src/_stockobjs.i b/wxPython/src/_stockobjs.i index 752e7574e7..b3227af463 100644 --- a/wxPython/src/_stockobjs.i +++ b/wxPython/src/_stockobjs.i @@ -19,6 +19,7 @@ // See also wxPy_ReinitStockObjects in helpers.cpp %immutable; +%threadWrapperOff; wxFont* const wxNORMAL_FONT; wxFont* const wxSMALL_FONT; @@ -69,6 +70,7 @@ const wxPalette wxNullPalette; const wxFont wxNullFont; const wxColour wxNullColour; +%threadWrapperOn; %mutable; @@ -91,7 +93,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();