From: Vadim Zeitlin Date: Fri, 22 Jun 2007 19:10:04 +0000 (+0000) Subject: don't always add wxCAPTION to wxMiniFrame style unconditionally X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1c871fe2a4c1dc5bb1f5b392a4c4759779b337b7 don't always add wxCAPTION to wxMiniFrame style unconditionally git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/changes.txt b/docs/changes.txt index 21a675c0ba..f60b16039c 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -193,6 +193,7 @@ wxGTK: - Add support for clipping in GNOME print backend. - Speed up wxBitmap::Rescale() - Add right button event for wxToolbar's tools (Tim Kosse) +- Don't unconditionally add wxCAPTION style to wxMiniFrame 2.8.4 diff --git a/src/gtk/minifram.cpp b/src/gtk/minifram.cpp index 2656133b24..6353ca9a7e 100644 --- a/src/gtk/minifram.cpp +++ b/src/gtk/minifram.cpp @@ -315,8 +315,6 @@ bool wxMiniFrame::Create( wxWindow *parent, wxWindowID id, const wxString &title const wxPoint &pos, const wxSize &size, long style, const wxString &name ) { - style = style | wxCAPTION; - if ((style & wxCAPTION) || (style & wxTINY_CAPTION_HORIZ) || (style & wxTINY_CAPTION_VERT)) m_miniTitle = 16;