Fix button sizing.

Hack appears to be no longer needed, and is causing
the side and bottom to clip (at least on MacOS).
This commit is contained in:
Jeff Young
2025-04-17 14:37:16 +01:00
parent c5093a5df0
commit 0820e90c73
2 changed files with 0 additions and 6 deletions
-3
View File
@@ -243,9 +243,6 @@ void SPLIT_BUTTON::OnPaint( wxPaintEvent& WXUNUSED( aEvent ) )
wxColor fg = wxSystemSettings::GetColour( wxSYS_COLOUR_BTNTEXT );
wxColor bg = wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE );
aRect.width += 1;
aRect.height += 1;
if( KIPLATFORM::UI::IsDarkTheme() )
{
bg = bg.ChangeLightness( m_bIsEnable ? 130 : 120 );