No description
Find a file
Vadim Zeitlin 94b1a17aeb Add AddAvailableCatalog() and use it in AddStdCatalog()
The new function only returns true if the catalog could be really
loaded and not if it is considered not to be needed because the message
ID language (which is typically "en-US") happens to be present in the
preferred UI languages list (which seems to always include "en-US" in at
least Western European MSW).

This allows to distinguish, albeit in a rather awkward (but
backwards-compatible) way between having a translation for the given
language and not needed such translation.

It is still not clear if it is really correct to return "en-US" from the
list of preferred languages even if the user has never intentionally
configured the OS to indicate that English is acceptable, but at least
now we can work around this issue and use AddAvailableCatalog() in
AddStdCatalog() to make sure we only skip loading unversioned wxstd.mo
if the versioned wxstd-x.y.mo file is really found instead of never
doing it, as was the case until now (see #23886).

Also add GetBestAvailableTranslation() helper which seems more useful
than the existing GetBestTranslation() one and is similarly related to
it.

See #18227.
2023-10-02 19:21:48 +02:00
.circleci Update Circle CI workflow to get Scintilla submodules 2023-02-20 18:43:35 +01:00
.github Don't ignore CMake files for msw clang build in CI 2023-08-24 16:28:39 +02:00
3rdparty Synchronize config.* files in submodules with top-level repository 2023-07-27 17:14:48 +02:00
art Remove support for wxMotif 2022-10-16 16:39:56 +02:00
build Use dl_iterate_phdr() in wxDynamicLibrary::ListLoaded() 2023-09-06 00:40:11 +02:00
demos Rebake after the previous commit 2023-07-29 18:13:29 +02:00
distrib Remove UNICODE build option, hardcode its value as 1 2022-10-27 19:43:59 +02:00
docs Use more modern appearance for wxMSW wxTreeCtrl by default 2023-09-30 15:00:48 +02:00
include Add AddAvailableCatalog() and use it in AddStdCatalog() 2023-10-02 19:21:48 +02:00
interface Add AddAvailableCatalog() and use it in AddStdCatalog() 2023-10-02 19:21:48 +02:00
lib Add support for PCRE2 for OpenVMS 2021-08-20 10:00:17 +02:00
locale Update Slovenian translations 2023-09-15 01:46:16 +02:00
misc Remove configure.in to configure.ac 2023-07-24 00:11:26 +02:00
samples Use C++11 standard library to generate pseudo-random numbers 2023-09-22 23:39:53 +02:00
src Add AddAvailableCatalog() and use it in AddStdCatalog() 2023-10-02 19:21:48 +02:00
tests Add AddAvailableCatalog() and use it in AddStdCatalog() 2023-10-02 19:21:48 +02:00
utils Merge branch 'wxrc-multi-bitmap' 2023-08-24 02:51:51 +02:00
.cirrus.yml CI: ignore CircleCI config files from all other CIs 2023-04-04 15:28:34 +02:00
.editorconfig Revert changes in Editor Config file made by mistake in 5fbe3cab 2018-11-01 18:37:34 +01:00
.git-blame-ignore-revs Update comment in .git-blame-ignore-revs after renaming it 2023-04-30 15:35:02 +02:00
.gitattributes Remove configure.in to configure.ac 2023-07-24 00:11:26 +02:00
.gitignore Remove frozen autoconf macros version a.k.a. "auto hacks" 2023-07-24 00:11:26 +02:00
.gitmodules Add scintilla and Lexilla submodules 2023-02-14 22:43:17 +01:00
.mailmap Add mailmap entry for Hans Mackowiak 2023-08-25 17:23:38 +02:00
acinclude.m4 Remove configure.in to configure.ac 2023-07-24 00:11:26 +02:00
aclocal.m4 Replace AM_PATH_GTK_N_0() macros with use of PKG_CHECK_MODULES() 2023-07-24 00:00:18 +02:00
appveyor.yml Remove wxUSE_STL which is not really used any longer 2023-04-15 17:22:09 +02:00
autoconf_inc.m4 Rebake after the previous commit 2023-07-29 18:13:29 +02:00
autogen.sh Remove frozen autoconf macros version a.k.a. "auto hacks" 2023-07-24 00:11:26 +02:00
CMakeLists.txt Update copyright years to 2023 2023-01-03 04:15:08 +01:00
config.guess Update config.{guess,sub} scripts to latest versions 2022-12-02 08:43:11 -08:00
config.sub Update config.{guess,sub} scripts to latest versions 2022-12-02 08:43:11 -08:00
configure Use dl_iterate_phdr() in wxDynamicLibrary::ListLoaded() 2023-09-06 00:40:11 +02:00
configure.ac Use dl_iterate_phdr() in wxDynamicLibrary::ListLoaded() 2023-09-06 00:40:11 +02:00
descrip.mms workaround for which is probably a compiler-bug on OpenVMS-AXP 2021-01-07 09:47:46 +01:00
install-sh
Makefile.in Remove configure.in to configure.ac 2023-07-24 00:11:26 +02:00
mkinstalldirs Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
README-GIT.md Add a note about updating submodules to Git README too 2022-08-04 02:30:25 +02:00
README.md Update maximum supported compiler versions in main readme 2023-08-24 15:05:03 +02:00
regen Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
setup.h.in Use dl_iterate_phdr() in wxDynamicLibrary::ListLoaded() 2023-09-06 00:40:11 +02:00
setup.h_vms Assume sigaction::sa_handler always takes "int" 2023-06-30 00:26:19 +01:00
version-script.in Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
wx-config-inplace.in Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
wx-config.in Only include Scintilla libraries in wx-config --libs if needed 2023-07-23 02:35:53 +02:00
wxwidgets.props Check that Unicode is enabled in wxwidgets.props 2022-10-28 18:27:17 +01:00
wxwin.m4 Remove configure.in to configure.ac 2023-07-24 00:11:26 +02:00

About

wxWidgets is a free and open source cross-platform C++ framework for writing advanced GUI applications using native controls.

wxWidgets Logo

wxWidgets allows you to write native-looking GUI applications for all the major desktop platforms and also helps with abstracting the differences in the non-GUI aspects between them. It is free for the use in both open source and commercial applications, comes with the full, easy to read and modify, source and extensive documentation and a collection of more than a hundred examples. You can learn more about wxWidgets at https://www.wxwidgets.org/ and read its documentation online at https://docs.wxwidgets.org/

Platforms

AppVeyor Unix (make) Unix (CMake) MSW (MSVC) MSW (gcc) Mac OSS-Fuzz

This version of wxWidgets supports the following primary platforms:

  • Windows 7, 8, 10 and 11 (32/64 bits).
  • Most Unix variants using the GTK+ toolkit (version 2.6 or newer or 3.x).
  • macOS (10.10 or newer) using Cocoa under both amd64 and ARM platforms.

All C++11 compilers are supported including but not limited to:

  • Microsoft Visual C++ 2015 or later (up to 2022).
  • g++ 4.8 or later (up to 13), including MinGW/MinGW-64/TDM under Windows.
  • Clang (up to 16).

Please use 3.2 branch if you must use wxWidgets with a C++98 compiler or support Windows XP.

Licence

wxWidgets licence is a modified version of LGPL explicitly allowing not distributing the sources of an application using the library even in the case of static linking.

Building

For building the library, please see platform-specific documentation under docs/<port> directory, e.g. here are the instructions for wxGTK, wxMSW and wxOSX.

If you're building the sources checked out from Git, and not from a released version, please see these additional Git-specific notes.

Further information

If you are looking for community support, you can get it from

Commercial support is also available.

Finally, keep in mind that wxWidgets is an open source project collaboratively developed by its users and your contributions to it are always welcome. Please check our guidelines if you'd like to do it.

Have fun!

The wxWidgets Team.