diff --git a/src/dialog_colorpicker.cpp b/src/dialog_colorpicker.cpp index a98d8d7e4..3430c48bd 100644 --- a/src/dialog_colorpicker.cpp +++ b/src/dialog_colorpicker.cpp @@ -381,6 +381,10 @@ class ColorPickerScreenDropper final : public wxControl { void DropFromScreenXY(int x, int y); }; +#ifndef MAC_OS_VERSION_15_0 +#define MAC_OS_VERSION_15_0 150000 +#endif + void ColorPickerScreenDropper::DropFromScreenXY(int x, int y) { wxMemoryDC capdc(capture); capdc.SetPen(*wxTRANSPARENT_PEN);