{
gs_globalCursor = new wxCursor;
- return TRUE;
+ return true;
}
virtual void OnExit()
{
}
+#if wxUSE_IMAGE
wxCursor::wxCursor(const wxImage& image)
{
// image has to be of the standard cursor size, otherwise we won't be able
m_refData = new wxCursorRefData(hcursor, true /* delete it later */);
}
+#endif
wxCursor::wxCursor(const char WXUNUSED(bits)[],
int WXUNUSED(width),
// Cursors by stock number
wxCursor::wxCursor(int idCursor)
{
- // all wxWindows standard cursors
+ // all wxWidgets standard cursors
static const struct StdCursor
{
// is this a standard Windows cursor?
{ false, _T("WXCURSOR_MAGNIFIER") }, // wxCURSOR_MAGNIFIER
{ true, IDC_ARROW }, // WXCURSOR_MIDDLE_BUTTON
{ true, IDC_NO }, // WXCURSOR_NO_ENTRY
- { false, _T("WXCURSOR_PAINT_BRUSH") }, // wxCURSOR_PAINT_BRUSH
+ { false, _T("WXCURSOR_PBRUSH") }, // wxCURSOR_PAINT_BRUSH
{ false, _T("WXCURSOR_PENCIL") }, // wxCURSOR_PENCIL
- { false, _T("WXCURSOR_POINT_LEFT") }, // wxCURSOR_POINT_LEFT
- { false, _T("WXCURSOR_POINT_RIGHT") }, // wxCURSOR_POINT_RIGHT
+ { false, _T("WXCURSOR_PLEFT") }, // wxCURSOR_POINT_LEFT
+ { false, _T("WXCURSOR_PRIGHT") }, // wxCURSOR_POINT_RIGHT
{ true, IDC_HELP }, // WXCURSOR_QUESTION_ARROW
{ true, IDC_ARROW }, // WXCURSOR_RIGHT_BUTTON
{ true, IDC_SIZENESW }, // WXCURSOR_SIZENESW
{ true, IDC_SIZENWSE }, // WXCURSOR_SIZENWSE
{ true, IDC_SIZEWE }, // WXCURSOR_SIZEWE
{ true, IDC_SIZEALL }, // WXCURSOR_SIZING
- { false, _T("WXCURSOR_SPRAYCAN") }, // wxCURSOR_SPRAYCAN
+ { false, _T("WXCURSOR_PBRUSH") }, // wxCURSOR_SPRAYCAN
{ true, IDC_WAIT }, // WXCURSOR_WAIT
- { true, IDC_WAIT }, // WXCURSOR_WATCH
+ { false, _T("WXCURSOR_WATCH") }, // WXCURSOR_WATCH
{ false, _T("WXCURSOR_BLANK") }, // wxCURSOR_BLANK
{ true, IDC_APPSTARTING }, // wxCURSOR_ARROWWAIT