]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/cursor.cpp
added method for finding out, whether the macos system is fully initialized for this...
[wxWidgets.git] / src / mac / cursor.cpp
index fa0bbf76b29f7000d68470e8dfcaa34a1372fcbe..c65a32ecb19e0b2d69ab838577187682a48ab96d 100644 (file)
@@ -15,6 +15,7 @@
 
 #include "wx/cursor.h"
 #include "wx/icon.h"
 
 #include "wx/cursor.h"
 #include "wx/icon.h"
+#include "wx/mac/private.h"
 
 #if !USE_SHARED_LIBRARIES
 IMPLEMENT_DYNAMIC_CLASS(wxCursor, wxBitmap)
 
 #if !USE_SHARED_LIBRARIES
 IMPLEMENT_DYNAMIC_CLASS(wxCursor, wxBitmap)
@@ -195,8 +196,8 @@ void wxCursor::MacInstall() const
 {
        if ( m_refData && M_CURSORDATA->m_hCursor )
        {
 {
        if ( m_refData && M_CURSORDATA->m_hCursor )
        {
-               ::SetCursor( *M_CURSORDATA->m_hCursor ) ;
-               gMacCurrentCursor = M_CURSORDATA->m_hCursor ;
+               ::SetCursor(  *((CursHandle)M_CURSORDATA->m_hCursor) ) ;
+               gMacCurrentCursor = (CursHandle)M_CURSORDATA->m_hCursor ;
        }
        else
        {
        }
        else
        {