make sure XPM handler is added at most once
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -55,7 +55,7 @@ void wxInitAllImageHandlers()
|
||||
#if wxUSE_IFF
|
||||
wxImage::AddHandler( new wxIFFHandler );
|
||||
#endif
|
||||
#if wxUSE_XPM
|
||||
#if wxUSE_XPM && (defined(__WXGTK__) || defined(__WXMOTIF__))
|
||||
wxImage::AddHandler( new wxXPMHandler );
|
||||
#endif
|
||||
#if wxUSE_ICO_CUR
|
||||
|
Reference in New Issue
Block a user