]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/window.h
Don't define __STRICT_ANSI__, we should build both with and without it.
[wxWidgets.git] / include / wx / window.h
index bdb96cdcad317906e111d3132b441ff854c0af47..199c4b7ef3d76b29220b7fd8ab05ef909609b648 100644 (file)
@@ -1221,11 +1221,7 @@ public:
     // ----------
 
         // can the window have the scrollbar in this orientation?
-    bool CanScroll(int orient) const
-    {
-        return (m_windowStyle &
-                (orient == wxHORIZONTAL ? wxHSCROLL : wxVSCROLL)) != 0;
-    }
+    virtual bool CanScroll(int orient) const;
 
         // does the window have the scrollbar in this orientation?
     bool HasScrollbar(int orient) const;