]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/checklst.h
return name and extension by const ref, not by value, to prevent bugs as the one...
[wxWidgets.git] / include / wx / univ / checklst.h
index d9a5b32a0a5eccf4156ebcb479330e0e717352a8..44233e09efe00bb90e94ce5e32ebf28bc9ccf8b8 100644 (file)
@@ -75,7 +75,7 @@ public:
 
     // implement check list box methods
     virtual bool IsChecked(size_t item) const;
-    virtual void Check(size_t item, bool check = TRUE);
+    virtual void Check(size_t item, bool check = true);
 
     // and input handling
     virtual bool PerformAction(const wxControlAction& action,