Replace wxTINY_CAPTION_{HORIZ,VERT} with a single wxTINY_CAPTION.

These two styles were always equivalent so we can just as well replace them
with a single one and stop wasting an extra bit.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2010-05-10 21:09:57 +00:00
parent f16fad90b2
commit 7282b0678a
12 changed files with 25 additions and 28 deletions

View File

@@ -1229,7 +1229,7 @@ void wxNonOwnedWindowCarbonImpl::Create(
if (
( style & wxMINIMIZE_BOX ) || ( style & wxMAXIMIZE_BOX ) ||
( style & wxSYSTEM_MENU ) || ( style & wxCAPTION ) ||
( style &wxTINY_CAPTION_HORIZ) || ( style &wxTINY_CAPTION_VERT)
( style & wxTINY_CAPTION)
)
{
if ( ( style & wxSTAY_ON_TOP ) )
@@ -1237,7 +1237,7 @@ void wxNonOwnedWindowCarbonImpl::Create(
else
wclass = kFloatingWindowClass ;
if ( ( style &wxTINY_CAPTION_VERT) )
if ( ( style & wxTINY_CAPTION) )
attr |= kWindowSideTitlebarAttribute ;
}
else