X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ff7b1510ea7f7855091df83d75a44415dc1cba18..e487524e492809638b7e335937c41fd432458a54:/src/gtk1/cursor.cpp diff --git a/src/gtk1/cursor.cpp b/src/gtk1/cursor.cpp index 3d22b288ad..01a469f84f 100644 --- a/src/gtk1/cursor.cpp +++ b/src/gtk1/cursor.cpp @@ -2,9 +2,8 @@ // Name: cursor.cpp // Purpose: // Author: Robert Roebling -// Created: 01/02/97 -// Id: -// Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem +// Id: $Id$ +// Copyright: (c) 1998 Robert Roebling // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -31,7 +30,7 @@ class wxCursorRefData: public wxObjectRefData wxCursorRefData::wxCursorRefData(void) { - m_cursor = NULL; + m_cursor = (GdkCursor *) NULL; } wxCursorRefData::~wxCursorRefData(void) @@ -133,7 +132,7 @@ bool wxCursor::operator != ( const wxCursor& cursor ) bool wxCursor::Ok(void) const { - return TRUE; + return (m_refData != NULL); } GdkCursor *wxCursor::GetCursor(void) const