#13616: wxScrolled<> does not disable scrollbars when wxALWAYS_SHOW_SB is used

15 views
Skip to first unread message

wxTrac

unread,
Nov 1, 2011, 8:59:37 PM11/1/11
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/13616>

#13616: wxScrolled<> does not disable scrollbars when wxALWAYS_SHOW_SB is used
------------------------------+---------------------------------------------
Reporter: catalin | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: wxMSW | Version: 2.9-svn
Keywords: wxScrolledWindow | Blockedby:
Patch: 0 | Blocking:
------------------------------+---------------------------------------------
In `scroll` sample update line 47 to
{{{
: wxScrolled<wxWindow>(parent, wxID_ANY, wxDefaultPosition,
wxDefaultSize, wxHSCROLL|wxVSCROLL|wxALWAYS_SHOW_SB)
}}}

Start the sample, press F1, resize the simple frame.


--
Ticket URL: <http://trac.wxwidgets.org/ticket/13616>

wxTrac

unread,
Oct 4, 2012, 5:10:37 PM10/4/12
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/13616#comment:1>

#13616: wxScrolled<> does not disable scrollbars when wxALWAYS_SHOW_SB is used
------------------------------+---------------------------------------------
Reporter: catalin | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: wxMSW | Version: 2.9-svn
Keywords: wxScrolledWindow | Blockedby:
Patch: 1 | Blocking:
------------------------------+---------------------------------------------
Changes (by catalin):

* patch: 0 => 1



--
Ticket URL: <http://trac.wxwidgets.org/ticket/13616#comment:1>

wxTrac

unread,
Oct 4, 2012, 7:24:30 PM10/4/12
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/13616#comment:2>

#13616: wxScrolled<> does not disable scrollbars when wxALWAYS_SHOW_SB is used
----------------------+-----------------------------------------------------
Reporter: catalin | Owner:
Type: defect | Status: closed
Priority: normal | Milestone:
Component: wxMSW | Version: 2.9-svn
Resolution: fixed | Keywords: wxScrolledWindow
Blockedby: | Patch: 1
Blocking: |
----------------------+-----------------------------------------------------
Changes (by VZ):

* status: new => closed
* resolution: => fixed


Comment:

(In [72621]) Add support for wxALWAYS_SHOW_SB style to wxScrolled<>.

Simply call ShowScrollbars(wxSHOW_SB_ALWAYS) if this style is specified.

Closes #13616.


--
Ticket URL: <http://trac.wxwidgets.org/ticket/13616#comment:2>
Reply all
Reply to author
Forward
0 new messages