From 79fb264130d6b8091f2d53dbfdcf64e281444ac7 Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Sun, 30 Mar 2003 19:23:10 +0000 Subject: [PATCH] More native look for wxSpinButton. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/motif/spinbutt.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/motif/spinbutt.cpp b/src/motif/spinbutt.cpp index 99bebdfee0..2ad0e3b774 100644 --- a/src/motif/spinbutt.cpp +++ b/src/motif/spinbutt.cpp @@ -225,6 +225,8 @@ bool wxArrowButton::Create( wxSpinButton* parent, wxWindowID id, AttachWidget( parent, m_mainWidget, (WXWidget) NULL, pos.x, pos.y, size.x, size.y ); + SetForegroundColour( parent->GetBackgroundColour() ); + return TRUE; } -- 2.45.2