diff --git a/include/wx/selstore.h b/include/wx/selstore.h index 4361a11a9c..62ff2298ce 100644 --- a/include/wx/selstore.h +++ b/include/wx/selstore.h @@ -80,7 +80,7 @@ public: private: // (re)init - void Init() { m_defaultState = false; } + void Init() { m_count = 0; m_defaultState = false; } // the total number of items we handle unsigned m_count;