compilation fix after operator==() removal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3412,16 +3412,14 @@ bool wxWindowGTK::SetCursor( const wxCursor &cursor )
|
|||||||
{
|
{
|
||||||
wxCHECK_MSG( (m_widget != NULL), false, wxT("invalid window") );
|
wxCHECK_MSG( (m_widget != NULL), false, wxT("invalid window") );
|
||||||
|
|
||||||
if (cursor == m_cursor)
|
if ( cursor.IsSameAs(m_cursor) )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (g_isIdle)
|
if (g_isIdle)
|
||||||
wxapp_install_idle_handler();
|
wxapp_install_idle_handler();
|
||||||
|
|
||||||
if (cursor == wxNullCursor)
|
return wxWindowBase::SetCursor( cursor.IsOk() ? cursor
|
||||||
return wxWindowBase::SetCursor( *wxSTANDARD_CURSOR );
|
: *wxSTANDARD_CURSOR );
|
||||||
else
|
|
||||||
return wxWindowBase::SetCursor( cursor );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxWindowGTK::WarpPointer( int x, int y )
|
void wxWindowGTK::WarpPointer( int x, int y )
|
||||||
|
Reference in New Issue
Block a user