X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1ab440bc203fc700744039abdcff12bdd6ac6f0a..5b8ee5dec95988e3931c5394fbeb607e48fb2931:/src/os2/slider.cpp diff --git a/src/os2/slider.cpp b/src/os2/slider.cpp index ae0c5c1520..eec25e5f92 100644 --- a/src/os2/slider.cpp +++ b/src/os2/slider.cpp @@ -406,11 +406,9 @@ bool wxSlider::Create( ) ) + 4; // for bordersizes - wxColour vColour; + wxColour vColour(*wxBLACK); - vColour.Set(wxString(wxT("BLACK"))); - - LONG lColor = (LONG)vColour.GetPixel(); + LONG lColor = (LONG)vColour.GetPixel(); ::WinSetPresParam( m_hStaticMin ,PP_FOREGROUNDCOLOR