Go to file
Vadim Zeitlin 9e5c8a8027 Respect bitmap content scale factor in wxMSW wxMemoryDC
Apply it manually because MSW doesn't do it automatically for us and
also adjust the font size in wxMemoryDC as the base class version only
does it for the device contexts associated with a window, but we also
need to do it when using a wxMemoryDC for a bitmap using scale factor
different from that of the main display.

As the result of these changes, contents drawn on wxMemoryDC, both
directly via its own methods, or via wxGraphicsContext (using either
GDI+ or Direct2D) created from it, it appears the same as in wxWindowDC
(e.g. wxPaintDC) created for a window using the same scale.

Closes #22130.

Closes #22234.
2022-03-28 01:03:07 +02:00
.github Add a simple workflow for updating HTML docs online 2022-03-28 00:54:46 +02:00
3rdparty Fix building tests with MSVS 2022 in C++20 mode with /permissive- 2022-01-04 23:13:39 +01:00
art Add wxART_QUIT icon to Tango art provider 2022-03-20 21:52:25 +01:00
build Handle --with-cxx=20 configure option too 2022-03-28 00:55:54 +02:00
demos Rebake after the year change 2022-01-14 22:51:24 +01:00
distrib
docs Change supported Doxygen version to 1.8.17 2022-03-28 00:43:05 +02:00
include Respect bitmap content scale factor in wxMSW wxMemoryDC 2022-03-28 01:03:07 +02:00
interface Fix escaping of new lines in wxRegEx documentation 2022-03-28 00:19:05 +02:00
lib Add support for PCRE2 for OpenVMS 2021-08-20 10:00:17 +02:00
locale Update Catalan translations 2022-03-28 00:55:54 +02:00
misc Allow ignoring revisions when viewing blame on GitHub 2022-03-24 21:35:39 +01:00
samples Respect bitmap content scale factor in wxMSW wxMemoryDC 2022-03-28 01:03:07 +02:00
src Respect bitmap content scale factor in wxMSW wxMemoryDC 2022-03-28 01:03:07 +02:00
tests Improve error reporting in wxDateTime unit tests 2022-03-28 00:56:19 +02:00
utils Rebake after the year change 2022-01-14 22:51:24 +01:00
.editorconfig
.git-blame-ignore-revs Allow ignoring revisions when viewing blame on GitHub 2022-03-24 21:35:39 +01:00
.gitattributes Mark MSVS *.vcxproj.filters files as using CR LF as well 2021-11-24 12:13:12 +01:00
.gitignore updating gitignore, adding workspace to wxcocoa_in 2021-11-22 18:03:06 +01:00
.gitmodules Add simple wxBitmapBundle::FromSVG() implementation using NanoSVG 2021-10-05 16:06:43 +01:00
.mailmap
acinclude.m4
aclocal.m4
appveyor.yml Ignore changes to GitHub issue templates in the CI builds 2022-01-14 01:42:13 +01:00
autoconf_inc.m4 Make wxrc independent from GUI support 2021-08-06 21:51:11 +02:00
autogen.sh
CMakeLists.txt Update copyright years to 2021 2022-01-02 13:32:23 +01: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 Handle --with-cxx=20 configure option too 2022-03-28 00:55:54 +02:00
configure.in Handle --with-cxx=20 configure option too 2022-03-28 00:55:54 +02:00
descrip.mms
install-sh
Makefile.in Factor out common code from most wxBookCtrl-related XRC handlers 2022-02-27 22:42:00 +00:00
mkinstalldirs
README-GIT.md
README.md Change issue reporting URL to point to template selection page 2022-01-15 15:46:07 +01:00
regen
setup.h_vms Disable Tango Art, because of problems 2022-03-17 09:29:49 +01:00
setup.h.in Allow usage of static loader with wxWebViewEdge 2022-02-07 22:49:33 +01:00
version-script.in
wx-config-inplace.in
wx-config.in Fix wx-config --libs output for static monolithic build 2021-08-25 23:31:45 +02:00
wxwidgets.props Support for VS 2022 in wxwidgets.props 2021-09-27 14:21:28 +02:00
wxwin.m4 Change wxwin.m4 to use non-deprecated macros 2021-11-12 17:13:34 +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 Unix (make) Unix (CMake) MSW (MSVC) MSW (gcc) Mac 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++ 2005 or later (up to 2022).
  • 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.