]> git.saurik.com Git - wxWidgets.git/commitdiff
Use "true" by default in wxGenericListCtrl::EnableBellOnNoMatch().
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 11 Oct 2012 12:41:07 +0000 (12:41 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 11 Oct 2012 12:41:07 +0000 (12:41 +0000)
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

index 629373b70693f3601d8eba7bcb5833e236be5c1c..81f91472804190c7218bc9363556c24fa93c6feb 100644 (file)
@@ -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