Go to file
Vadim Zeitlin 96de24d1bb Add wxGridCellChoiceRenderer to optimize column size calculation
Previously columns using a set of predetermined values used plain
wxGridCellStringRenderer, which didn't allow to determine their best
size efficiently, as wxGrid had to iterate over all the rows of the
table, even if they only took a couple of possible values.

Add wxGridCellChoiceRenderer (refactoring wxGridCellEnumRenderer to
extract the common code from it in the process) which implements
GetMaxBestSize() by just finding the best size of all of these values,
which is much faster for large grids.

This does result in a change in behaviour, as the column now adapts to
its "theoretical" best size and not just the size of the values actually
shown in it, but this seems to be a worthwhile trade-off and could even
be seen as an advantage, as editing a cell won't make its value overflow
the auto-sized column width any more, as it is wide enough to show any
of the column values.
2020-06-13 16:10:14 +02: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 Merge branch 'cmake-project-version-warning' of https://github.com/MaartenBent/wxWidgets 2020-05-25 01:34:52 +02:00
demos Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
distrib Updated links and mailing list addresses. 2015-10-30 20:06:09 -06:00
docs Merge branch 'wx-props' 2020-05-25 01:02:16 +02:00
include Add wxGridCellChoiceRenderer to optimize column size calculation 2020-06-13 16:10:14 +02:00
interface Add wxGridCellRenderer::GetMaxBestSize() 2020-06-13 15:51:20 +02:00
lib Link tiff library as shareable image on OpenVMS 2019-03-12 08:20:16 +01:00
locale Bring Catalan translation up to date 2020-02-17 15:44:50 +01:00
misc Recognize wxFIXED_MINSIZE in sizer flags in the XRC schema 2020-04-26 23:37:02 +02:00
samples Add wxAuiManager::AlwaysUsesLiveResize() 2020-05-25 18:01:09 +02:00
src Add wxGridCellChoiceRenderer to optimize column size calculation 2020-06-13 16:10:14 +02:00
tests Minor optimizations in GetMultiLineTextExtent() 2020-06-10 23:41:24 +02:00
utils Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02: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 Remove redundant patterns from .gitignore 2020-04-21 22:39:07 +02:00
.gitmodules Remove "update = checkout" option for submodules 2018-02-04 00:33:08 +01:00
.mailmap Use consistent name for Konstantin S. Matveyev in git log 2020-05-25 01:48:43 +02:00
.travis.yml Merge branch 'travis-other-archs' into window-id 2020-05-09 23:37:43 +02: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 Disable AppVeyor rebuilds on Mac files changes too 2020-04-22 17:18:37 +02:00
autoconf_inc.m4 Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
autogen.sh
CMakeLists.txt CMake: set the project version 2020-05-24 22:20:06 +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 Merge branch 'fix-stc-ime' of https://github.com/wangqr/wxWidgets 2020-05-25 01:33:00 +02:00
configure.in Merge branch 'fix-stc-ime' of https://github.com/wangqr/wxWidgets 2020-05-25 01:33:00 +02:00
descrip.mms Remove controls sample from OpenVMS makefiles 2016-02-03 09:04:53 +01:00
install-sh
Makefile.in Rebake after adding imm32.lib to wxSTC 2020-05-11 00:37:56 -04:00
mkinstalldirs Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
README-GIT.md Correct wx/msw/setup.h instructions in the documentation 2020-03-24 03:19:38 +01:00
README.md Fix Oracle compiler name 2020-04-07 08:43:57 -07:00
regen Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
setup.h_vms Assume dlerror() function is always available when dlopen() is 2020-05-15 00:00:06 +02:00
setup.h.in Assume dlerror() function is always available when dlopen() is 2020-05-15 00:00:06 +02: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 Really close the <Import> tag in the comment in wxwidgets.props 2020-05-25 19:12:53 +02: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) 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.