fixing the HITextView single line scrolling under 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
d03e4efda6
commit
5c4eb44cbf
@ -3032,7 +3032,7 @@ wxMacMLTEHIViewControl::wxMacMLTEHIViewControl( wxTextCtrl *wxPeer,
|
||||
|
||||
m_scrollView = NULL ;
|
||||
TXNFrameOptions frameOptions = FrameOptionsFromWXStyle( style ) ;
|
||||
if (( frameOptions & (kTXNWantVScrollBarMask | kTXNWantHScrollBarMask)) || !(frameOptions &kTXNSingleLineOnlyMask))
|
||||
if (( frameOptions & (kTXNWantVScrollBarMask | kTXNWantHScrollBarMask)) || (frameOptions &kTXNSingleLineOnlyMask))
|
||||
{
|
||||
if ( frameOptions & (kTXNWantVScrollBarMask | kTXNWantHScrollBarMask) )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user