X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5c33522fca7cddc441a316f5b9fb50d7685435ba..88c87a11a81106d950a2bbadf9426933f7b63de7:/src/osx/carbon/cursor.cpp?ds=sidebyside diff --git a/src/osx/carbon/cursor.cpp b/src/osx/carbon/cursor.cpp index 6cfcea3704..0086d4ade1 100644 --- a/src/osx/carbon/cursor.cpp +++ b/src/osx/carbon/cursor.cpp @@ -66,7 +66,7 @@ protected: friend class wxCursor; - DECLARE_NO_ASSIGN_CLASS(wxCursorRefData) + wxDECLARE_NO_ASSIGN_CLASS(wxCursorRefData); }; #define M_CURSORDATA static_cast(m_refData) @@ -647,6 +647,14 @@ void wxCursor::InitFromStock(wxStockCursor cursor_type) M_CURSORDATA->m_hCursor = wxGetStockCursor(kwxCursorRoller); break; + case wxCURSOR_OPEN_HAND: + M_CURSORDATA->m_themeCursor = kThemeOpenHandCursor; + break; + + case wxCURSOR_CLOSED_HAND: + M_CURSORDATA->m_themeCursor = kThemeClosedHandCursor; + break; + case wxCURSOR_CHAR: case wxCURSOR_ARROW: case wxCURSOR_LEFT_BUTTON: