From: Michael Bedward Date: Tue, 31 Aug 1999 03:45:39 +0000 (+0000) Subject: ifdef'd out call to dc.FloodFill() for WXMOTIF (not implemented). X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/70bdacfc8edfbd1b713d0438a6385a7e1520b28d?hp=72aa4a9873de529f9ab6b9165f3b6dadc564c29f ifdef'd out call to dc.FloodFill() for WXMOTIF (not implemented). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/drawing/drawing.cpp b/samples/drawing/drawing.cpp index 8ad6661781..1d6f9e8718 100644 --- a/samples/drawing/drawing.cpp +++ b/samples/drawing/drawing.cpp @@ -270,9 +270,10 @@ void MyCanvas::OnPaint(wxPaintEvent &WXUNUSED(event)) // mark the origin dc.DrawCircle(0, 0, 10); -#ifndef __WXGTK__ // not implemented in wxGTK :-( +#if !(defined __WXGTK__) && !(defined __WXMOTIF__) + // not implemented in wxGTK or wxMOTIF :-( dc.FloodFill(0, 0, wxColour(255, 0, 0)); -#endif // __WXGTK__ +#endif // dc.DrawText( "This is text", 110, 10 );