Corrected wxScrollBar style

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-05-17 09:30:00 +00:00
parent 8868ab3313
commit 7051e6c79c

View File

@@ -53,6 +53,9 @@ bool wxScrollBar::Create(wxWindow *parent, wxWindowID id,
SetValidator(validator);
#endif // wxUSE_VALIDATORS
if ((style & wxBORDER_MASK) == wxBORDER_DEFAULT)
style |= wxNO_BORDER;
SetBackgroundColour(parent->GetBackgroundColour()) ;
SetForegroundColour(parent->GetForegroundColour()) ;
m_windowStyle = style;