class WXDLLEXPORT wxDialog : public wxDialogBase
{
public:
- wxDialog();
+ wxDialog() { Init(); }
// Constructor with no modal flag - the new convention.
wxDialog(wxWindow *parent, wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxDEFAULT_DIALOG_STYLE,
- const wxString& name = wxDialogNameStr);
+ const wxString& name = wxDialogNameStr)
+ {
+ Init();
+ Create(parent, id, title, pos, size, style, name);
+ }
bool Create(wxWindow *parent, wxWindowID id,
const wxString& title,