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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user