From 9a1498b6eab7fc18b0ce56d995d283ea6f35428b Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Sun, 29 Oct 2006 20:15:26 +0000 Subject: [PATCH] Let wxMiniFrame have the same default flags under wxGTK as under wxMSW, notably no close box by default. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/gtk/minifram.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/gtk/minifram.h b/include/wx/gtk/minifram.h index 3f84ec2d67..a8ae584b23 100644 --- a/include/wx/gtk/minifram.h +++ b/include/wx/gtk/minifram.h @@ -39,7 +39,7 @@ public: const wxString& title, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = wxDEFAULT_FRAME_STYLE | wxTINY_CAPTION_HORIZ, + long style = wxCAPTION | wxRESIZE_BORDER, const wxString& name = wxFrameNameStr) { Create(parent, id, title, pos, size, style, name); @@ -50,7 +50,7 @@ public: const wxString& title, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = wxDEFAULT_FRAME_STYLE | wxTINY_CAPTION_HORIZ, + long style = wxCAPTION | wxRESIZE_BORDER, const wxString& name = wxFrameNameStr); virtual void SetTitle( const wxString &title ); -- 2.50.0