// global data
//-----------------------------------------------------------------------------
-extern const char *wxDialogNameStr;
+extern const wxChar *wxDialogNameStr;
//-----------------------------------------------------------------------------
// wxDialog
DECLARE_DYNAMIC_CLASS(wxDialog)
public:
- wxDialog();
+ wxDialog() { Init(); }
wxDialog( wxWindow *parent, wxWindowID id,
const wxString &title,
const wxPoint &pos = wxDefaultPosition,
wxIcon m_icon;
protected:
+ // common part of all ctors
+ void Init();
+
virtual void DoSetSize(int x, int y,
int width, int height,
int sizeFlags = wxSIZE_AUTO);