Cross-hair cursor appears as an I-beam on WinXP for some reason;

use cursor file instead.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2005-04-03 11:36:31 +00:00
parent 4791fafb6d
commit 27e7e85984
3 changed files with 4 additions and 1 deletions

BIN
include/wx/msw/cross.cur Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

View File

@ -75,6 +75,7 @@ WXCURSOR_PRIGHT CURSOR DISCARDABLE "wx/msw/pntright.cur"
WXCURSOR_QARROW CURSOR DISCARDABLE "wx/msw/query.cur"
WXCURSOR_BLANK CURSOR DISCARDABLE "wx/msw/blank.cur"
WXCURSOR_RIGHT_ARROW CURSOR DISCARDABLE "wx/msw/rightarr.cur"
WXCURSOR_CROSS CURSOR DISCARDABLE "wx/msw/cross.cur"
//////////////////////////////////////////////////////////////////////////////

View File

@ -311,7 +311,9 @@ wxCursor::wxCursor(int idCursor)
{ false, _T("WXCURSOR_RIGHT_ARROW") }, // wxCURSOR_RIGHT_ARROW
{ false, _T("WXCURSOR_BULLSEYE") }, // wxCURSOR_BULLSEYE
{ true, IDC_ARROW }, // WXCURSOR_CHAR
{ true, IDC_CROSS }, // WXCURSOR_CROSS
// Displays as an I-beam on XP, so use a cursor file
// { true, IDC_CROSS }, // WXCURSOR_CROSS
{ false, _T("WXCURSOR_CROSS") }, // WXCURSOR_CROSS
{ false, _T("WXCURSOR_HAND") }, // wxCURSOR_HAND
{ true, IDC_IBEAM }, // WXCURSOR_IBEAM
{ true, IDC_ARROW }, // WXCURSOR_LEFT_BUTTON