From ca44dbde5f44e358fba98c24adf792a97f7db19c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 16 Jan 2009 18:49:04 +0000 Subject: [PATCH] make the preview frame float on parent by default as otherwise it is hidden when the parent is a modal dialog, at least under wxGTK (#10341) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/prntbase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/prntbase.h b/include/wx/prntbase.h index b1aaee1b2f..4dc54556c2 100644 --- a/include/wx/prntbase.h +++ b/include/wx/prntbase.h @@ -376,7 +376,7 @@ public: const wxString& title = wxT("Print Preview"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = wxDEFAULT_FRAME_STYLE, + long style = wxDEFAULT_FRAME_STYLE | wxFRAME_FLOAT_ON_PARENT, const wxString& name = wxFrameNameStr); virtual ~wxPreviewFrame(); -- 2.47.2