X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e054c6ad5c0c58c80812578c4b0fbd10678a96ee..a9b4774c0502f29e0f8eb6757a944420d02d5274:/wxPython/src/_image.i diff --git a/wxPython/src/_image.i b/wxPython/src/_image.i index e879cb3b65..3c639e0612 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(), @@ -1007,7 +1013,6 @@ range -1.0..1.0 where -1.0 is -360 degrees and 1.0 is 360 degrees", ""); -// See also wxPy_ReinitStockObjects in helpers.cpp %immutable; const wxImage wxNullImage; %mutable;