From 85d03040fc18f7e403720c77ce758e1f12e14292 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sat, 29 Jul 2000 17:25:36 +0000 Subject: [PATCH] FloodFill correction, wxQuantize correction git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/dc.tex | 2 +- include/wx/quantize.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/latex/wx/dc.tex b/docs/latex/wx/dc.tex index 5a3caed12a..7a5069793e 100644 --- a/docs/latex/wx/dc.tex +++ b/docs/latex/wx/dc.tex @@ -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: diff --git a/include/wx/quantize.h b/include/wx/quantize.h index 592718e431..4d68a6901e 100644 --- a/include/wx/quantize.h +++ b/include/wx/quantize.h @@ -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 -- 2.45.2