--- np2/macosx/mousemng.cpp 2003/10/19 14:48:07 1.2 +++ np2/macosx/mousemng.cpp 2003/10/20 10:14:27 1.3 @@ -28,12 +28,12 @@ void mouseonoff(BYTE flg) { if ((lastmouse ^ flg) & 1) { lastmouse = (flg & 1); if (lastmouse & 1) { - CGDisplayHideCursor(kCGDirectMainDisplay); + HideCursor(); getmaincenter(&cp); CGWarpMouseCursorPosition(CGPointMake(cp.h, cp.v)); } else { - CGDisplayShowCursor(kCGDirectMainDisplay); + ShowCursor(); } } }