Go to file
Ilya Sinitsyn dda6aa6bdc Fix assert with setting current cell in wxGrid::Redimension()
Avoid calling wxGrid::SetCurrentCell(0, 0) when the grid has no columns
or rows, as it doesn't have any cells then and doing this logically
fails the precondition assert in GetColPos().

Also refactor all 6 different snippets calling SetCurrentCell() in
Redimension() into a single function to simplify the code and make it
more maintainable.

Add a unit test verifying that this works as intended.

Closes https://github.com/wxWidgets/wxWidgets/pull/1546
2019-09-13 00:47:48 +02:00
.github
3rdparty Update catch submodule 2018-11-17 19:10:45 +01:00
art
build Update various GNU configuration scripts to latest versions 2019-08-07 09:00:09 -07:00
demos Reduce the scope of some local variables 2019-04-05 10:44:02 -07:00
distrib
docs Merge pull request #1455 from wxWidgets/gradient-pen 2019-09-11 20:17:34 -07:00
include Fix assert with setting current cell in wxGrid::Redimension() 2019-09-13 00:47:48 +02:00
interface Merge pull request #1455 from wxWidgets/gradient-pen 2019-09-11 20:17:34 -07:00
lib Link tiff library as shareable image on OpenVMS 2019-03-12 08:20:16 +01:00
locale Traditional Chinese translations update from Walter Cheuk 2019-06-28 13:42:33 +02:00
misc Add a helper for generating wxQt tags 2019-06-29 20:52:10 +02:00
samples Merge pull request #1455 from wxWidgets/gradient-pen 2019-09-11 20:17:34 -07:00
src Fix assert with setting current cell in wxGrid::Redimension() 2019-09-13 00:47:48 +02:00
tests Fix assert with setting current cell in wxGrid::Redimension() 2019-09-13 00:47:48 +02:00
utils Remove all trailing spaces 2019-01-30 17:35:54 +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 Use real email address for Markus Juergens 2018-11-19 16:17:05 +01:00
.travis.yml Only run GUI tests for the selected wxGTK builds 2019-07-18 17:45:20 +02:00
acinclude.m4
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 Regenerate the test make files to include the new STC test 2019-03-20 17:07:47 -05: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 Update various GNU configuration scripts to latest versions 2019-08-07 09:00:09 -07:00
configure.in Disable LZMA support when --disable-sys-libs is used 2019-06-27 16:18:20 +02:00
descrip.mms
install-sh
Makefile.in Remove private headers from the public headers list 2019-06-29 20:49:47 +02: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 the latest supported MSVS version in top-level README too 2019-07-02 12:10:36 +02:00
regen
setup.h_vms Synchronize setp.h_vms with setup.h.in 2019-01-31 14:46:07 +01:00
setup.h.in Add wxUSE_WINSOCK2 wxMSW option to include winsock2.h 2019-01-28 00:34:34 +01: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 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

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.