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
This commit is contained in:
Vadim Zeitlin 2007-06-22 19:10:04 +00:00
parent 04fd66c9f7
commit 1c871fe2a4
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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;