From 71c4a2b761885c2d5515e89fd5aedf7d1e8a249b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 12 May 2016 09:38:28 +0100 Subject: mpDefDialogParent is not used since 2002 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit i.e. commit c0ae87cb5f2989bc4b8dff4907994d513ee87e39 Author: Stephan Schäfer Date: Tue Oct 22 08:39:05 2002 +0000 #103442# choose DefDialogParent on-the-fly and so calling SetDefDialogParent doesn't achieve anything Change-Id: I2ec72da47b2dac03fdddbdb9eba5ae4bf205eb22 --- include/vcl/svapp.hxx | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) (limited to 'include') diff --git a/include/vcl/svapp.hxx b/include/vcl/svapp.hxx index c946b353440b..639433b01fb2 100644 --- a/include/vcl/svapp.hxx +++ b/include/vcl/svapp.hxx @@ -1165,24 +1165,14 @@ public: */ ///@{ - /** Set the default parent window for dialog boxes. - - @param pWindow Pointer to window that should be the default parent. - - @remark You can set pWindow to NULL, which means there \em is no default parent. - - @see GetDefDialogParent - */ - static void SetDefDialogParent( vcl::Window* pWindow ); - /** Get the default parent window for dialog boxes. @remark GetDefDialogParent does all sorts of things find a useful parent - window for dialogs. If it can't find one (it wasn't set!) then it - first uses the topmost parent of the active window to avoid using - floating windows or other dialog boxes. If there are no active - windows, then it will take a random stab and choose the first visible - top window. Otherwise, it defaults to the desktop. + window for dialogs. It first uses the topmost parent of the active + window to avoid using floating windows or other dialog boxes. If + there are no active windows, then it will take a random stab and + choose the first visible top window. Otherwise, it defaults to + the desktop. @returns Pointer to the default window. */ -- cgit