]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/drawing/drawing.cpp
ifdef'd out call to dc.FloodFill() for WXMOTIF (not implemented).
[wxWidgets.git] / samples / drawing / drawing.cpp
index 8ad6661781cc0bc72dad6eeb9e2e238b97afca25..1d6f9e87188f5732633fc1080061653ab96a7bde 100644 (file)
@@ -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 );