X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6e1eab530e7908541452307945b64171207f8559..c437fde9f90fc7dfcac79053d214fc9146d7be21:/wxPython/src/_artprov.i?ds=inline diff --git a/wxPython/src/_artprov.i b/wxPython/src/_artprov.i index 83d99ac43f..ac11b64e9c 100644 --- a/wxPython/src/_artprov.i +++ b/wxPython/src/_artprov.i @@ -92,7 +92,7 @@ public: const wxArtClient& client, const wxSize& size) { wxBitmap rval = wxNullBitmap; - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) { PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0); PyObject* ro; @@ -261,6 +261,12 @@ wx.NullBitmap if no provider provides it.", ""); const wxSize& size = wxDefaultSize), "Query the providers for icon with given ID and return it. Return wx.NullIcon if no provider provides it.", ""); + + DocDeclStr( + static wxSize , GetSizeHint(const wxString& client, bool platform_dependent = false), + "Get the size hint of an icon from a specific Art Client, queries the +topmost provider if platform_dependent = false", ""); + %extend { void Destroy() { delete self; }}