Add GetHandlers

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2006-03-05 03:59:45 +00:00
parent 7d50c11074
commit df5f8f4e3d

View File

@ -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(),