Reports suggest that _sometimes_ WS_VSCROLL/WS_HSCROLL

are needed. So map wxVSCROLL/wxHSCROLL to these.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-06-07 13:22:34 +00:00
parent c60a36d5dd
commit f9007c324c

View File

@@ -1028,6 +1028,12 @@ WXDWORD wxWindowMSW::MSWGetStyle(long flags, WXDWORD *exstyle) const
if ( flags & wxCLIP_SIBLINGS )
style |= WS_CLIPSIBLINGS;
if ( flags & wxVSCROLL )
style |= WS_VSCROLL;
if ( flags & wxHSCROLL )
style |= WS_HSCROLL;
wxBorder border = (wxBorder)(flags & wxBORDER_MASK);
// Check if we want to automatically give it a sunken style.