X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c71d3313a42a8fdc6efd6a0c49ad13def665ef2f..608f8a111b6149267dc58ba87ea8de2edb550685:/src/generic/selstore.cpp?ds=sidebyside diff --git a/src/generic/selstore.cpp b/src/generic/selstore.cpp index 8793eda3e0..816ed07939 100644 --- a/src/generic/selstore.cpp +++ b/src/generic/selstore.cpp @@ -17,6 +17,12 @@ // headers // ---------------------------------------------------------------------------- +#include "wx/wxprec.h" + +#ifdef __BORLANDC__ + #pragma hdrstop +#endif + #include "wx/selstore.h" // ============================================================================ @@ -54,7 +60,7 @@ bool wxSelectionStore::SelectItem(size_t item, bool select) { m_itemsSel.AddAt(item, index); - return TRUE; + return true; } } else // reset to default state @@ -62,11 +68,11 @@ bool wxSelectionStore::SelectItem(size_t item, bool select) if ( isSel ) { m_itemsSel.RemoveAt(index); - return TRUE; + return true; } } - return FALSE; + return false; } bool wxSelectionStore::SelectRange(size_t itemFrom, size_t itemTo,