]> git.saurik.com Git - wxWidgets.git/commitdiff
make the preview frame float on parent by default as otherwise it is hidden when...
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 16 Jan 2009 18:49:04 +0000 (18:49 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 16 Jan 2009 18:49:04 +0000 (18:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/prntbase.h

index b1aaee1b2f0bfeccc364f0f9cff11d66d6ffe4a9..4dc54556c242474da68b1e81b74223a5763c1787 100644 (file)
@@ -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();