Go to file
Václav Slavík 8756ff4320 Don't load webkit extensions from CWD-relative paths
wxgtk_initialize_web_extensions() tries to find extensions in the
location where "make install" puts them. If that fails, either because
wx wasn't installed yet, or it was deployed (e.g. in static build)
without them, it looks into additional places - paths relative to CWD.
This is to faciliate running wx samples and tests, but by being enabled
in release builds too, it allowed loading unexpected executable code
from untrusted locations. For example, on typical desktops, one could
put malicious .so files into $HOME/lib to have them loaded by
wxWebView-using applications.

Address this by making the helper paths relative to the executable's
location, not working directory.
2020-10-08 19:41:30 +02:00
.github Add a check for trailing whitespace and TABs 2020-09-28 03:24:44 +02:00
3rdparty Update Catch submodule to use correct ARM break instruction 2020-07-01 22:39:13 +02:00
art Replace images in wxRendererMac::DrawTitleBarBitmap() with drawing code. 2016-01-05 14:51:04 +01:00
build Remove WX_WEB_EXTENSIONS_DIRECTORY define 2020-10-05 16:54:16 +02:00
demos Merge branch 'misc-fixes' of https://github.com/MaartenBent/wxWidgets 2020-08-08 02:01:06 +02:00
distrib Updated links and mailing list addresses. 2015-10-30 20:06:09 -06:00
docs Don't crash if WXPREFIX env. variable is set 2020-10-08 18:50:56 +02:00
include Only warn about missing WebKit extension when used 2020-10-08 19:32:49 +02:00
interface Harmonize wxXmlDoctype ctor parameter names 2020-10-04 16:00:34 +02:00
lib Link tiff library as shareable image on OpenVMS 2019-03-12 08:20:16 +01:00
locale Add beginning of Persian translations from Ali Asady 2020-07-17 16:02:38 +02:00
misc Fix broken MSW tags generation script 2020-08-14 15:55:41 +02:00
samples Use dedicated functions to convert between degrees and radians 2020-10-04 21:47:43 +02:00
src Don't load webkit extensions from CWD-relative paths 2020-10-08 19:41:30 +02:00
tests Fix wrong step size in wxImage::Paste() 2020-10-02 14:54:40 +02:00
utils Add EXEEXT to the wxrc versioned executable 2020-08-31 14:59:39 +02:00
.editorconfig Revert changes in Editor Config file made by mistake in 5fbe3cab 2018-11-01 18:37:34 +01:00
.gitattributes Exclude some files from release tar balls 2017-11-16 18:44:27 +01:00
.gitignore Remove redundant patterns from .gitignore 2020-04-21 22:39:07 +02:00
.gitmodules Remove "update = checkout" option for submodules 2018-02-04 00:33:08 +01:00
.mailmap Use consistent name for Konstantin S. Matveyev in git log 2020-05-25 01:48:43 +02:00
.travis.yml Test building without 3.0 compatibility on Travis CI too 2020-09-01 15:07:31 +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 Skip AppVeyor builds when GitHub workflows are modified 2020-09-28 02:56:55 +02:00
autoconf_inc.m4 Remove WX_WEB_EXTENSIONS_DIRECTORY define 2020-10-05 16:54:16 +02:00
autogen.sh Use build/autoconf_prepend-include when running autoconf 2008-02-22 22:31:20 +00:00
CMakeLists.txt adapt naming to macOS 2020-07-05 21:03:32 +02:00
config.guess Update various GNU configuration scripts to latest versions 2019-08-07 09:00:09 -07:00
config.sub Update various GNU configuration scripts to latest versions 2019-08-07 09:00:09 -07:00
configure Add library CFLAGS to CXXFLAGS, not CPPFLAGS 2020-09-18 10:02:05 -07:00
configure.in Don't override user-supplied CPPFLAGS 2020-09-18 10:08:24 -07:00
descrip.mms Remove controls sample from OpenVMS makefiles 2016-02-03 09:04:53 +01:00
install-sh second try... 1999-06-01 16:14:29 +00:00
Makefile.in Remove WX_WEB_EXTENSIONS_DIRECTORY define 2020-10-05 16:54:16 +02:00
mkinstalldirs Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
README-GIT.md Correct wx/msw/setup.h instructions in the documentation 2020-03-24 03:19:38 +01:00
README.md Drop gcc 3.4 from the requirements in the README 2020-07-19 13:14:18 +02:00
regen Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
setup.h_vms Add definition of wxUSE_GLCANVAS_EGL 2020-09-02 07:46:25 +02:00
setup.h.in Add EGL-based backend for wxGLCanvas 2020-09-01 15:03:30 +02: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 Also mention --flavour in wx-config script 2020-08-18 15:47:33 +02:00
wxwidgets.props Really close the <Import> tag in the comment in wxwidgets.props 2020-05-25 19:12:53 +02:00
wxwin.m4 Allow specifying optional libraries with WX_CONFIG_CHECK 2019-03-11 00:44:10 +01: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 Travis OSS-Fuzz

This version of wxWidgets supports the following primary platforms:

  • Windows XP, Vista, 7, 8 and 10 (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.

Most popular C++ compilers are supported including but not limited to:

  • Microsoft Visual C++ 2003 or later (up to 2019).
  • g++ 4 or later, including MinGW/MinGW-64/TDM under Windows.
  • Clang under macOS and Linux.
  • Intel icc compiler.
  • Oracle (ex-Sun) CC.

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.