]> git.saurik.com Git - wxWidgets.git/commitdiff
FloodFill correction, wxQuantize correction
authorJulian Smart <julian@anthemion.co.uk>
Sat, 29 Jul 2000 17:25:36 +0000 (17:25 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sat, 29 Jul 2000 17:25:36 +0000 (17:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/dc.tex
include/wx/quantize.h

index 5a3caed12a3c1d0e25ac8e829edac6eb3a5e2457..7a5069793eb28c49cb7478dce20232b364956f87 100644 (file)
@@ -375,7 +375,7 @@ Ends a document page (only relevant when outputting to a printer).
 
 \membersection{wxDC::FloodFill}\label{wxdcfloodfill}
 
-\func{void}{FloodFill}{\param{wxCoord}{ x}, \param{wxCoord}{ y}, \param{wxColour *}{colour}, \param{int}{ style=wxFLOOD\_SURFACE}}
+\func{void}{FloodFill}{\param{wxCoord}{ x}, \param{wxCoord}{ y}, \param{const wxColour\&}{ colour}, \param{int}{ style=wxFLOOD\_SURFACE}}
 
 Flood fills the device context starting from the given point, in the given colour,
 and using a style:
index 592718e431377b126dd53262c1743d32241ed3ae..4d68a6901ee2ce1e5b11fa33fd0fcce0f1dc4bd2 100644 (file)
@@ -52,7 +52,7 @@ DECLARE_DYNAMIC_CLASS(wxQuantize)
     // This palette may be passed to ConvertImageToBitmap, for example.
     // If you pass a palette pointer, you must free the palette yourself.
 
-    static bool Quantize(const wxImage& src, wxImage& dest, wxPalette** pPalette = NULL, int desiredNoColours = 236,
+    static bool Quantize(const wxImage& src, wxImage& dest, wxPalette** pPalette, int desiredNoColours = 236,
         unsigned char** eightBitData = 0, int flags = wxQUANTIZE_INCLUDE_WINDOWS_COLOURS|wxQUANTIZE_FILL_DESTINATION_IMAGE|wxQUANTIZE_RETURN_8BIT_DATA);
 
     // This version sets a palette in the destination image so you don't