blind compilation fixes for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -291,3 +291,16 @@ void wxBrush::SetPS(
|
||||
M_BRUSHDATA->m_hBrush = hPS;
|
||||
RealizeResource();
|
||||
} // end of WxWinGdi_CPen::SetPS
|
||||
|
||||
|
||||
bool wxBrush::operator == (
|
||||
const wxBrush& brush
|
||||
) const
|
||||
{
|
||||
if (m_refData == brush.m_refData) return true;
|
||||
|
||||
if (!m_refData || !brush.m_refData) return false;
|
||||
|
||||
return ( *(wxBrushRefData*)m_refData == *(wxBrushRefData*)brush.m_refData );
|
||||
} // end of wxBrush::operator ==
|
||||
|
||||
|
Reference in New Issue
Block a user