Lines Matching defs:cursor
2 // Name: src/msw/cursor.cpp
7 // RCS-ID: $Id: cursor.cpp 46594 2007-06-21 18:14:29Z VZ $
27 #include "wx/cursor.h"
56 // the second parameter is used to tell us to delete the cursor when we're
66 // return the size of the standard cursor: notice that the system only
74 // standard cursor size, computed on first use
88 // Current cursor, in order to hang on to cursor handle when setting the cursor
176 // image has to be of the standard cursor size, otherwise we won't be able
188 _T("invalid cursor hot spot coordinates") );
213 wxLogWarning(_("Failed to create cursor."));
282 wxFAIL_MSG( _T("unknown cursor resource type") );
299 // is this a standard Windows cursor?
302 // the cursor name or id
312 // Displays as an I-beam on XP, so use a cursor file
349 _T("invalid cursor id in wxCursor() ctor") );
390 // Global cursor setting
398 void wxSetCursor(const wxCursor& cursor)
400 if ( cursor.Ok() )
402 ::SetCursor(GetHcursorOf(cursor));
405 *gs_globalCursor = cursor;