From: Václav Slavík Date: Fri, 27 Oct 2006 12:23:40 +0000 (+0000) Subject: wx{V,H}SCROLL code is needed on all platforms X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d743254a40bbe0b0945be062d4388f1b89b9b201 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 --- diff --git a/src/univ/winuniv.cpp b/src/univ/winuniv.cpp index 0044439b98..215d74028e 100644 --- a/src/univ/winuniv.cpp +++ b/src/univ/winuniv.cpp @@ -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