wxWidgets/version-script.in
Vadim Zeitlin ccca07af33 Fix crash when using wxNotebook with glib 2.73 or later
Make GTK notebook log suppression opt-in to avoid a fatal error when the
application calls g_log_set_writer_func() itself, as doing it more than
once immediately kills the application with glib 2.73 and there is no
way to check if it had been already done or not (you have to admire the
purity of the API design here).

This is unfortunate as 99% of the wxWidgets applications that do _not_
call g_log_set_writer_func() would now show the spurious diagnostics by
default again, but preferable to making the remaining 1% crash, and
there doesn't seem to be any other solution.

Call the new GTKAllowDiagnosticsControl() function in the notebook
sample to at least still avoid getting the spurious diagnostic messages
described in #22176 there.

See #22717.

(cherry picked from commit 8af645ed229ebb2542769775565ce85c158e4fb1 and
adapted to 3.2 stable ABI).
2022-08-30 12:35:46 +02:00

40 lines
1.1 KiB
Plaintext

#
# Notes:
#
# Remove all of the tags below except for the last one when creating new
# development branch.
#
# Once a symbol has been included in a stable release of wxWidgets its version
# cannot be changed.
#
# With each new release a section should be added containing any new symbols,
# for example:
#
# # public symbols added in release @WX_VERSION_TAG@.2 (please keep in alphabetical order):
# @WX_VERSION_TAG@.2 {
# extern "C++"
# "wxChoice::GetCurrentSelection()";
# };
# };
#
# If a symbols should have been added in this way, but is forgotten then it
# cannot be added in the next release. This is because it has already been
# released with the generic branch version due to the final wildcard below,
# and once released its version cannot be changed.
# public symbols added in 3.2.1 (please keep in alphabetical order):
@WX_VERSION_TAG@.1 {
extern "C++" {
"wxApp::GTKAllowDiagnosticsControl()";
"wxFileDialog::AddShortcut(const wxString&, int)";
};
};
# symbols available since the beginning of this branch are only given
# generic branch tag (don't remove this!):
@WX_VERSION_TAG@ {
*;
};