X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1ab440bc203fc700744039abdcff12bdd6ac6f0a..cf283a470ab3eb4bc69959e3b5ae0edf30337fa5:/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