X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e054c6ad5c0c58c80812578c4b0fbd10678a96ee..bc50a2ae95f2ab36b16ceedc7902a9cbfb2f70ea:/wxPython/src/_image.i diff --git a/wxPython/src/_image.i b/wxPython/src/_image.i index e879cb3b65..d3c67d16bb 100644 --- a/wxPython/src/_image.i +++ b/wxPython/src/_image.i @@ -947,6 +947,12 @@ option is not present, the function returns 0.", " static void AddHandler( wxImageHandler *handler ); static void InsertHandler( wxImageHandler *handler ); static bool RemoveHandler( const wxString& name ); + %extend { + static PyObject* GetHandlers() { + wxList& list = wxImage::GetHandlers(); + return wxPy_ConvertList(&list); + } + } DocDeclStr( static wxString , GetImageExtWildcard(),