wxWidgets/samples/dataview
Václav Slavík 60bd6842e4 Fix handling of ampersands in wxDataViewCtrl markup
Handle "&" in exactly the same way as "&" in wxMarkupParser, i.e. do not
map the former to "&&" to prevent it from being interpreted as a mnemonic as
this is incompatible with using markup for anything but the control labels,
e.g. for wxDataViewCtrl items text, in which mnemonics are not recognized.
And even when using markup for control labels, it was a questionable decision
as it's really not clear at all why should the XML entity and the raw
character itself be handled differently.

Also split wxMarkupText into two classes, wxMarkupText that handles
mnemonics in the markup (which is typically a label) and a very
similar, but not derived, wxItemMarkupText that handles mnemonics-less
markup for list etc. items, uses DrawItemText() and supports
ellipsizing.

Illustrate the use of ampersands in the dataview sample.
2017-04-07 18:45:39 +02:00
..
dataview_vc7.vcproj Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
dataview_vc8.vcproj Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
dataview_vc9.vcproj Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
dataview.bkl
dataview.cpp Fix harmless warnings in samples (wxGTK) 2017-03-20 23:32:52 +01:00
descrip.mms
makefile.bcc
makefile.gcc Link with oleacc.lib when using MSW gcc makefiles 2017-01-04 11:50:18 +01:00
Makefile.in Update version to 3.1.1 2016-03-03 23:23:06 +01:00
makefile.unx
makefile.vc Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
mymodels.cpp Fix handling of ampersands in wxDataViewCtrl markup 2017-04-07 18:45:39 +02:00
mymodels.h Test custom editor in the dataview sample 2016-02-20 17:07:04 +01:00
null.xpm Convert all XPM files to Unix EOLs. 2015-03-19 21:46:05 +01:00
wx_small.xpm Convert all XPM files to Unix EOLs. 2015-03-19 21:46:05 +01:00