Added wxCURSOR_ARROWWAIT which is the default arrow+hourglass cursor
on MSW, or the same as wxCURSOR_WAIT on wxGTK. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -134,6 +134,8 @@ is enabled in setup.h). Specify {\it hotSpotX} and {\it hotSpotY}.}
|
|||||||
\twocolitem{{\bf wxCURSOR\_SPRAYCAN}}{A spraycan cursor.}
|
\twocolitem{{\bf wxCURSOR\_SPRAYCAN}}{A spraycan cursor.}
|
||||||
\twocolitem{{\bf wxCURSOR\_WAIT}}{A wait cursor.}
|
\twocolitem{{\bf wxCURSOR\_WAIT}}{A wait cursor.}
|
||||||
\twocolitem{{\bf wxCURSOR\_WATCH}}{A watch cursor.}
|
\twocolitem{{\bf wxCURSOR\_WATCH}}{A watch cursor.}
|
||||||
|
\twocolitem{{\bf wxCURSOR\_ARROWWAIT}}{A cursor with both an arrow and
|
||||||
|
an hourglass, (windows.)}
|
||||||
\end{twocollist}\twocolwidtha{5cm}
|
\end{twocollist}\twocolwidtha{5cm}
|
||||||
|
|
||||||
Note that not all cursors are available on all platforms.}
|
Note that not all cursors are available on all platforms.}
|
||||||
|
@@ -123,6 +123,8 @@ enum wxStockCursor
|
|||||||
wxCURSOR_BASED_ARROW_DOWN,
|
wxCURSOR_BASED_ARROW_DOWN,
|
||||||
#endif // X11
|
#endif // X11
|
||||||
|
|
||||||
|
wxCURSOR_ARROWWAIT,
|
||||||
|
|
||||||
wxCURSOR_MAX
|
wxCURSOR_MAX
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -72,6 +72,7 @@ wxCursor::wxCursor( int cursorId )
|
|||||||
case wxCURSOR_CROSS: gdk_cur = GDK_CROSSHAIR; break;
|
case wxCURSOR_CROSS: gdk_cur = GDK_CROSSHAIR; break;
|
||||||
case wxCURSOR_SIZEWE: gdk_cur = GDK_SB_H_DOUBLE_ARROW; break;
|
case wxCURSOR_SIZEWE: gdk_cur = GDK_SB_H_DOUBLE_ARROW; break;
|
||||||
case wxCURSOR_SIZENS: gdk_cur = GDK_SB_V_DOUBLE_ARROW; break;
|
case wxCURSOR_SIZENS: gdk_cur = GDK_SB_V_DOUBLE_ARROW; break;
|
||||||
|
case wxCURSOR_ARROWWAIT:
|
||||||
case wxCURSOR_WAIT:
|
case wxCURSOR_WAIT:
|
||||||
case wxCURSOR_WATCH: gdk_cur = GDK_WATCH; break;
|
case wxCURSOR_WATCH: gdk_cur = GDK_WATCH; break;
|
||||||
case wxCURSOR_SIZING: gdk_cur = GDK_SIZING; break;
|
case wxCURSOR_SIZING: gdk_cur = GDK_SIZING; break;
|
||||||
|
@@ -72,6 +72,7 @@ wxCursor::wxCursor( int cursorId )
|
|||||||
case wxCURSOR_CROSS: gdk_cur = GDK_CROSSHAIR; break;
|
case wxCURSOR_CROSS: gdk_cur = GDK_CROSSHAIR; break;
|
||||||
case wxCURSOR_SIZEWE: gdk_cur = GDK_SB_H_DOUBLE_ARROW; break;
|
case wxCURSOR_SIZEWE: gdk_cur = GDK_SB_H_DOUBLE_ARROW; break;
|
||||||
case wxCURSOR_SIZENS: gdk_cur = GDK_SB_V_DOUBLE_ARROW; break;
|
case wxCURSOR_SIZENS: gdk_cur = GDK_SB_V_DOUBLE_ARROW; break;
|
||||||
|
case wxCURSOR_ARROWWAIT:
|
||||||
case wxCURSOR_WAIT:
|
case wxCURSOR_WAIT:
|
||||||
case wxCURSOR_WATCH: gdk_cur = GDK_WATCH; break;
|
case wxCURSOR_WATCH: gdk_cur = GDK_WATCH; break;
|
||||||
case wxCURSOR_SIZING: gdk_cur = GDK_SIZING; break;
|
case wxCURSOR_SIZING: gdk_cur = GDK_SIZING; break;
|
||||||
|
@@ -191,6 +191,9 @@ wxCursor::wxCursor(int cursor_type)
|
|||||||
|
|
||||||
switch (cursor_type)
|
switch (cursor_type)
|
||||||
{
|
{
|
||||||
|
case wxCURSOR_ARROWWAIT:
|
||||||
|
refData->m_hCursor = (WXHCURSOR) LoadCursor((HINSTANCE) NULL, IDC_APPSTARTING);
|
||||||
|
break;
|
||||||
case wxCURSOR_WAIT:
|
case wxCURSOR_WAIT:
|
||||||
refData->m_hCursor = (WXHCURSOR) LoadCursor((HINSTANCE) NULL, IDC_WAIT);
|
refData->m_hCursor = (WXHCURSOR) LoadCursor((HINSTANCE) NULL, IDC_WAIT);
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user