No description
Find a file
Vadim Zeitlin 275ab09ed7 Switch to a simpler wxString::Printf() implementation
Don't use std::index_sequence, as this has some advantages:

- This way doesn't require using another helper function, which is
  burdensome here and would be even more so if we had to do it for all
  the other wx vararg functions too.

- We don't need to require C++14 and can keep supporting even g++ 4.8.

The sole drawback is that we cannot pass the index of the argument to
wxArgNormalizer ctor any longer, which means that we can't validate it,
but this is addressed by validating the entire format string at once in
the new Validate() member function, which is also more efficient than
the old way for the format strings with more than one format specifier,
as they only need to be parsed once now, instead of having to do it for
each format specifier separately when GetArgumentType() is called.

This also means that we can't handle char arguments differently
depending on whether they are used with "%c" or "%d" format specifier.
This is a backwards-incompatible change, but should affect very few use
cases, so it seems to be worth breaking it to get the above benefits.
2022-11-23 02:47:41 +01:00
.circleci Build and run tests on Circle CI too 2022-08-04 02:48:23 +02:00
.github Allow using @NULL in interface/wx docs 2022-11-23 02:44:50 +01:00
3rdparty Update to Catch v2 2022-10-18 18:39:13 +02:00
art Remove support for wxMotif 2022-10-16 16:39:56 +02:00
build Merge branch 'ci-msw-clang' of https://github.com/MaartenBent/wxWidgets 2022-11-20 22:59:37 +01:00
demos Remove UNICODE build option, hardcode its value as 1 2022-10-27 19:43:59 +02:00
distrib Remove UNICODE build option, hardcode its value as 1 2022-10-27 19:43:59 +02:00
docs Remove wxUSE_STD_STRING and wxUSE_STD_CONTAINERS_COMPATIBLY 2022-11-17 00:40:50 +01:00
include Switch to a simpler wxString::Printf() implementation 2022-11-23 02:47:41 +01:00
interface Make wxFileTypeInfo ctor a variadic template function 2022-11-23 02:44:50 +01:00
lib Add support for PCRE2 for OpenVMS 2021-08-20 10:00:17 +02:00
locale Update Georgian translations 2022-08-14 16:44:19 +02:00
misc Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
samples Merge branch 'more-cxx11-fixes' 2022-11-12 18:03:12 +01:00
src Switch to a simpler wxString::Printf() implementation 2022-11-23 02:47:41 +01:00
tests Make wxFileTypeInfo ctor a variadic template function 2022-11-23 02:44:50 +01:00
utils Don't use non-existent template class name in a comment 2022-10-28 21:17:15 +01:00
.cirrus.yml Do not trigger non-CMake CI builds with CMake-only changes 2022-11-08 18:19:37 +01: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 Don't account for commit regarding comments only 2022-10-28 11:10:39 +02:00
.gitattributes Mark MSVS *.vcxproj.filters files as using CR LF as well 2021-11-24 12:13:12 +01:00
.gitignore Remove Henry Spencer's regex library and references to it 2022-11-16 20:19:21 +01:00
.gitmodules Add simple wxBitmapBundle::FromSVG() implementation using NanoSVG 2021-10-05 16:06:43 +01:00
.mailmap Update mailmap 2022-05-30 19:07:53 +02:00
acinclude.m4 Remove obsolete wxUSE_IOSTREAMH option 2019-10-21 20:46:21 +02:00
aclocal.m4 Pass options needed by it to libtiff configure only 2020-07-18 16:59:48 +02:00
appveyor.yml Remove wxGTK1 port and GPE support 2022-10-16 22:01:02 +02:00
autoconf_inc.m4 Remove UNICODE build option, hardcode its value as 1 2022-10-27 19:43:59 +02:00
autogen.sh
CMakeLists.txt Always require C++11 for CMake builds 2022-10-07 02:34:45 +02:00
config.guess Update config.{guess,sub} scripts to latest versions 2021-03-17 09:53:58 -07:00
config.sub Update config.{guess,sub} scripts to latest versions 2021-03-17 09:53:58 -07:00
configure Remove wxUSE_STD_STRING and wxUSE_STD_CONTAINERS_COMPATIBLY 2022-11-17 00:40:50 +01:00
configure.in Remove wxUSE_STD_STRING and wxUSE_STD_CONTAINERS_COMPATIBLY 2022-11-17 00:40:50 +01: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 Merge branch 'remove-wxstring-impl' 2022-11-20 22:58:34 +01: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 Remove Windows XP and Vista support 2022-11-12 16:57:52 +00:00
regen Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
setup.h.in Remove wxUSE_STD_STRING and wxUSE_STD_CONTAINERS_COMPATIBLY 2022-11-17 00:40:50 +01:00
setup.h_vms Remove wxUSE_STD_STRING and wxUSE_STD_CONTAINERS_COMPATIBLY 2022-11-17 00:40:50 +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 Remove Unicode option support from wx-config and wxwin.m4 2022-10-28 01:11:36 +02:00
wxwidgets.props Check that Unicode is enabled in wxwidgets.props 2022-10-28 18:27:17 +01:00
wxwin.m4 Remove Unicode option support from wx-config and wxwin.m4 2022-10-28 01:11:36 +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 12), including MinGW/MinGW-64/TDM under Windows.
  • Clang (up to 14).

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.