Go to file
Vadim Zeitlin 9a9c845289 Add wxSystemAppearance to check for dark mode under macOS
Provide a way to retrieve the name of the current system appearance
(mostly for diagnostic purposes) and check if it uses predominantly dark
colours.

Currently this class has a non-trivial (but still very simple)
implementation under macOS only and simply checks whether the default
text colour is brighter than the default background colour under the
other platforms, but other platform-specific implementations could be
added later.

Also update the drawing sample "system colours" page to show the system
appearance as well.
2019-04-21 02:11:07 +02:00
.github
3rdparty
art
build Update other test build files by hand for the new STC test 2019-03-20 17:07:56 -05:00
demos Reduce the scope of some local variables 2019-04-05 10:44:02 -07:00
distrib
docs Document the change in wxMSW wxToolBar height determination 2019-03-21 14:27:53 +01:00
include Add wxSystemAppearance to check for dark mode under macOS 2019-04-21 02:11:07 +02:00
interface Add wxSystemAppearance to check for dark mode under macOS 2019-04-21 02:11:07 +02:00
lib Link tiff library as shareable image on OpenVMS 2019-03-12 08:20:16 +01:00
locale Update Croation translations 2019-04-08 14:33:26 +02:00
misc
samples Add wxSystemAppearance to check for dark mode under macOS 2019-04-21 02:11:07 +02:00
src Add wxSystemAppearance to check for dark mode under macOS 2019-04-21 02:11:07 +02:00
tests Add wxColour::GetLuminance() 2019-04-21 02:09:42 +02:00
utils Remove all trailing spaces 2019-01-30 17:35:54 +01:00
.editorconfig
.gitattributes
.gitignore
.gitmodules
.mailmap
.travis.yml
acinclude.m4
aclocal.m4
appveyor.yml
autoconf_inc.m4 Regenerate the test make files to include the new STC test 2019-03-20 17:07:47 -05:00
autogen.sh
CMakeLists.txt
config.guess
config.sub
configure Regenerate the test make files to include the new STC test 2019-03-20 17:07:47 -05:00
configure.in Use C99 to compile Expat sources under Unix 2019-03-14 12:39:53 +01:00
descrip.mms
install-sh
Makefile.in Regenerate build files after recent changes 2019-03-20 00:14:08 -05:00
mkinstalldirs
README-GIT.md
README.md
regen
setup.h_vms Synchronize setp.h_vms with setup.h.in 2019-01-31 14:46:07 +01:00
setup.h.in Add wxUSE_WINSOCK2 wxMSW option to include winsock2.h 2019-01-28 00:34:34 +01:00
version-script.in
wx-config-inplace.in
wx-config.in
wxwidgets.props
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

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).
  • OS X (10.7 or newer) using Cocoa (32/64 bits).

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

  • Microsoft Visual C++ 2003 or later (up to 2017).
  • g++ 3.4 or later, including MinGW/MinGW-64/TDM under Windows.
  • Clang under OS X and Linux.
  • Intel icc compiler.
  • Oracle (ex-Sun) aCC.

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.