don't always add wxCAPTION to wxMiniFrame style unconditionally (patch 1739821; backport from HEAD)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-06-22 19:14:00 +00:00
parent ea75081be2
commit b6f6729e23
2 changed files with 1 additions and 2 deletions

View File

@@ -117,6 +117,7 @@ wxGTK:
- Add support for clipping in GNOME print backend. - Add support for clipping in GNOME print backend.
- Speed up wxBitmap::Rescale() - Speed up wxBitmap::Rescale()
- Add right button event for wxToolbar's tools (Tim Kosse) - Add right button event for wxToolbar's tools (Tim Kosse)
- Don't unconditionally add wxCAPTION style to wxMiniFrame
2.8.4 2.8.4

View File

@@ -325,8 +325,6 @@ bool wxMiniFrame::Create( wxWindow *parent, wxWindowID id, const wxString &title
const wxPoint &pos, const wxSize &size, const wxPoint &pos, const wxSize &size,
long style, const wxString &name ) long style, const wxString &name )
{ {
style = style | wxCAPTION;
if ((style & wxCAPTION) || (style & wxTINY_CAPTION_HORIZ) || (style & wxTINY_CAPTION_VERT)) if ((style & wxCAPTION) || (style & wxTINY_CAPTION_HORIZ) || (style & wxTINY_CAPTION_VERT))
m_miniTitle = 16; m_miniTitle = 16;