From 4d3d97a84c59c7dbc8edb6faaacf9b686c72a0a3 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 11 Oct 2012 12:41:07 +0000 Subject: [PATCH] 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 --- include/wx/generic/listctrl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.0