Go to file
Vadim Zeitlin 3dc16a7419 Compute wxDCImpl::m_mm_to_pix_[xy] on demand
If nothing else, this avoids 2 calls to each of wxGetDisplaySize() and
wxGetDisplaySizeMM() on each and every wxGCDC construction which are
completely unnecessary as wxGCDCImpl uses its own hardcoded resolution
of 72 DPI, as do some other classes deriving from wxDCImpl.

And even for the classes which do compute these fields using the display
resolution, it may still be unnecessary to do it as they can be never
used if neither GetSizeMM() nor SetLogicalScale() are called on the
corresponding wxDC object.

Finally, this is more than an optimization as when using Cairo-based
wxGCDC without display (which is explicitly supported), calling
wxGetDisplaySize() simply doesn't work at all.
2018-12-06 03:30:55 +01:00
.github
3rdparty Update catch submodule 2018-11-17 19:10:45 +01:00
art
build CMake: Improve webview checks 2018-12-03 00:20:38 +01:00
demos Fix extra semicolon warnings 2018-11-25 21:29:37 +01:00
distrib
docs Fix removing and inserting pages in wxToolbook 2018-12-05 17:23:57 +01:00
include Compute wxDCImpl::m_mm_to_pix_[xy] on demand 2018-12-06 03:30:55 +01:00
interface Add wxToolbook::EnablePage() 2018-12-03 19:42:45 +01:00
lib Update OpenVMS build support 2018-10-11 11:41:55 +02:00
locale Russian translations update from Alexander Kovalenko 2018-09-07 18:48:56 +02:00
misc Add wxArrayString pretty printer for gdb 2018-11-24 16:34:25 +01:00
samples Fix some build warnings 2018-11-25 21:29:38 +01:00
src Compute wxDCImpl::m_mm_to_pix_[xy] on demand 2018-12-06 03:30:55 +01:00
tests Merge branch 'qt_menubar' of https://github.com/GeoTeric/wxWidgets 2018-12-05 02:53:37 +01:00
utils Introduce MSW ARM64 support 2018-09-17 22:34:32 +02:00
.editorconfig Revert changes in Editor Config file made by mistake in 5fbe3cab 2018-11-01 18:37:34 +01:00
.gitattributes
.gitignore Introduce MSW ARM64 support 2018-09-17 22:34:32 +02:00
.gitmodules Remove "update = checkout" option for submodules 2018-02-04 00:33:08 +01:00
.mailmap Use real email address for Markus Juergens 2018-11-19 16:17:05 +01:00
.travis.yml Disable webview in static build 2018-11-04 23:44:06 +01:00
acinclude.m4
aclocal.m4 autoconf and bakefile support for GTK+4 2017-12-12 08:48:36 -08:00
appveyor.yml Build WXQT toolkit with AppVeyor 2018-09-30 17:23:58 +02:00
autoconf_inc.m4 Include some Windows specific files in WXQT toolkit 2018-09-30 17:23:57 +02:00
autogen.sh
CMakeLists.txt CMake: Additional fixes/tweaks for C++11 on macOS 2018-02-08 11:01:05 +01:00
config.guess Update config.{guess,sub} 2017-12-03 14:31:12 -08:00
config.sub Update config.{guess,sub} 2017-12-03 14:31:12 -08:00
configure Update tiff submodule 2018-11-17 19:08:40 +01:00
configure.in Update tiff submodule 2018-11-17 19:08:40 +01:00
descrip.mms
install-sh
Makefile.in Update tiff submodule 2018-11-17 19:08:40 +01:00
mkinstalldirs
README-GIT.md Fix links to installation instructions in README-GIT.md 2018-12-04 15:18:24 +01:00
README.md Update docs.wxwidgets.org links to HTTPS. 2018-09-02 15:35:48 -06:00
regen
setup.h_vms set WXWIN_COMPATIBILITY_x_y to 0 for OpenVMS 2018-08-31 12:44:20 +02:00
setup.h.in Check for liblzma headers in configure too and add wxUSE_LIBLZMA 2018-04-06 15:39:39 +02:00
version-script.in
wx-config-inplace.in
wx-config.in Don't output flags for "adv" library in wx-config 2018-10-22 13:59:09 +02:00
wxwidgets.props Add property sheet to allow easily configure projects using wx 2018-11-18 01:05:10 +01:00
wxwin.m4

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

wxWidgets currently 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.

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

Further information

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

We would also gladly welcome your contributions.

Have fun!

The wxWidgets Team.