From 65fdda7a3529734c21881d7628dfe4b5d982ac0d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 28 May 2019 00:38:17 +0200 Subject: [PATCH] Document that wxDC::GetPixel() doesn't work under Mac See #4473. Closes https://github.com/wxWidgets/wxWidgets/pull/1333 --- interface/wx/dc.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/interface/wx/dc.h b/interface/wx/dc.h index ad83b31059..f577403ed0 100644 --- a/interface/wx/dc.h +++ b/interface/wx/dc.h @@ -1400,8 +1400,10 @@ public: wxMappingMode GetMapMode() const; /** - Gets in @a colour the colour at the specified location. Not available - for wxPostScriptDC or wxMetafileDC. + Gets in @a colour the colour at the specified location. + + This method isn't available for wxPostScriptDC or wxMetafileDC nor for + any DC in wxOSX port and simply returns @false there. @note Setting a pixel can be done using DrawPoint().