if (GetPageCount() == 1)
{
wxSizeEvent sz(GetSize(), GetId());
- ProcessEvent(sz);
+ GetEventHandler()->ProcessEvent(sz);
}
return true;
}
if (GetPageCount() == 0)
{
wxSizeEvent sz(GetSize(), GetId());
- ProcessEvent(sz);
+ GetEventHandler()->ProcessEvent(sz);
}
}
m_selection = -1;
wxSizeEvent sz(GetSize(), GetId());
- ProcessEvent(sz);
+ GetEventHandler()->ProcessEvent(sz);
return true;
}