]> git.saurik.com Git - wxWidgets.git/commitdiff
wx{V,H}SCROLL code is needed on all platforms
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 27 Oct 2006 12:23:40 +0000 (12:23 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 27 Oct 2006 12:23:40 +0000 (12:23 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/univ/winuniv.cpp

index 0044439b981f4d635894dda217a5856d1c4cb5ae..215d74028e69df8abce1db4f5b752813640b4179 100644 (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