Some compile fixes.
It sure would be nice if big complicated patches could be tested (or at least compiled) on all the core platforms before being checked in, especially in last-minute crunch times. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -76,7 +76,7 @@ public:
|
||||
return m_refData ? penData && *M_PENDATA == *penData : !penData;
|
||||
}
|
||||
|
||||
inline bool operator != (const wxPen& pen) const { return *(this == pen); }
|
||||
inline bool operator != (const wxPen& pen) const { return !(*this == pen); }
|
||||
|
||||
virtual bool Ok() const { return IsOk(); }
|
||||
virtual bool IsOk() const { return (m_refData != NULL) ; }
|
||||
|
@@ -33,12 +33,12 @@ public:
|
||||
bool operator == ( const wxBrushRefData& brush ) const
|
||||
{
|
||||
return m_style == brush.m_style &&
|
||||
m_stipple.IsRefTo(&data.m_stipple) &&
|
||||
m_stipple.IsRefTo(&brush.m_stipple) &&
|
||||
m_colour == brush.m_colour &&
|
||||
m_macBrushKind == brush.m_macBrushKind &&
|
||||
m_macThemeBrush == brush.m_macThemeBrush &&
|
||||
m_macThemeBackground == brush.m_macThemeBackground &&
|
||||
m_macThemeBackgroundExtent == brush.m_macThemeBackgroundExtent;
|
||||
EqualRect(&m_macThemeBackgroundExtent, &brush.m_macThemeBackgroundExtent);
|
||||
}
|
||||
|
||||
|
||||
|
@@ -1661,10 +1661,10 @@ void wxWindowMac::DoGetClientSize( int *x, int *y ) const
|
||||
|
||||
bool wxWindowMac::SetCursor(const wxCursor& cursor)
|
||||
{
|
||||
if (m_cursor == cursor)
|
||||
if (m_cursor.IsRefTo(&cursor))
|
||||
return false;
|
||||
|
||||
if (wxNullCursor == cursor)
|
||||
if (!cursor.IsOk())
|
||||
{
|
||||
if ( ! wxWindowBase::SetCursor( *wxSTANDARD_CURSOR ) )
|
||||
return false ;
|
||||
@@ -2692,7 +2692,7 @@ void wxWindowMac::OnSetFocus( wxFocusEvent& event )
|
||||
Rect rect ;
|
||||
|
||||
m_peer->GetRect( &rect ) ;
|
||||
// auf den umgebenden Rahmen zur<EFBFBD>ck
|
||||
// auf den umgebenden Rahmen zurck
|
||||
InsetRect( &rect, -1 , -1 ) ;
|
||||
|
||||
wxTopLevelWindowMac* top = MacGetTopLevelWindow();
|
||||
|
Reference in New Issue
Block a user