From df5f8f4e3ded997ff338630c0371a689b7717b3d Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sun, 5 Mar 2006 03:59:45 +0000 Subject: [PATCH] Add GetHandlers git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_image.i | 6 ++++++ 1 file changed, 6 insertions(+) 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(), -- 2.45.2