The great wxVScrolledWindow refactoring: allow using it both horizontal and

vertical directions (slightly modified patch 1671181)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-04-08 01:58:16 +00:00
parent 4e4e981fe6
commit f18eaf2687
21 changed files with 3116 additions and 756 deletions

View File

@@ -75,7 +75,7 @@ public:
// ---------
// get the number of items in the control
size_t GetItemCount() const { return GetLineCount(); }
size_t GetItemCount() const { return GetRowCount(); }
// does this control use multiple selection?
bool HasMultipleSelection() const { return m_selStore != NULL; }
@@ -133,7 +133,7 @@ public:
// set the number of items to be shown in the control
//
// this is just a synonym for wxVScrolledWindow::SetLineCount()
// this is just a synonym for wxVScrolledWindow::SetRowCount()
virtual void SetItemCount(size_t count);
// delete all items from the control