wxWidgets/include/wx/generic
Vadim Zeitlin 15b8afdcb8 Reset previous sort column in generic wxDataViewColumn::SetSortOrder().
The sort indicator on the column previously used for sorting was only reset
when the user clicked on the column header (by wxDataViewHeaderWindow code
that explicitly called wxDataViewCtrl::SetSortingColumnIndex()) but not when
wxDataViewCtrl::SetSortOrder() was called directly.

Fix this and take care of updating everything in SetSortOrder() itself. This
makes the code simpler and also means that calling SetSortOrder() from the
program now works as expected (it resulted in having sort indicators in two
columns at once before).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-21 15:07:49 +00:00
..
private Fix keyboard navigation in wxGrid with hidden columns. 2011-07-19 22:35:37 +00:00
aboutdlgg.h add parent parameter to wxAboutBox() (closes #9952) 2009-04-26 13:41:21 +00:00
accel.h
animate.h
bmpcbox.h
busyinfo.h minor cleanup 2009-12-05 19:57:58 +00:00
buttonbar.h
calctrlg.h No changes, synchronised source names that appear commented at the top of files with the actual path to the files. 2011-03-20 00:14:35 +00:00
caret.h No changes, synchronised source names that appear commented at the top of files with the actual path to the files. 2011-03-20 00:14:35 +00:00
choicdgg.h Add initial selection parameter to wxGetSingleChoice() functions. 2010-03-21 11:06:31 +00:00
clrpickerg.h Move wxColourData and wxFontData into separate files. 2011-01-07 05:26:57 +00:00
collpaneg.h Replace wxControlContainer-related macros with wxNavigationEnabled<>. 2011-07-24 22:19:33 +00:00
colour.h
colrdlgg.h Move wxColourData and wxFontData into separate files. 2011-01-07 05:26:57 +00:00
combo.h Redone (generic) wxComboCtrl background painting and handling. The 'actual' wxWindow background colour is now largely ignored and overridden to refer the text-area's background colour instead (as is usually the case with controls like this). Base 'transparent' background is now only painted when double-buffered rendering is required, and otherwise delegated to the system, as appropriate. This should significantly improve control's appearance and compliancy with GTK+ and OS X themes and custom backgrounds. 2011-03-20 10:59:22 +00:00
ctrlsub.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00
dataview.h Reset previous sort column in generic wxDataViewColumn::SetSortOrder(). 2011-09-21 15:07:49 +00:00
datectrl.h No changes, synchronised source names that appear commented at the top of files with the actual path to the files. 2011-03-20 00:14:35 +00:00
dcpsg.h No changes, synchronised source names that appear commented at the top of files with the actual path to the files. 2011-03-20 00:14:35 +00:00
dirctrlg.h No changes, synchronised source names that appear commented at the top of files with the actual path to the files. 2011-03-20 00:14:35 +00:00
dirdlgg.h
dragimgg.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00
dvrenderer.h Pass wxRect/wxPoint arguments to wxDataViewCustomRenderer by reference. 2011-03-01 12:16:49 +00:00
dvrenderers.h Make generic wxDataViewToggleRenderer react to activation. 2011-08-29 17:25:33 +00:00
fdrepdlg.h No changes, synchronised source names that appear commented at the top of files with the actual path to the files. 2011-03-20 00:14:35 +00:00
filectrlg.h
filedlgg.h Make wxFileDialog::Set/SetPath() behave consistently. 2009-11-26 16:17:00 +00:00
filepickerg.h No code changes, fixed various typos. 2011-04-03 20:31:32 +00:00
fontdlgg.h Move wxColourData and wxFontData into separate files. 2011-01-07 05:26:57 +00:00
fontpickerg.h Move wxColourData and wxFontData into separate files. 2011-01-07 05:26:57 +00:00
fswatcher.h Merge SOC2009_FSWATCHER branch into trunk. 2009-10-22 11:35:43 +00:00
grid.h Replaced Ok() occurrences with IsOk() throughout trunk. 2011-05-03 16:29:04 +00:00
gridctrl.h No changes, synchronised source names that appear commented at the top of files with the actual path to the files. 2011-03-20 00:14:35 +00:00
grideditors.h Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
gridsel.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00
headerctrlg.h Remove remaining bits of marker drawing during resizing 2009-06-12 16:15:35 +00:00
helpext.h don't use annoying and unneeded in C++ casts of NULL to "T *" in all other files neither 2009-01-19 13:55:27 +00:00
hyperlink.h Generic wxHyperlinkCtrl appearance and behaviour improvements. 2011-06-15 21:56:23 +00:00
icon.h compilation fix after last change 2008-12-31 15:27:00 +00:00
imaglist.h minor cleanup 2009-12-05 19:57:58 +00:00
infobar.h Move wxInfoBar to core library from adv. 2010-05-05 12:20:08 +00:00
laywin.h No changes, synchronised source names that appear commented at the top of files with the actual path to the files. 2011-03-20 00:14:35 +00:00
listctrl.h Account for largest item in wxGenericListCtrl::GetBestSize(). 2010-07-11 10:44:08 +00:00
logg.h No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
mask.h
mdig.h deprecate the old TryValidator/Parent() and replace them with the new and documented TryBefore/After() 2009-02-26 16:16:31 +00:00
msgdlgg.h Add support for wxHELP button to wxMessageDialog. 2011-08-04 22:53:42 +00:00
notebook.h No changes, just use symbolic NO_IMAGE constant instead of -1 or wxNOT_FOUND. 2011-08-21 14:08:49 +00:00
notifmsg.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00
numdlgg.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00
paletteg.h
panelg.h Add wxPanel::SetBackgroundBitmap(). 2011-03-20 00:00:49 +00:00
printps.h No changes, synchronised source names that appear commented at the top of files with the actual path to the files. 2011-03-20 00:14:35 +00:00
prntdlgg.h No changes, synchronised source names that appear commented at the top of files with the actual path to the files. 2011-03-20 00:14:35 +00:00
progdlgg.h No changes, synchronised source names that appear commented at the top of files with the actual path to the files. 2011-03-20 00:14:35 +00:00
propdlg.h Removed extraneous semicolons and commas (partly fixes #10456). 2009-02-01 04:48:19 +00:00
region.h Add (currently unimplemented) missing wxRegion constructors for wxRegionGeneric. 2009-02-07 23:20:45 +00:00
richmsgdlgg.h Compilation fix for non-PCH build in wxGenericRichMessageDialog code. 2010-08-19 00:06:12 +00:00
sashwin.h No changes, synchronised source names that appear commented at the top of files with the actual path to the files. 2011-03-20 00:14:35 +00:00
scrolwin.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00
spinctlg.h Make wxSpinCtrlGeneric usable as wxDVC editor control. 2011-05-01 18:44:35 +00:00
splash.h No changes, synchronised source names that appear commented at the top of files with the actual path to the files. 2011-03-20 00:14:35 +00:00
splitter.h Replace wxControlContainer-related macros with wxNavigationEnabled<>. 2011-07-24 22:19:33 +00:00
srchctlg.h Set colours and fonts for all elements of the generic wxSearchCtrl. 2011-08-27 12:13:23 +00:00
statbmpg.h Replaced Ok() occurrences with IsOk() throughout trunk. 2011-05-03 16:29:04 +00:00
statline.h No changes, synchronised source names that appear commented at the top of files with the actual path to the files. 2011-03-20 00:14:35 +00:00
stattextg.h Add markup support to generic wxStaticText implementation. 2011-02-27 12:48:38 +00:00
statusbr.h No code changes, fixed various typos. 2011-04-03 20:31:32 +00:00
tabg.h No changes, synchronised source names that appear commented at the top of files with the actual path to the files. 2011-03-20 00:14:35 +00:00
textdlgg.h No changes, synchronised source names that appear commented at the top of files with the actual path to the files. 2011-03-20 00:14:35 +00:00
treectlg.h Send generic wxTreeCtrl wxEVT_COMMAND_TREE_KEY_DOWN events from OnKeyDown rather than OnChar. This change means it sends events for the same keys as the wxMSW control. It also fixes the failing unit test. 2010-09-22 10:06:39 +00:00
wizard.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00