From: Vadim Zeitlin Date: Thu, 11 Oct 2012 12:41:07 +0000 (+0000) Subject: Use "true" by default in wxGenericListCtrl::EnableBellOnNoMatch(). X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4d3d97a84c59c7dbc8edb6faaacf9b686c72a0a3?ds=inline Use "true" by default in wxGenericListCtrl::EnableBellOnNoMatch(). The changes of r72639 mistakenly omitted the default value for EnableBellOnNoMatch() argument in this class (although it was present in the base class and in wxGenericTreeCtrl), fix this. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/generic/listctrl.h b/include/wx/generic/listctrl.h index 629373b706..81f9147280 100644 --- a/include/wx/generic/listctrl.h +++ b/include/wx/generic/listctrl.h @@ -144,7 +144,7 @@ public: void RefreshItem(long item); void RefreshItems(long itemFrom, long itemTo); - virtual void EnableBellOnNoMatch(bool on); + virtual void EnableBellOnNoMatch(bool on = true); #if WXWIN_COMPATIBILITY_2_6 // obsolete, don't use