corrected appeaance of boxes und OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -292,7 +292,7 @@ void wxControl::MacPostControlCreate()
|
|||||||
{
|
{
|
||||||
// no font
|
// no font
|
||||||
}
|
}
|
||||||
else if ( IsKindOf( CLASSINFO( wxStaticBox ) ) || IsKindOf( CLASSINFO( wxRadioBox ) ) || IsKindOf( CLASSINFO( wxButton ) ) )
|
else if ( !UMAHasAquaLayout() && (IsKindOf( CLASSINFO( wxStaticBox ) ) || IsKindOf( CLASSINFO( wxRadioBox ) ) || IsKindOf( CLASSINFO( wxButton ) ) ) )
|
||||||
{
|
{
|
||||||
ControlFontStyleRec controlstyle ;
|
ControlFontStyleRec controlstyle ;
|
||||||
controlstyle.flags = kControlUseFontMask ;
|
controlstyle.flags = kControlUseFontMask ;
|
||||||
|
@@ -292,7 +292,7 @@ void wxControl::MacPostControlCreate()
|
|||||||
{
|
{
|
||||||
// no font
|
// no font
|
||||||
}
|
}
|
||||||
else if ( IsKindOf( CLASSINFO( wxStaticBox ) ) || IsKindOf( CLASSINFO( wxRadioBox ) ) || IsKindOf( CLASSINFO( wxButton ) ) )
|
else if ( !UMAHasAquaLayout() && (IsKindOf( CLASSINFO( wxStaticBox ) ) || IsKindOf( CLASSINFO( wxRadioBox ) ) || IsKindOf( CLASSINFO( wxButton ) ) ) )
|
||||||
{
|
{
|
||||||
ControlFontStyleRec controlstyle ;
|
ControlFontStyleRec controlstyle ;
|
||||||
controlstyle.flags = kControlUseFontMask ;
|
controlstyle.flags = kControlUseFontMask ;
|
||||||
|
Reference in New Issue
Block a user