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);
{
if ( HasFlag(wxPD_APP_MODAL) )
{
- delete m_winDisabler;
- m_winDisabler = NULL;
+ wxDELETE(m_winDisabler);
}
else
{