From a45354d3edadced1bebe65a8f95d7d99027edd67 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 2 Aug 2015 15:31:54 +0200 Subject: [PATCH] Correct the documentation of wxFrame ctor parent argument. It doesn't result in the frame floating over its parent, this is what wxFRAME_FLOAT_ON_PARENT style is for, it just means that the frame is minimized/restored when its parent is. (cherry picked from commit 6339837ffac48b01b5661eab4cf38ba719fadf3f) --- interface/wx/frame.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/interface/wx/frame.h b/interface/wx/frame.h index ae4a9b0ff5..51cd9bee0f 100644 --- a/interface/wx/frame.h +++ b/interface/wx/frame.h @@ -161,8 +161,10 @@ public: Constructor, creating the window. @param parent - The window parent. This may be @NULL. If it is non-@NULL, the frame will - always be displayed on top of the parent window on Windows. + The window parent. This may be, and often is, @NULL. If it is + non-@NULL, the frame will be minimized when its parent is minimized + and restored when it is restored (although it will still be + possible to minimize and restore just this frame itself). @param id The window identifier. It may take a value of -1 to indicate a default value. @param title