Warning fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-03-15 07:49:43 +00:00
parent 9d655692b9
commit e95c145cc8
4 changed files with 13 additions and 10 deletions

View File

@@ -515,7 +515,7 @@ void MyCanvas::DrawDefault(wxDC& dc)
// mark the origin
dc.DrawCircle(0, 0, 10);
#if !wxMAC_USE_CORE_GRAPHICS
#if !defined(wxMAC_USE_CORE_GRAPHICS) || !wxMAC_USE_CORE_GRAPHICS
// GetPixel and FloodFill not supported by Mac OS X CoreGraphics
// (FloodFill uses Blit from a non-wxMemoryDC)
//flood fill using brush, starting at 1,1 and replacing whatever colour we find there
@@ -1143,6 +1143,9 @@ void MyCanvas::OnPaint(wxPaintEvent &WXUNUSED(event))
case Show_Gradient:
DrawGradients(dc);
break;
default:
break;
}
}