From: Robert Roebling Date: Sun, 29 Oct 2006 20:15:26 +0000 (+0000) Subject: Let wxMiniFrame have the same default flags under wxGTK X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9a1498b6eab7fc18b0ce56d995d283ea6f35428b?ds=sidebyside 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 --- 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 );