This seems to be a left-over from the old, manual positioning code. As we use
sizers now, it's not needed any more.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64461
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
m_parentTop = wxGetTopLevelParent(parent);
- wxClientDC dc(this);
- dc.SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
- wxCoord widthText = 0;
- dc.GetTextExtent(message, &widthText, NULL, NULL, NULL, NULL);
-
// top-level sizerTop
wxSizer * const sizerTop = new wxBoxSizer(wxVERTICAL);