Add GetHandlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
7d50c11074
commit
df5f8f4e3d
@ -947,6 +947,12 @@ option is not present, the function returns 0.", "
|
|||||||
static void AddHandler( wxImageHandler *handler );
|
static void AddHandler( wxImageHandler *handler );
|
||||||
static void InsertHandler( wxImageHandler *handler );
|
static void InsertHandler( wxImageHandler *handler );
|
||||||
static bool RemoveHandler( const wxString& name );
|
static bool RemoveHandler( const wxString& name );
|
||||||
|
%extend {
|
||||||
|
static PyObject* GetHandlers() {
|
||||||
|
wxList& list = wxImage::GetHandlers();
|
||||||
|
return wxPy_ConvertList(&list);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
DocDeclStr(
|
DocDeclStr(
|
||||||
static wxString , GetImageExtWildcard(),
|
static wxString , GetImageExtWildcard(),
|
||||||
|
Loading…
Reference in New Issue
Block a user