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;
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; }}