Go to file
Vadim Zeitlin 6ad2d4f264 Fix handling of disabled cells in wxGTK wxDataViewCtrl.
The original code (see r66404 and r66416) didn't work because it used
wxDataViewRenderer::SetMode() to make the renderer inactive but then used its
GetMode() to restore the previous state -- which was lost. The result of this
was that if the overridden IsEnabled() in the model ever returned false for
any row, all the cells in this column, in all the rows, became insensitive, as
could be seen by the inability to edit any rating in the first page of the
dataview sample (even though it was disabled for a single row only) and any
checkboxes on its third page (even though only the last two of them were
supposed to be disabled).

Fix this simply by making the renderer insensitive at GTK level only, but do
not change the mode at wx level.

See #12686.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2015-02-10 23:14:48 +00:00
art Add wxART_FULL_SCREEN icon. 2014-10-11 16:30:06 +00:00
build Add wxAddRemoveCtrl class. 2015-02-09 00:26:11 +00:00
demos Fix resource compiler include path for Borland. 2014-10-11 16:30:00 +00:00
distrib Remove support for Digital Mars compiler. 2014-05-16 13:01:23 +00:00
docs Add wxAddRemoveCtrl class. 2015-02-09 00:26:11 +00:00
include Fix handling of disabled cells in wxGTK wxDataViewCtrl. 2015-02-10 23:14:48 +00:00
interface Fix typos in wxTreeEvent::GetOldItem() documentation. 2015-02-10 23:14:39 +00:00
lib Update compile support for wxX11 on OpenVMS 2014-11-07 13:17:24 +00:00
locale German translations update from Wolfgang Stöggl . 2015-01-02 23:49:32 +00:00
misc Turn off batchmode for PDF manual, and no longer update latex_header. 2015-02-08 11:17:35 +00:00
samples Undo accidental change to the notebook sample. 2015-02-09 12:10:36 +00:00
src Fix handling of disabled cells in wxGTK wxDataViewCtrl. 2015-02-10 23:14:48 +00:00
tests Fix the expected size of the header logo on www.wxwidgets.org. 2015-02-04 17:44:57 +00:00
utils Fix resource compiler include path for Borland. 2014-10-11 16:30:00 +00:00
.travis.yml Build 3.0 branch on Travis as well. 2014-05-16 10:53:51 +00:00
acinclude.m4 Add --disable-sys-libs configure option. 2014-07-24 11:34:14 +00:00
aclocal.m4 Remove wxPM, wxWidgets port to OS/2. 2014-05-15 23:56:58 +00:00
autoconf_inc.m4 Rebaked with new wxTaskBarButton and taskbarbutton sample. 2014-09-10 14:59:13 +00:00
autogen.sh Use build/autoconf_prepend-include when running autoconf 2008-02-22 22:31:20 +00:00
BuildSVN.txt another test commit, undoing the last one 2015-01-18 08:06:58 +00:00
config.guess Update configure helper scripts to latest versions from GNU project. 2010-11-26 13:31:15 +00:00
config.sub Update configure helper scripts to latest versions from GNU project. 2010-11-26 13:31:15 +00:00
configure Add wxAddRemoveCtrl class. 2015-02-09 00:26:11 +00:00
configure.in Add wxAddRemoveCtrl class. 2015-02-09 00:26:11 +00:00
CONTRIBUTING.md Add brief contribution instructions for Github users. 2014-06-11 20:01:04 +00:00
descrip.mms Update OpenVMS compile support 2013-08-27 12:02:20 +00:00
install-sh
Makefile.in Add wxAddRemoveCtrl class. 2015-02-09 00:26:11 +00:00
mkinstalldirs Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
README.md Added a brief version of README in markdown for Github users. 2014-06-11 21:31:57 +00:00
regen Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
setup.h_vms Remove unnecessary wxUSE_MFC option. 2014-12-16 20:16:16 +00:00
setup.h.in Add wxAddRemoveCtrl class. 2015-02-09 00:26:11 +00: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 Remove wxPM, wxWidgets port to OS/2. 2014-05-15 23:56:58 +00:00
wxwin.m4 Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00: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 http://www.wxwidgets.org/ and read its documentation online at http://docs.wxwidgets.org/

Platforms

wxWidgets currently supports the following primary platforms:

  • Windows XP, Vista, 7 and 8 (32/64 bits).
  • Most Unix variants using the GTK+ toolkit (version 2.6 or newer or 3.x).
  • Mac OS X (10.6 or newer) using Cocoa (32/64 bits) or Carbon (32 only).

Most popular C++ compilers are supported including but not limited to:

  • Microsoft Visual C++ 2003 or later (up to 2013).
  • 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.

Further information

If you are looking for support, you can get it from

We would also gladly welcome your contributions.

Have fun!

The wxWidgets Team.