]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for wxUSE_RESOURCE_LOADING_IN_MSW == 0
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 2 Feb 2003 18:31:23 +0000 (18:31 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 2 Feb 2003 18:31:23 +0000 (18:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/cursor.cpp

index d834b7dc53fd27ad1fcde0a3b1f1fd0bba20ea2c..527c1dca2ddb8882ee405d8e47cf8be15cd77cea 100644 (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;
                 }