[wxWidgets/wxWidgets] 0af78f: Fix active tab index value saved in AUI layout

0 views
Skip to first unread message

Javid Khan

unread,
Jun 15, 2026, 6:36:25 PM (9 days ago) Jun 15
to wx-co...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/wxWidgets/wxWidgets
Commit: 0af78f6896b23c32a0a2f0524a8e50f91a9ef4a2
https://github.com/wxWidgets/wxWidgets/commit/0af78f6896b23c32a0a2f0524a8e50f91a9ef4a2
Author: Vadim Zeitlin <va...@wxwidgets.org>
Date: 2026-06-15 (Mon, 15 Jun 2026)

Changed paths:
M src/aui/auibook.cpp

Log Message:
-----------
Fix active tab index value saved in AUI layout

This value must be the page index, independent of the page current
position in its tab control, but we saved the page position instead.
Get the active page position in the "m_tabs" pseudo tab control which
always stores pages in their addition order to fix this.


Commit: 4df35f2418b3166df72427f7564542de1ede98ce
https://github.com/wxWidgets/wxWidgets/commit/4df35f2418b3166df72427f7564542de1ede98ce
Author: Steve Cornett <21205494...@users.noreply.github.com>
Date: 2026-06-15 (Mon, 15 Jun 2026)

Changed paths:
M src/msw/stattext.cpp

Log Message:
-----------
Preserve wxStaticText custom colours upon dark mode switch


Commit: f8363719d46ffd10b200e5efeedffb83aae9671f
https://github.com/wxWidgets/wxWidgets/commit/f8363719d46ffd10b200e5efeedffb83aae9671f
Author: Steve Cornett <21205494...@users.noreply.github.com>
Date: 2026-06-15 (Mon, 15 Jun 2026)

Changed paths:
M src/msw/notebook.cpp

Log Message:
-----------
Preserve wxNotebook custom colours upon dark mode switch


Commit: 920b428a4c5457d209aa8008f30032a645920bed
https://github.com/wxWidgets/wxWidgets/commit/920b428a4c5457d209aa8008f30032a645920bed
Author: Steve Cornett <21205494...@users.noreply.github.com>
Date: 2026-06-15 (Mon, 15 Jun 2026)

Changed paths:
M include/wx/msw/stattext.h
M src/msw/stattext.cpp

Log Message:
-----------
Remove MSWSetDarkOrLightMode()


Commit: 4eb22403a5112a1d9c31addd776f1b17bbed92e0
https://github.com/wxWidgets/wxWidgets/commit/4eb22403a5112a1d9c31addd776f1b17bbed92e0
Author: Blake-Madden <66873089+B...@users.noreply.github.com>
Date: 2026-06-16 (Tue, 16 Jun 2026)

Changed paths:
M build/cmake/tests/drawing/CMakeLists.txt
M tests/Makefile.in
M tests/drawing/drawing.cpp
M tests/drawing/drawing.h
R tests/drawing/gcfactory.h
R tests/drawing/plugin.h
R tests/drawing/plugindriver.cpp
R tests/drawing/pluginsample.cpp
M tests/makefile.gcc
M tests/makefile.vc
M tests/test.bkl

Log Message:
-----------
Remove plugin interface from test_drawing

This was never used and doesn't seem like it ever will be.

Closes #26568.


Commit: a66bf5d8977d9273d8bd65e79c4b7fb9bb1b4709
https://github.com/wxWidgets/wxWidgets/commit/a66bf5d8977d9273d8bd65e79c4b7fb9bb1b4709
Author: Maarten Bent <Maart...@users.noreply.github.com>
Date: 2026-06-16 (Tue, 16 Jun 2026)

Changed paths:
M src/common/translation.cpp

Log Message:
-----------
Disable MinGW thread local workaround in wxTranslations

This has been fixed in MSYS2 MinGW.

Fixes #26195.

Closes #26587.


Commit: 192eb68e059396d6282338163f758b85d3903b98
https://github.com/wxWidgets/wxWidgets/commit/192eb68e059396d6282338163f758b85d3903b98
Author: songjin <son...@localhost.localdomain>
Date: 2026-06-16 (Tue, 16 Jun 2026)

Changed paths:
M interface/wx/toplevel.h

Log Message:
-----------
Clarify RequestUserAttention() behaviour under wxGTK

Document that this function may not have any effect even though it is
implemented because it also requires run-time support.

Closes #26593.

Co-authored-by: Vadim Zeitlin <va...@wxwidgets.org>


Commit: 0b6e531bae2ca3ec868907d3226bba8a68461668
https://github.com/wxWidgets/wxWidgets/commit/0b6e531bae2ca3ec868907d3226bba8a68461668
Author: Steve Cornett <21205494...@users.noreply.github.com>
Date: 2026-06-16 (Tue, 16 Jun 2026)

Changed paths:
M include/wx/dialog.h
M src/common/dlgcmn.cpp

Log Message:
-----------
Remove wxDialogBase::OnSysColourChanged()

This function became unreferenced in 2158f4d798 (moved all wxDialog
event handlers to wxDialogBase to avoid code duplication (sixplication?)
among ports[...], 2006-08-19).

Closes #26594.


Commit: 753de29caeeb8d6a271853fec3d074ed4a4f302f
https://github.com/wxWidgets/wxWidgets/commit/753de29caeeb8d6a271853fec3d074ed4a4f302f
Author: Vadim Zeitlin <va...@wxwidgets.org>
Date: 2026-06-16 (Tue, 16 Jun 2026)

Changed paths:
M include/wx/msw/stattext.h
M src/msw/notebook.cpp
M src/msw/stattext.cpp

Log Message:
-----------
Merge branch 'darkmode-custom-colour' of github.com:stevecor/wxWidgets

Preserve custom colours upon dark mode switch.

Also remove wxStaticText::MSWSetDarkOrLightMode() as it appears to be
unnecessary.

See #26596.


Commit: 788b4581122ffda0ee5b7c51132d115e62aafd99
https://github.com/wxWidgets/wxWidgets/commit/788b4581122ffda0ee5b7c51132d115e62aafd99
Author: dxbjavid <dxbj...@gmail.com>
Date: 2026-06-16 (Tue, 16 Jun 2026)

Changed paths:
M src/common/xpmdecod.cpp
M tests/image/image.cpp

Log Message:
-----------
Avoid uninitialised palette read in wxXPMDecoder::ReadData()

This function allocates the palette r/g/b arrays from the colour count
given in the XPM header but fills them by walking the colour map, so a
malformed file that reuses the same key on more than one colour line
collapses those lines into a single map entry and leaves the tail of the
arrays uninitialised. wxPalette() then copies that uninitialised memory
into the palette later returned by GetPalette(), and in debug builds the
wxASSERT(i == colors_cnt) at the end fires.

Use the actual number of distinct colours in the map as the size for
the arrays and the palette to fix this.

Also add a test loading an XPM triggering this issue.

Closes #26595.


Compare: https://github.com/wxWidgets/wxWidgets/compare/a1e910f517e2...788b4581122f

To unsubscribe from these emails, change your notification settings at https://github.com/wxWidgets/wxWidgets/settings/notifications
Reply all
Reply to author
Forward
0 new messages