Skip to content
Snippets Groups Projects
Commit bfce1c31 authored by deuce's avatar deuce
Browse files

Freeze/Thaw user list when refreshing.

parent 59a0c359
No related branches found
No related tags found
No related merge requests found
......@@ -55,6 +55,7 @@ void SBBS_User_ListFrame::fillUserList(void)
char datebuf[9];
long topitem=UserList->GetTopItem();
UserList->Freeze();
UserList->DeleteAllItems();
for(i=0; i<totalusers; i++) {
user.number=i;
......@@ -93,6 +94,7 @@ void SBBS_User_ListFrame::fillUserList(void)
}
UserList->EnsureVisible(item);
UserList->EnsureVisible(topitem);
UserList->Thaw();
}
SBBS_User_ListFrame::SBBS_User_ListFrame(wxWindow* parent,wxWindowID id)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment