#include "wx/cursor.h"
#ifndef WX_PRECOMP
- #include "wx/msw/missing.h" // IDC_HAND
#include "wx/utils.h"
#include "wx/app.h"
#include "wx/bitmap.h"
#endif
#include "wx/msw/private.h"
+#include "wx/msw/missing.h" // IDC_HAND
// define functions missing in MicroWin
#ifdef __WXMICROWIN__
wxLogWarning(_("Failed to create cursor."));
return;
}
-#else
- HCURSOR hcursor = 0;
-#endif
+#endif // wxUSE_WXDIB
m_refData = new wxCursorRefData(hcursor, true /* delete it later */);
}