now supports wxCURSOR_BULLSEYE

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
1999-10-06 07:09:26 +00:00
parent 8f17924e73
commit 13971833d8
2 changed files with 12 additions and 8 deletions

View File

@@ -86,6 +86,8 @@ wxCursor::wxCursor( int cursorId )
case wxCURSOR_LEFT_BUTTON: gdk_cur = GDK_LEFTBUTTON; break;
case wxCURSOR_MIDDLE_BUTTON: gdk_cur = GDK_MIDDLEBUTTON; break;
case wxCURSOR_RIGHT_BUTTON: gdk_cur = GDK_RIGHTBUTTON; break;
case wxCURSOR_BULLSEYE: gdk_cur = GDK_TARGET; break;
/*
case wxCURSOR_DOUBLE_ARROW: gdk_cur = GDK_DOUBLE_ARROW; break;
case wxCURSOR_CROSS_REVERSE: gdk_cur = GDK_CROSS_REVERSE; break;
@@ -158,7 +160,7 @@ void wxEndBusyCursor()
wxSetCursor( gs_savedCursor );
gs_savedCursor = wxNullCursor;
wxYield();
}
@@ -171,9 +173,9 @@ void wxBeginBusyCursor( wxCursor *WXUNUSED(cursor) )
T("forgot to call wxEndBusyCursor, will leak memory") );
gs_savedCursor = g_globalCursor;
wxSetCursor( wxCursor(wxCURSOR_WATCH) );
wxYield();
}
@@ -184,7 +186,7 @@ bool wxIsBusy()
void wxSetCursor( const wxCursor& cursor )
{
if (g_isIdle)
if (g_isIdle)
wxapp_install_idle_handler();
g_globalCursor = cursor;