IMPLEMENT_DYNAMIC_CLASS(wxDialog,wxPanel)
-wxDialog::wxDialog()
+void wxDialog::Init()
{
- m_title = "";
m_sizeSet = FALSE;
m_modalShowing = FALSE;
}
const wxPoint &pos, const wxSize &size,
long style, const wxString &name )
{
- m_modalShowing = FALSE;
- m_sizeSet = FALSE;
+ Init();
+
Create( parent, id, title, pos, size, style, name );
}