From 417d242e779fa71ad67ff7ceef98042fb7bd20a9 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 2 Aug 2015 19:51:57 +0200 Subject: [PATCH] Provide correct documentation for wxWindow::SetPosition(). Just refer to Move(), this is trivial but necessary as otherwise Doxygen "helpfully" reuses the first comment in the section for the otherwise undocumented SetPosition() which didn't make any sense at all. (cherry picked from commit 949d2eeaa5c9c17805fedde8c07809cae981af3e) --- interface/wx/window.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/interface/wx/window.h b/interface/wx/window.h index 89eb22212f..cfbdcd400c 100644 --- a/interface/wx/window.h +++ b/interface/wx/window.h @@ -1568,6 +1568,11 @@ public: */ void Move(const wxPoint& pt, int flags = wxSIZE_USE_EXISTING); + /** + Moves the window to the specified position. + + This is exactly the same as calling Move() with the default arguments. + */ void SetPosition(const wxPoint& pt); //@}