X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..6ba636000f13b4bf7d3e7dcfad429713085f6700:/src/generic/colrdlgg.cpp?ds=sidebyside diff --git a/src/generic/colrdlgg.cpp b/src/generic/colrdlgg.cpp index 4cc5493335..d452a8373a 100644 --- a/src/generic/colrdlgg.cpp +++ b/src/generic/colrdlgg.cpp @@ -192,7 +192,7 @@ void wxGenericColourDialog::OnMouseEvent(wxMouseEvent& event) void wxGenericColourDialog::OnPaint(wxPaintEvent& event) { -#ifndef __WXMOTIF__ +#if !defined(__WXMOTIF__) && !defined(__WXMAC__) wxDialog::OnPaint(event); #endif @@ -294,11 +294,6 @@ void wxGenericColourDialog::InitializeColours(void) for (i = 0; i < 16; i++) customColours[i] = -/* -#ifndef __VMS__ - (wxColour&) -#endif -*/ colourData.GetCustomColour(i); singleCustomColour.Set(0, 0, 0);