- InvalidateBestSize();
- // GetListView()->InvalidateBestSize();
- GetListView()->Arrange();
-
- if (GetPageCount() == 1)
- {
- wxSizeEvent sz(GetSize(), GetId());
- ProcessEvent(sz);
- }
+ wxSizeEvent sz(GetSize(), GetId());
+ GetEventHandler()->ProcessEvent(sz);
+