X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f516d986371b7643efda569d64ae19e75d221411..6c73e20df7f3a7ea8c2059a816ffd3655ea2b848:/src/x11/cursor.cpp diff --git a/src/x11/cursor.cpp b/src/x11/cursor.cpp index 77ac73f161..3aff9bfa0e 100644 --- a/src/x11/cursor.cpp +++ b/src/x11/cursor.cpp @@ -1,19 +1,26 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: cursor.cpp +// Name: src/x11/cursor.cpp // Purpose: wxCursor class // Author: Julian Smart // Modified by: // Created: 17/09/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/cursor.h" + +#ifndef WX_PRECOMP + #include "wx/app.h" + #include "wx/utils.h" + #include "wx/icon.h" +#endif + #include "wx/gdicmn.h" -#include "wx/icon.h" -#include "wx/app.h" -#include "wx/utils.h" #include "wx/x11/private.h" @@ -65,14 +72,14 @@ wxCursor::wxCursor( int cursorId ) #if wxUSE_NANOX // TODO Create some standard cursors from bitmaps. - - + + #else // !wxUSE_NANOX - + M_CURSORDATA->m_display = wxGlobalDisplay(); wxASSERT_MSG( M_CURSORDATA->m_display, wxT("No display") ); - + int x_cur = XC_left_ptr; switch (cursorId) {