X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/409c9842c71df526bcfbf1cf5ce80067b09d4d97..41ee29dfda753c5786bfdbb68cd44a30e5709db4:/src/os2/scrolbar.cpp diff --git a/src/os2/scrolbar.cpp b/src/os2/scrolbar.cpp index 8c70f74b60..00225e72ed 100644 --- a/src/os2/scrolbar.cpp +++ b/src/os2/scrolbar.cpp @@ -43,7 +43,7 @@ bool wxScrollBar::Create(wxWindow *parent, wxWindowID id, parent->AddChild(this); SetName(name); SetValidator(validator); - + SetBackgroundColour(parent->GetBackgroundColour()) ; SetForegroundColour(parent->GetForegroundColour()) ; m_windowStyle = style; @@ -83,6 +83,8 @@ bool wxScrollBar::Create(wxWindow *parent, wxWindowID id, m_hWnd = 0; // TODO: (WXHWND)scroll_bar; + HWND scroll_bar = 0; // temporary + // Subclass again for purposes of dialog editing mode SubclassWin((WXHWND) scroll_bar);