X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ff7b1510ea7f7855091df83d75a44415dc1cba18..520e470fdd0daef09c77938db642e4583933c90d:/src/gtk1/cursor.cpp?ds=sidebyside diff --git a/src/gtk1/cursor.cpp b/src/gtk1/cursor.cpp index 3d22b288ad..7195cfa0c6 100644 --- a/src/gtk1/cursor.cpp +++ b/src/gtk1/cursor.cpp @@ -31,7 +31,7 @@ class wxCursorRefData: public wxObjectRefData wxCursorRefData::wxCursorRefData(void) { - m_cursor = NULL; + m_cursor = (GdkCursor *) NULL; } wxCursorRefData::~wxCursorRefData(void) @@ -133,7 +133,7 @@ bool wxCursor::operator != ( const wxCursor& cursor ) bool wxCursor::Ok(void) const { - return TRUE; + return (m_refData != NULL); } GdkCursor *wxCursor::GetCursor(void) const