projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
recognize Vista by name in wxGetOsDescription()
[wxWidgets.git]
/
src
/
msw
/
cursor.cpp
diff --git
a/src/msw/cursor.cpp
b/src/msw/cursor.cpp
index 3e10e778655fc17b313e9e629cf6828323579fbf..5e0bb783f9277d6dd82cdc0068f99d25edea90dc 100644
(file)
--- a/
src/msw/cursor.cpp
+++ b/
src/msw/cursor.cpp
@@
-209,17
+209,15
@@
wxCursor::wxCursor(const wxImage& image)
HCURSOR hcursor = wxBitmapToHCURSOR( wxBitmap(imageSized),
hotSpotX, hotSpotY );
HCURSOR hcursor = wxBitmapToHCURSOR( wxBitmap(imageSized),
hotSpotX, hotSpotY );
-#if wxUSE_WXDIB
if ( !hcursor )
{
wxLogWarning(_("Failed to create cursor."));
return;
}
if ( !hcursor )
{
wxLogWarning(_("Failed to create cursor."));
return;
}
-#endif // wxUSE_WXDIB
m_refData = new wxCursorRefData(hcursor, true /* delete it later */);
}
m_refData = new wxCursorRefData(hcursor, true /* delete it later */);
}
-#endif
+#endif
// wxUSE_IMAGE
wxCursor::wxCursor(const char WXUNUSED(bits)[],
int WXUNUSED(width),
wxCursor::wxCursor(const char WXUNUSED(bits)[],
int WXUNUSED(width),