projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46234a0
)
skip the header click event to allow sorting (done in the default handler) to take...
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Mon, 8 Dec 2008 21:14:00 +0000
(21:14 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Mon, 8 Dec 2008 21:14:00 +0000
(21:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57207
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
samples/dataview/dataview.cpp
patch
|
blob
|
blame
|
history
diff --git
a/samples/dataview/dataview.cpp
b/samples/dataview/dataview.cpp
index 25b629d03fb1327855b3b36bd59cd089c14b5c92..8a4744433f90ff1b8a8d4e71e36cde5d2f77280b 100644
(file)
--- a/
samples/dataview/dataview.cpp
+++ b/
samples/dataview/dataview.cpp
@@
-1115,6
+1115,10
@@
void MyFrame::OnContextMenu( wxDataViewEvent &event )
void MyFrame::OnHeaderClick( wxDataViewEvent &event )
{
+ // we need to skip the event to let the default behaviour of sorting by
+ // this column when it is clicked to take place
+ event.Skip();
+
if(!m_log)
return;