+ // common part of all ctors
+ void Init();
+
+ // call this when items are added to or deleted from the listbox or an
+ // items text changes
+ void MSWOnItemsChanged();
+
+ // flag indicating whether the max horizontal extent should be updated,
+ // i.e. if we need to call SetHorizontalExtent() from OnInternalIdle()
+ bool m_updateHorizontalExtent;
+
+ // flag set to true when we get a keyboard event and reset to false when we
+ // get a mouse one: this is used to find the correct item for the selection
+ // event
+ bool m_selectedByKeyboard;
+