Go to file
Vadim Zeitlin c1abbe6473 Refactor wxMSW wxStaticBitmap to separate bitmaps and icons
Use different members for storing wxBitmap and wxIcon instead of using a
single pointer for storing a heap-allocated copy of either of them
because this is simpler, more efficient due to avoiding unnecessary
conversions and RTTI, and will be simpler to generalize to using
wxBitmapBundle instead of wxBitmap in the upcoming commits.

As a side effect, don't assert in GetIcon() or GetBitmap() if there is
no valid icon or bitmap, as this is inconsistent with the other ports
and wasn't even consistent between these functions in wxMSW itself.

There should be no other changes in behaviour.
2021-10-25 13:40:18 +01:00
.github Install 32-bit version of xvfb in 32-bit wxMSW cross-build 2021-10-16 16:44:44 +02:00
3rdparty Add simple wxBitmapBundle::FromSVG() implementation using NanoSVG 2021-10-05 16:06:43 +01:00
art
build adding bitmap bundle files to macOS xcodeproj 2021-10-21 15:29:46 +02:00
demos Use arch suffix consistently in all directories names 2021-08-26 23:12:40 +02:00
distrib Remove setup0.h files 2021-01-31 19:02:56 +01:00
docs Add wxBitmap::SetScaleFactor() 2021-10-24 19:04:51 +02:00
include Refactor wxMSW wxStaticBitmap to separate bitmaps and icons 2021-10-25 13:40:18 +01:00
interface Add wxBitmapBundle::GetBitmapFor() helper 2021-10-25 13:40:18 +01:00
lib Add support for PCRE2 for OpenVMS 2021-08-20 10:00:17 +02:00
locale Fix errors and inconsistent terms in zh_TW translations 2021-07-19 14:46:51 +02:00
misc Ignore the parent commit for git blame purposes 2021-10-03 17:09:08 +02:00
samples Remove unnecessary win32-res tags from samples bakefiles 2021-10-20 17:47:47 +02:00
src Refactor wxMSW wxStaticBitmap to separate bitmaps and icons 2021-10-25 13:40:18 +01:00
tests Respect the scale of the bitmap converted to wxBitmapBundle 2021-10-24 23:15:04 +02:00
utils Use arch suffix consistently in all directories names 2021-08-26 23:12:40 +02:00
.editorconfig
.gitattributes Remove mention of .travis.yml in Git attributes file 2021-07-15 19:59:11 +02:00
.gitignore Add MSVS 2019 solutions for the minimal sample and the tests 2021-08-24 17:12:06 +02:00
.gitmodules Add simple wxBitmapBundle::FromSVG() implementation using NanoSVG 2021-10-05 16:06:43 +01:00
.mailmap Use consistent name for Konstantin S. Matveyev in git log 2020-05-25 01:48:43 +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 TravisCI mentions from build scripts 2021-07-15 13:53:12 +02:00
autoconf_inc.m4 Make wxrc independent from GUI support 2021-08-06 21:51:11 +02:00
autogen.sh
CMakeLists.txt CMake: update Info.plist variables 2021-08-17 22:33: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 Fix description of wxUSE_SPELLCHECK option in configure and CMake 2021-10-17 19:36:56 +02:00
configure.in Fix description of wxUSE_SPELLCHECK option in configure and CMake 2021-10-17 19:36:56 +02: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 'bitmap-bundle' 2021-10-05 18:58:18 +02:00
mkinstalldirs
README-GIT.md Remove setup0.h files 2021-01-31 19:02:56 +01:00
README.md Use different badges for different GitHub CI workflows 2021-08-28 23:50:55 +02:00
regen
setup.h_vms Add wxUSE_SPELLCHECK to setup for OpenVMS 2021-09-22 08:44:01 +02:00
setup.h.in Always set wxUSE_SPELLCHECK to 1 by default for simplicity 2021-08-23 14:16:16 +02: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

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.