Refresh() didn't work as it wasn't passed to subwindows

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-07-08 11:19:10 +00:00
parent 3a97d2db67
commit 2f1e3c464c
3 changed files with 56 additions and 2 deletions

View File

@@ -148,8 +148,8 @@ public:
long InsertItem( long index, int imageIndex );
long InsertItem( long index, const wxString& label, int imageIndex );
long InsertColumn( long col, wxListItem& info );
long InsertColumn( long col, const wxString& heading, int format = wxLIST_FORMAT_LEFT,
int width = -1 );
long InsertColumn( long col, const wxString& heading,
int format = wxLIST_FORMAT_LEFT, int width = -1 );
bool ScrollList( int dx, int dy );
bool SortItems( wxListCtrlCompare fn, long data );
bool Update( long item );
@@ -168,6 +168,8 @@ public:
void OnSize( wxSizeEvent &event );
// We have to hand down a few functions
virtual void Refresh(bool eraseBackground = TRUE,
const wxRect *rect = NULL);
virtual void Freeze();
virtual void Thaw();