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.
This commit is contained in:
@@ -102,7 +102,10 @@ public:
|
|||||||
wxArrayVideoModes GetModes(const wxVideoMode& mode = wxDefaultVideoMode) const;
|
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;
|
wxString GetName() const;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user