From: Vadim Zeitlin Date: Sun, 2 Feb 2003 18:31:23 +0000 (+0000) Subject: compilation fix for wxUSE_RESOURCE_LOADING_IN_MSW == 0 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f0834140313212fc54d09e28d21a95476d6545f2 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 --- diff --git a/src/msw/cursor.cpp b/src/msw/cursor.cpp index d834b7dc53..527c1dca2d 100644 --- a/src/msw/cursor.cpp +++ b/src/msw/cursor.cpp @@ -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; }