compilation fix for wxUSE_RESOURCE_LOADING_IN_MSW == 0

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2003-02-02 18:31:23 +00:00
parent 7e1bcfa80e
commit f083414031

View File

@ -350,9 +350,9 @@ wxCursor::wxCursor(const wxString& filename,
pt.y = hotSpotY;
hcursor = MakeCursorFromBitmap(wxGetInstance(), hBitmap, &pt);
DeleteObject(hBitmap);
#endif // wxUSE_RESOURCE_LOADING_IN_MSW
}
else
#endif // wxUSE_RESOURCE_LOADING_IN_MSW
{
hcursor = NULL;
}