From: Vadim Zeitlin Date: Tue, 22 Jul 2003 21:50:05 +0000 (+0000) Subject: more warning fixes X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4749467786a873dccae9da93fd45fe4fc5e8e705?hp=b0251b161aa82e412b8ce654dc4bbe433220dee5 more warning fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/generic/prntdlgg.h b/include/wx/generic/prntdlgg.h index f687fb38b6..ddc6b4fd2c 100644 --- a/include/wx/generic/prntdlgg.h +++ b/include/wx/generic/prntdlgg.h @@ -160,7 +160,8 @@ private: class WXDLLEXPORT wxGenericPageSetupDialog : public wxDialog { public: - wxGenericPageSetupDialog(wxWindow *parent, wxPageSetupData* data = (wxPageSetupData*) NULL); + wxGenericPageSetupDialog(wxWindow *parent = NULL, + wxPageSetupData* data = NULL); virtual ~wxGenericPageSetupDialog(); virtual bool TransferDataFromWindow(); @@ -186,7 +187,7 @@ public: private: DECLARE_EVENT_TABLE() - DECLARE_CLASS(wxGenericPageSetupDialog) + DECLARE_DYNAMIC_CLASS_NO_COPY(wxGenericPageSetupDialog) }; #endif