From 010fa697caf3558f087220dcca3531d13e22b987 Mon Sep 17 00:00:00 2001 From: "Philipp Lohmann [pl]" Date: Mon, 2 Aug 2010 18:15:47 +0200 Subject: vcl114: #i113593# flat buttons need transparency handling also in non NWF case --- vcl/source/control/button.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/source/control') diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx index bacd875fb473..ce1119481e87 100644 --- a/vcl/source/control/button.cxx +++ b/vcl/source/control/button.cxx @@ -896,7 +896,7 @@ void PushButton::ImplInitSettings( BOOL bFont, // #i38498#: do not check for GetParent()->IsChildTransparentModeEnabled() // otherwise the formcontrol button will be overdrawn due to PARENTCLIPMODE_NOCLIP // for radio and checkbox this is ok as they shoud appear transparent in documents - if ( IsNativeControlSupported( CTRL_PUSHBUTTON, PART_ENTIRE_CONTROL ) ) + if ( IsNativeControlSupported( CTRL_PUSHBUTTON, PART_ENTIRE_CONTROL ) || WB_FLATBUTTON ) { EnableChildTransparentMode( TRUE ); SetParentClipMode( PARENTCLIPMODE_NOCLIP ); -- cgit