From de840d1813c30b4c31f5ac5ea6ef619185c4c328 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 4 Oct 2018 16:38:10 +0200 Subject: [PATCH] Document that wxDisplay::GetName() is only non-empty under MSW "Not available on all platforms" was an understatement: the string returned by this function is only non-empty under MSW. --- interface/wx/display.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/interface/wx/display.h b/interface/wx/display.h index 1566d21df6..7e82ef1af1 100644 --- a/interface/wx/display.h +++ b/interface/wx/display.h @@ -102,7 +102,10 @@ public: wxArrayVideoModes GetModes(const wxVideoMode& mode = wxDefaultVideoMode) const; /** - Returns the display's name. A name is not available on all platforms. + Returns the display's name. + + The returned value is currently an empty string under all platforms + except MSW. */ wxString GetName() const;