Allow creating wxCursor from ANI files under MSW.

Simply pass them to the standard LoadCursorFromFile() function which supports
this format.

Closes #3472.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2013-02-06 12:46:24 +00:00
parent d6b180ec36
commit 72bd600b33
3 changed files with 5 additions and 2 deletions

View File

@@ -240,6 +240,7 @@ wxCursor::wxCursor(const wxString& filename,
break;
#ifndef __WXWINCE__
case wxBITMAP_TYPE_ANI:
case wxBITMAP_TYPE_CUR:
hcursor = ::LoadCursorFromFile(filename.t_str());
break;