X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aadbdd1699e512735a6e63798530192b1f9cb09b..d0260bd894ec5ef95c960e45cdaff3e6ebae019d:/include/wx/generic/dataview.h diff --git a/include/wx/generic/dataview.h b/include/wx/generic/dataview.h index 0fac7af910..ed3d11eb69 100644 --- a/include/wx/generic/dataview.h +++ b/include/wx/generic/dataview.h @@ -72,12 +72,7 @@ public: virtual void UnsetAsSortKey() { m_sort = false; UpdateDisplay(); } - virtual void SetSortOrder(bool ascending) - { - m_sort = true; - m_sortAscending = ascending; - UpdateDisplay(); - } + virtual void SetSortOrder(bool ascending); virtual bool IsSortOrderAscending() const { return m_sortAscending; }