Opened 6 years ago

Closed 5 years ago

#13616 closed defect (fixed)

wxScrolled<> does not disable scrollbars when wxALWAYS_SHOW_SB is used

Reported by: catalin Owned by:
Priority: normal Milestone:
Component: wxMSW Version: stable-latest
Keywords: wxScrolledWindow Cc:
Blocked By: Blocking:
Patch: yes


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.

Attachments (1)

scrolwin.h.patch download (487 bytes) - added by catalin 5 years ago.

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by catalin

comment:1 Changed 5 years ago by catalin

  • Patch set

comment:2 Changed 5 years ago by VZ

  • Resolution set to fixed
  • Status changed from new to closed

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

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

Closes #13616.

Note: See TracTickets for help on using tickets.