]> git.saurik.com Git - wxWidgets.git/commitdiff
More native look for wxSpinButton.
authorMattia Barbon <mbarbon@cpan.org>
Sun, 30 Mar 2003 19:23:10 +0000 (19:23 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Sun, 30 Mar 2003 19:23:10 +0000 (19:23 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/motif/spinbutt.cpp

index 99bebdfee045e4f0e8cdef44080589d51550a867..2ad0e3b7745c159b5a6a778d4d71695c822ebbc7 100644 (file)
@@ -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;
 }