X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc322b2cd5761a34f5e491a9adad7fa9999ae0fe..4d073429a06c885db6440b79d754d8316d847223:/src/msw/cursor.cpp diff --git a/src/msw/cursor.cpp b/src/msw/cursor.cpp index e36d2f91ff..6333efd187 100644 --- a/src/msw/cursor.cpp +++ b/src/msw/cursor.cpp @@ -179,8 +179,8 @@ wxCursor::wxCursor(const wxImage& image) const int w = wxCursorRefData::GetStandardWidth(); const int h = wxCursorRefData::GetStandardHeight(); - const int hotSpotX = image.GetOptionInt(wxCUR_HOTSPOT_X); - const int hotSpotY = image.GetOptionInt(wxCUR_HOTSPOT_Y); + const int hotSpotX = image.GetOptionInt(wxIMAGE_OPTION_CUR_HOTSPOT_X); + const int hotSpotY = image.GetOptionInt(wxIMAGE_OPTION_CUR_HOTSPOT_Y); wxASSERT_MSG( hotSpotX >= 0 && hotSpotX < w && hotSpotY >= 0 && hotSpotY < h, @@ -298,10 +298,10 @@ wxCursor::wxCursor(int idCursor) { false, _T("WXCURSOR_MAGNIFIER") }, // wxCURSOR_MAGNIFIER { true, IDC_ARROW }, // WXCURSOR_MIDDLE_BUTTON { true, IDC_NO }, // WXCURSOR_NO_ENTRY - { false, _T("WXCURSOR_PAINT_BRUSH") }, // wxCURSOR_PAINT_BRUSH + { false, _T("WXCURSOR_PBRUSH") }, // wxCURSOR_PAINT_BRUSH { false, _T("WXCURSOR_PENCIL") }, // wxCURSOR_PENCIL - { false, _T("WXCURSOR_POINT_LEFT") }, // wxCURSOR_POINT_LEFT - { false, _T("WXCURSOR_POINT_RIGHT") }, // wxCURSOR_POINT_RIGHT + { false, _T("WXCURSOR_PLEFT") }, // wxCURSOR_POINT_LEFT + { false, _T("WXCURSOR_PRIGHT") }, // wxCURSOR_POINT_RIGHT { true, IDC_HELP }, // WXCURSOR_QUESTION_ARROW { true, IDC_ARROW }, // WXCURSOR_RIGHT_BUTTON { true, IDC_SIZENESW }, // WXCURSOR_SIZENESW @@ -309,9 +309,9 @@ wxCursor::wxCursor(int idCursor) { true, IDC_SIZENWSE }, // WXCURSOR_SIZENWSE { true, IDC_SIZEWE }, // WXCURSOR_SIZEWE { true, IDC_SIZEALL }, // WXCURSOR_SIZING - { false, _T("WXCURSOR_SPRAYCAN") }, // wxCURSOR_SPRAYCAN + { false, _T("WXCURSOR_PBRUSH") }, // wxCURSOR_SPRAYCAN { true, IDC_WAIT }, // WXCURSOR_WAIT - { true, IDC_WAIT }, // WXCURSOR_WATCH + { false, _T("WXCURSOR_WATCH") }, // WXCURSOR_WATCH { false, _T("WXCURSOR_BLANK") }, // wxCURSOR_BLANK { true, IDC_APPSTARTING }, // wxCURSOR_ARROWWAIT