From facb06a1b8788a08617b41f44f637e8c942239e5 Mon Sep 17 00:00:00 2001 From: Pavel Kalugin Date: Sat, 8 Dec 2018 20:41:00 +0300 Subject: [PATCH] Fix wxSize member names in the documentation wxSize members x and y were incorrectly mentioned as width and height in the docs. Closes https://github.com/vadz/wxWidgets/pull/6 --- interface/wx/gdicmn.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/wx/gdicmn.h b/interface/wx/gdicmn.h index 0e8ffd53c8..a31a702ffe 100644 --- a/interface/wx/gdicmn.h +++ b/interface/wx/gdicmn.h @@ -902,7 +902,7 @@ wxColourDatabase* wxTheColourDatabase; @class wxSize A wxSize is a useful data structure for graphics operations. - It simply contains integer @e width and @e height members. + It simply contains integer @e x and @e y members. Note that the width and height stored inside a wxSize object may be negative and that wxSize functions do not perform any check against negative values