#endif
#include "wx/scrolwin.h" // for wxScrollHelper
+#include "wx/dynarray.h"
// ----------------------------------------------------------------------------
// the actions supported by this control
void Activate(int item = -1);
// select or unselect the specified or current (if -1) item
- void Select(bool sel = TRUE, int item = -1);
+ void DoSelect(int item = -1, bool sel = TRUE);
// more readable wrapper
- void Unselect(int item) { Select(FALSE, item); }
+ void DoUnselect(int item) { DoSelect(item, FALSE); }
// select an item and send a notification about it
void SelectAndNotify(int item);
// let wxColourScheme choose the right colours for us
virtual bool IsContainerWindow() const { return TRUE; }
+ // idle processing
+ virtual void OnInternalIdle();
protected:
// geometry
virtual wxSize DoGetBestClientSize() const;
void Init();
// event handlers
- void OnIdle(wxIdleEvent& event);
void OnSize(wxSizeEvent& event);
// common part of Clear() and DoSetItems(): clears everything