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:
@@ -350,9 +350,9 @@ wxCursor::wxCursor(const wxString& filename,
|
|||||||
pt.y = hotSpotY;
|
pt.y = hotSpotY;
|
||||||
hcursor = MakeCursorFromBitmap(wxGetInstance(), hBitmap, &pt);
|
hcursor = MakeCursorFromBitmap(wxGetInstance(), hBitmap, &pt);
|
||||||
DeleteObject(hBitmap);
|
DeleteObject(hBitmap);
|
||||||
#endif // wxUSE_RESOURCE_LOADING_IN_MSW
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
#endif // wxUSE_RESOURCE_LOADING_IN_MSW
|
||||||
{
|
{
|
||||||
hcursor = NULL;
|
hcursor = NULL;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user