wx{V,H}SCROLL code is needed on all platforms

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2006-10-27 12:23:40 +00:00
parent 54e90b2a32
commit d743254a40

View File

@@ -128,11 +128,10 @@ bool wxWindow::Create(wxWindow *parent,
// as under the other platforms
actualStyle |= wxCLIP_CHILDREN;
#ifdef __WXMSW__
// FIXME: may need this on other platforms
actualStyle &= ~wxVSCROLL;
actualStyle &= ~wxHSCROLL;
#ifdef __WXMSW__
// without this, borders (non-client areas in general) are not repainted
// correctly when resizing; apparently, native NC areas are fully repainted
// even without this style by MSW, but wxUniv implements client area