use #ifdef __WXMAC__, not #if
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1527,7 +1527,7 @@ void MyCanvas::OnMouseMove(wxMouseEvent &event)
|
|||||||
|
|
||||||
wxDCOverlay overlaydc( m_overlay, &dc );
|
wxDCOverlay overlaydc( m_overlay, &dc );
|
||||||
overlaydc.Clear();
|
overlaydc.Clear();
|
||||||
#if __WXMAC__
|
#ifdef __WXMAC__
|
||||||
dc.SetPen( *wxGREY_PEN );
|
dc.SetPen( *wxGREY_PEN );
|
||||||
dc.SetBrush( wxColour( 192,192,192,64 ) );
|
dc.SetBrush( wxColour( 192,192,192,64 ) );
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user