From b928bd059f8fba7e4601f4786d5b9c0ec8d47196 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 11 Mar 2007 00:50:06 +0000 Subject: [PATCH] fixed compilation with wxUSE_WXDIB==0 (bug 1667819) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/cursor.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/msw/cursor.cpp b/src/msw/cursor.cpp index 998ec54bce..3f14837ed5 100644 --- a/src/msw/cursor.cpp +++ b/src/msw/cursor.cpp @@ -215,9 +215,7 @@ wxCursor::wxCursor(const wxImage& image) wxLogWarning(_("Failed to create cursor.")); return; } -#else - HCURSOR hcursor = 0; -#endif +#endif // wxUSE_WXDIB m_refData = new wxCursorRefData(hcursor, true /* delete it later */); }