wxWidgets/include/wx
Vadim Zeitlin 02a92e23f3 Reuse wxBookCtrlBase::DoSetSelection() in wxTreebook too
Avoid duplicating base class DoSetSelection() implementation in
wxTreebook, just extend it slightly by using DoGetNonNullPage() to allow
using a (sub-)page if the page associated to the selected item is null
and reuse it.

Also get rid of wxTreebook::m_actualSelection, it seems completely
unnecessary to bother keeping and updating it when we can just find it
whenever we need (which actually seems to only have been the case in the
now removed DoSetSelection() implementation anyhow).

As a side effect of this, wxTreebook pages should now be sizer correctly
when switching to them as DoSetSelection() in the base class does call
SetSize() on the page before showing it, unlike the previously used
version in wxTreebook, which omitted this call for some reason.

There should be no other user-visible changes.

Closes #4379.
2018-03-31 01:45:06 +02:00
..
android Enable wxUSE_GRAPHICS_CONTEXT for MinGW >= 4.8 2017-12-08 19:42:21 +01:00
aui Make wxAuiManager::SavePaneInfo() parameter const 2017-11-05 23:45:21 +01:00
dfb Introduce wxPenInfo class 2017-09-10 01:02:06 +02:00
generic Add wxDataViewCtrlBase::SetAlternateRowColour() 2018-02-04 15:27:02 +01:00
gtk Build fix for GTK+ < 2.18 2018-03-12 10:06:23 -07:00
gtk1 Introduce wxPenInfo class 2017-09-10 01:02:06 +02:00
html Use semicolons as statement separators in wxHTML code 2018-01-06 17:37:20 +01:00
meta
motif Enable wxUSE_GRAPHICS_CONTEXT for MinGW >= 4.8 2017-12-08 19:42:21 +01:00
msw Add default value for MakeConfigFileName() 2nd argument 2018-03-17 17:17:05 +01:00
osx Add default value for MakeConfigFileName() 2nd argument 2018-03-17 17:17:05 +01:00
persist Minor clean up of wxPersistentDataViewCtrl 2017-12-15 15:26:32 +01:00
private Fix wxWebView::RunScript() with string containing backslashes 2018-02-22 13:44:00 +01:00
propgrid More use of wxOVERRIDE 2018-03-06 23:31:01 +01:00
protocol
qt Make wxQt build again, with less compiler warnings 2017-11-06 02:06:02 +01:00
ribbon Fix ribbon page layout wrong when scroll button is shown or hidden due to a scroll operation 2017-12-03 10:04:23 -08:00
richtext
stc Add Direct2D support to wxSTC 2018-01-25 16:07:54 -06:00
univ Enable wxUSE_GRAPHICS_CONTEXT for MinGW >= 4.8 2017-12-08 19:42:21 +01:00
unix Add default value for MakeConfigFileName() 2nd argument 2018-03-17 17:17:05 +01:00
x11 Avoid ifdef-ed override specification 2017-11-12 09:33:37 -08:00
xml wx/xml: Implement line-ending modes for xml saves 2017-05-30 14:31:59 +02:00
xrc Reuse the same XRC function for all translations 2018-01-11 01:19:16 +01:00
aboutdlg.h
accel.h
access.h
activityindicator.h
addremovectrl.h
affinematrix2d.h
affinematrix2dbase.h
afterstd.h
anidecod.h
animate.h
animdecod.h
any.h
anybutton.h
anystr.h
app.h Delete windows before application on session end in wxMSW 2017-08-15 00:41:16 +02:00
appprogress.h
apptrait.h
archive.h
arrimpl.cpp
arrstr.h
artprov.h
atomic.h
bannerwindow.h
base64.h
beforestd.h
bitmap.h
bmpbuttn.h
bmpcbox.h
bookctrl.h Reuse wxBookCtrlBase::DoSetSelection() in wxTreebook too 2018-03-31 01:45:06 +02:00
brush.h
buffer.h Make wx/buffer.h header self-contained 2017-10-28 15:07:35 +02:00
build.h Use the same ABI version string for MSVS 2017 as for MSVS 2015 2017-12-16 15:57:02 +01:00
busyinfo.h
button.h
calctrl.h Automatically determine the first weekday for a calendar control 2017-09-02 17:02:35 +03:00
caret.h
catch_cppunit.h Improve output of test failures for unprintable characters 2017-12-06 03:23:26 +01:00
chartype.h Extract common type definitions from wx/defs.h to wx/types.h 2018-01-07 22:43:24 +01:00
checkbox.h
checkeddelete.h
checklst.h
chkconf.h Add wxUSE_PRIVATE_FONTS and drop wxHAS_PRIVATE_FONTS 2017-11-24 22:56:17 +01:00
choicdlg.h
choice.h
choicebk.h Update wxBookCtrlBase::m_selection outside UpdateSelectedPage() 2018-03-31 01:45:05 +02:00
clipbrd.h
clntdata.h
clrpicker.h
cmdargs.h
cmdline.h
cmdproc.h
cmndata.h
collheaderctrl.h
collpane.h
colordlg.h
colour.h improve cursor and color implementation in wxqt 2017-11-06 02:04:23 +01:00
colourdata.h
combo.h
combobox.h
commandlinkbutton.h
compiler.h
compositewin.h Send wxEVT_SET_FOCUS for composite window when a child gets focus 2018-01-29 18:45:39 +01:00
confbase.h
config.h
containr.h
control.h
convauto.h
cpp.h Use HTTPS with Trac links. 2017-07-04 13:15:14 -06:00
crt.h
cshelp.h
ctrlsub.h
cursor.h
custombgwin.h
dataobj.h Fix wxURLDataObject comment and documentation for wxGTK 2017-12-08 13:14:19 +01:00
dataview.h Rename wxDataViewEvent::SetEditCanceled() and remove its argument 2018-02-04 22:36:14 +01:00
datectrl.h
dateevt.h
datetime.h Explicitly disambiguate local time zone from UTC 2017-11-29 23:02:22 +01:00
datetimectrl.h
datstrm.h
dc.h Fix wrongly restoring clipping region in wxDCClipper 2018-01-29 15:36:21 +01:00
dcbuffer.h
dcclient.h
dcgraph.h
dcmemory.h
dcmirror.h
dcprint.h
dcps.h
dcscreen.h
dcsvg.h Add header file with missing wxScopedPtr declaration 2017-07-31 23:50:06 +02:00
dde.h
debug.h
debugrpt.h
defs.h Merge branch 'cxx11-abi-fix' 2018-01-25 13:50:21 +01:00
dialog.h
dialup.h
dir.h Declare wxInvalidSize also in wx/dir.h 2017-11-21 13:49:21 +01:00
dirctrl.h
dirdlg.h
display_impl.h
display.h
dlimpexp.h
dlist.h
dnd.h
docmdi.h
docview.h Remove unneeded override of Destroy() after d456d2d6 2017-08-23 23:27:25 -07:00
dragimag.h
dvrenderers.h Send wxEVT_DATAVIEW_ITEM_EDITING_DONE for all renderers in wxGTK 2018-02-05 01:05:16 +01:00
dynarray.h
dynlib.h
dynload.h
editlbox.h
effects.h
encconv.h
encinfo.h
event.h More use of wxOVERRIDE 2018-03-06 23:31:01 +01:00
eventfilter.h
evtloop.h Don't make wxEventLoop::WakeUpIdle() virtual 2018-01-13 17:40:53 +01:00
evtloopsrc.h
except.h
fdrepdlg.h
features.h
ffile.h
file.h
fileconf.h
filectrl.h Use wx prefix for global names 2017-10-01 10:03:48 -07:00
filedlg.h
filefn.h Remove obsolete wxCHECK_W32API_VERSION() checks 2017-09-04 22:38:23 +02:00
filehistory.h
filename.h
filepicker.h
filesys.h
flags.h
fmappriv.h
font.h Avoid use of uninitialized point size in wxFontInfo 2018-01-29 09:49:51 -08:00
fontdata.h
fontdlg.h
fontenc.h
fontenum.h Add wxFontEnumerator::InvalidateCache() 2017-11-13 22:29:29 +01:00
fontmap.h
fontpicker.h Add wxFontPickerCtrl::SetMinPointSize() 2017-10-21 22:10:35 +02:00
fontutil.h
frame.h
fs_arc.h
fs_filter.h
fs_inet.h
fs_mem.h
fs_zip.h
fswatcher.h
gauge.h
gbsizer.h
gdicmn.h Round, rather than truncate, in wxSize and wxPoint operations 2018-03-06 16:08:01 +01:00
gdiobj.h
geometry.h switching from comma to semicolon, possible error warning 2017-06-15 17:48:23 +02:00
gifdecod.h
glcanvas.h
graphics.h Fix wxPenInfo ctor compilation with gcc 4.4.7 on CentOS 6 2017-11-05 16:42:20 +01:00
grid.h
hash.h
hashmap.h
hashset.h
headercol.h
headerctrl.h Add wxHD_BITMAP_ON_RIGHT style to wxHeaderCtrl 2018-02-04 00:14:28 +01:00
help.h
helpbase.h
helphtml.h
helpwin.h
htmllbox.h
hyperlink.h
icon.h
iconbndl.h Update comment and change log after MSW wxIconBundle improvements 2017-05-20 17:01:59 +02:00
iconloc.h
imagbmp.h
image.h
imaggif.h Add wxIMAGE_OPTION_GIF_TRANSPARENCY for GIF image loading 2018-02-16 16:28:33 +01:00
imagiff.h
imagjpeg.h
imaglist.h
imagpcx.h
imagpng.h
imagpnm.h
imagtga.h
imagtiff.h
imagxpm.h
infobar.h
init.h
intl.h Refactor wxLocale initialization code 2017-07-16 15:03:22 +02:00
iosfwrap.h
ioswrap.h
ipc.h
ipcbase.h
itemattr.h
itemid.h
joystick.h
kbdstate.h
language.h
layout.h
laywin.h
link.h
list.h Also remove wxList::const_iterator::const_reference typedef 2018-02-23 16:03:36 +01:00
listbase.h Remove outdated comment about wxListCtrl checkboxes support 2017-06-20 15:25:28 +02:00
listbook.h
listbox.h Improve wxListBox::GetCountPerPage() in wxGTK and wxOSX 2017-10-21 22:10:35 +02:00
listctrl.h
listimpl.cpp
log.h Don't call time() from wxLogRecordInfo ctor 2017-11-29 02:22:16 +01:00
longlong.h
math.h
matrix.h
mdi.h
mediactrl.h
memconf.h
memory.h
memtext.h
menu.h
menuitem.h Fix compilation with wxUSE_ACCEL==0 2017-10-08 10:38:54 +02:00
metafile.h Build wxMetafileDataObject when wxUSE_DATAOBJ==1 2017-05-02 23:30:30 +02:00
mimetype.h
minifram.h
modalhook.h
module.h
mousemanager.h
mousestate.h Use const reference for wxPoint parameter 2017-05-28 23:56:46 -07:00
msgdlg.h
msgout.h Refactor wxLog and wxMessageOutput classes to avoid duplication 2017-11-04 16:19:06 +01:00
msgqueue.h
mstream.h
nativewin.h
nonownedwnd.h support masked or partially transparent windows in wxqt 2017-11-06 02:05:40 +01:00
notebook.h Allow tabbing to the windows inside non-notebook wxBookCtrl 2018-01-18 22:59:45 +01:00
notifmsg.h
numdlg.h
numformatter.h
object.h
odcombo.h
overlay.h Adding native macos Cocoa implementation for overlays into build files 2017-09-09 23:34:50 +02:00
ownerdrw.h
palette.h
panel.h
paper.h
pen.h Fix wxPenInfo ctor compilation with gcc 4.4.7 on CentOS 6 2017-11-05 16:42:20 +01:00
peninfobase.h Use ctor-initializer for non-trivial members 2017-09-12 09:51:53 -07:00
persist.h
pickerbase.h
platform.h Remove redundant __WINDOWS__ check and definition 2017-08-24 13:42:48 +02:00
platinfo.h
popupwin.h
position.h
power.h
preferences.h
print.h
printdlg.h
prntbase.h
process.h
progdlg.h
propdlg.h
ptr_scpd.h
ptr_shrd.h
quantize.h
radiobox.h
radiobut.h
range.h
rawbmp.h
rearrangectrl.h
recguard.h
regex.h
region.h
renderer.h Allow using wxRendererNative::DrawGauge() for vertical gauges too 2018-02-03 18:46:17 +01:00
richmsgdlg.h Add footer text and icon to wxRichMessageDialog 2018-01-20 16:53:13 +01:00
richtooltip.h
rtti.h
sashwin.h
sckaddr.h More use of wxOVERRIDE 2018-03-06 23:31:01 +01:00
sckipc.h
sckstrm.h
scopedarray.h
scopedptr.h
scopeguard.h
scrolbar.h
scrolwin.h Remove wxALWAYS_SHOW_SB-related code from wxScrolled 2018-01-14 18:27:10 +01:00
secretstore.h Change wxSecretStore API to allow retrieving the username 2017-07-17 18:26:20 +02:00
selstore.h
settings.h
setup_inc.h Enable wxUSE_GRAPHICS_CONTEXT for MinGW >= 4.8 2017-12-08 19:42:21 +01:00
setup_redirect.h
sharedptr.h
simplebook.h Update wxBookCtrlBase::m_selection outside UpdateSelectedPage() 2018-03-31 01:45:05 +02:00
sizer.h
slider.h
snglinst.h
socket.h Factor out socket flag selection into GetBlockingFlagIfNeeded() 2017-08-15 19:34:54 +02:00
sound.h
spinbutt.h
spinctrl.h
splash.h
splitter.h
srchctrl.h Use simple wxEVT_SEARCH[_CANCEL] names for wxSearchCtrl events 2018-01-30 02:03:48 +01:00
sstream.h Make wxStringOutputStream ctor explicit 2017-11-03 00:36:48 +01:00
stack.h
stackwalk.h
statbmp.h
statbox.h Don't pretend static box with enabled label is disabled 2018-01-18 23:28:16 +01:00
statline.h
stattext.h
statusbr.h
stdpaths.h Add default value for MakeConfigFileName() 2nd argument 2018-03-17 17:17:05 +01:00
stdstream.h
stockitem.h
stopwatch.h
strconv.h Fix wxMBConv::cWC2MB() and cMB2WC() returned buffer length 2017-11-03 23:26:39 +01:00
stream.h
string.h Add wxString ctor from wxScopedCharBuffer and wxMBConv 2017-12-06 03:41:25 +01:00
stringimpl.h
stringops.h Fix initialization of SingleCharBuffer and Utf16CharBuffer data 2017-06-22 15:55:24 +02:00
strvararg.h
sysopt.h
systhemectrl.h
tarstrm.h
taskbar.h
taskbarbutton.h Fix 'destionation' typos 2017-06-21 22:51:57 +04:00
tbarbase.h Add non-const overload for GetToolByPos() 2017-11-25 10:57:23 -08:00
testing.h
textbuf.h
textcompleter.h Fix wx/textcompleter.h compilation when it's the first included header 2017-06-29 17:17:01 +02:00
textctrl.h
textdlg.h
textentry.h
textfile.h
textwrapper.h
tglbtn.h
thread.h
thrimpl.cpp
time.h
timectrl.h
timer.h
tipdlg.h
tipwin.h
tls.h
tokenzr.h
toolbar.h
toolbook.h
tooltip.h
toplevel.h
tracker.h
translation.h Rename context-specific translation macros and document them 2017-08-09 14:21:47 +02:00
treebase.h
treebook.h Reuse wxBookCtrlBase::DoSetSelection() in wxTreebook too 2018-03-31 01:45:06 +02:00
treectrl.h
treelist.h
txtstrm.h Fix wxTextInputStream for input starting with BOM-like bytes 2017-11-09 23:49:59 +01:00
typeinfo.h Fix wxTypeIdentifier::operator==() to be const 2017-11-14 15:58:17 +01:00
types.h Extract common type definitions from wx/defs.h to wx/types.h 2018-01-07 22:43:24 +01:00
uiaction.h
unichar.h Avoid warnings about conversion to wxUint16 in wxUniChar code 2018-03-06 16:00:47 +01:00
uri.h
url.h
ustring.h
utils.h
valgen.h
validate.h Make wxValidator::SetWindow() virtual 2018-01-07 01:25:10 +01:00
valnum.h Add wxFloatingPointValidator::SetFactor() 2018-01-26 14:39:57 +01:00
valtext.h
variant.h
variantbase.h
vector.h Make wxVector reverse iterators conform to iterator requirements 2018-02-23 16:14:03 +01:00
version.h Update version to 3.1.2 2018-02-20 00:08:01 +01:00
versioninfo.h
vidmode.h
vlbox.h
vms_x_fix.h
volume.h
vscroll.h
weakref.h
webview.h Merge wxWebView JavaScript improvements branch 2017-10-21 22:42:30 +02:00
webviewarchivehandler.h
webviewfshandler.h
wfstream.h
window.h More use of wxOVERRIDE 2018-03-06 23:31:01 +01:00
windowid.h
windowptr.h
withimages.h
wizard.h
wrapsizer.h
wupdlock.h
wx.h
wxchar.h
wxcrt.h Allow for compilation under iOS 11 2017-06-24 22:01:15 +02:00
wxcrtbase.h Always enable wxMBConv::IsUTF8() 2017-10-27 20:13:04 +02:00
wxcrtvararg.h
wxhtml.h
wxprec.h
xlocale.h Try to fix macOS build using cmake after xlocale changes 2018-01-21 16:49:26 +01:00
xpmdecod.h
xpmhand.h
xti2.h
xti.h
xtictor.h
xtihandler.h
xtiprop.h
xtistrm.h
xtitypes.h
xtixml.h
zipstrm.h Fix ZIP64 creation with individual files larger 4GB 2018-02-15 20:01:13 +01:00
zstream.h