No description
Find a file
Vadim Zeitlin a73194f6b4 Allow parsing all fractional sizes in wxFont descriptions
Remove the check that the size representation was the same as float and
as double, which was supposed to catch various edge cases (NaNs, huge
numbers etc) but actually caught plenty of perfectly valid font sizes
such as 13.8 that simply lost precision when converting from double to
float.

Just check that the size is positive and less than FLT_MAX to avoid
using values that really don't make sense as font sizes.

Also add a unit test checking that using fractional font sizes in
description string works as expected.

Closes #18590.

Closes https://github.com/wxWidgets/wxWidgets/pull/1707
2020-01-19 17:46:55 +01:00
.github Use HTTPS with Trac links. 2017-07-04 13:15:14 -06:00
3rdparty Update catch submodule 2018-11-17 19:10:45 +01:00
art Replace images in wxRendererMac::DrawTitleBarBitmap() with drawing code. 2016-01-05 14:51:04 +01:00
build Add native wxSearchCtrl for GTK+ port 2020-01-07 03:15:35 +01:00
demos Rename manifests to use underscores 2019-12-13 21:44:26 +01:00
distrib Updated links and mailing list addresses. 2015-10-30 20:06:09 -06:00
docs Make wxGridCellAttr ctor taking a single argument explicit 2020-01-11 14:05:09 +01:00
include Make wxNewId() and others return/take wxWindowID rather than int 2020-01-15 14:28:33 +01:00
interface Update strings of already created wxGridCellChoiceEditor too 2020-01-15 20:03:56 +01:00
lib Link tiff library as shareable image on OpenVMS 2019-03-12 08:20:16 +01:00
locale Fix "Quit" menu item help translation to zh_CN 2020-01-15 12:23:33 +01:00
misc Add XRC handler for wxInfoBar 2019-09-27 12:57:01 +02:00
samples Add API for ellipsization support to wxGrid 2020-01-11 19:14:23 +01:00
src Allow parsing all fractional sizes in wxFont descriptions 2020-01-19 17:46:55 +01:00
tests Allow parsing all fractional sizes in wxFont descriptions 2020-01-19 17:46:55 +01:00
utils Rename manifests to use underscores 2019-12-13 21:44:26 +01: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 Add manually created MSVS 201x solutions files for wxrc 2019-01-07 04:26:34 +01:00
.gitmodules Remove "update = checkout" option for submodules 2018-02-04 00:33:08 +01:00
.mailmap Add another email for Danny Scott to Git mailmap 2019-09-29 17:36:21 +02:00
.travis.yml Disable webview in GTK3 build on TravisCI 2019-11-29 01:11:37 +01:00
acinclude.m4 Remove obsolete wxUSE_IOSTREAMH option 2019-10-21 20:46:21 +02:00
aclocal.m4 autoconf and bakefile support for GTK+4 2017-12-12 08:48:36 -08:00
appveyor.yml Revert "Temporarily switch to using previous AppVeyor MSW image" 2019-08-03 21:09:22 +02:00
autoconf_inc.m4 Increment version number to 3.1.4 2019-10-28 14:11:00 +01:00
autogen.sh
CMakeLists.txt CMake: Fill in default configuration in cmake-gui 2019-07-19 01:26:42 +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 wxUSE_NATIVE_DATAVIEWCTRL build option 2019-12-15 16:23:47 +01:00
configure.in Add wxUSE_NATIVE_DATAVIEWCTRL build option 2019-12-15 16:23:47 +01:00
descrip.mms Remove controls sample from OpenVMS makefiles 2016-02-03 09:04:53 +01:00
install-sh
Makefile.in Add native wxSearchCtrl for GTK+ port 2020-01-07 03:15:35 +01:00
mkinstalldirs Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
README-GIT.md Fix links to installation instructions in README-GIT.md 2018-12-04 15:18:24 +01:00
README.md Add OSS-Fuzz badge to the README 2019-12-16 17:33:22 +01:00
regen Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
setup.h.in Add wxUSE_NATIVE_DATAVIEWCTRL build option 2019-12-15 16:23:47 +01:00
setup.h_vms Add wxUSE_NATIVE_DATAVIEWCTRL to setup on OpenVMS 2019-12-19 09:08:13 +01: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 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 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).
  • 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 2019).
  • 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.