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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user