X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6502dc68233119829d31d1e21fd71c58e8f0d84a..404b319a85dadd7decf7a5a5331020520031a41c:/src/generic/tipdlg.cpp diff --git a/src/generic/tipdlg.cpp b/src/generic/tipdlg.cpp index 7b3ce8b0b7..9de9692a5f 100644 --- a/src/generic/tipdlg.cpp +++ b/src/generic/tipdlg.cpp @@ -82,7 +82,7 @@ public: private: wxTextFile m_textfile; - DECLARE_NO_COPY_CLASS(wxFileTipProvider) + wxDECLARE_NO_COPY_CLASS(wxFileTipProvider); }; #endif // wxUSE_TEXTFILE @@ -129,7 +129,7 @@ private: wxCheckBox *m_checkbox; DECLARE_EVENT_TABLE() - DECLARE_NO_COPY_CLASS(wxTipDialog) + wxDECLARE_NO_COPY_CLASS(wxTipDialog); }; // ============================================================================ @@ -218,7 +218,7 @@ END_EVENT_TABLE() wxTipDialog::wxTipDialog(wxWindow *parent, wxTipProvider *tipProvider, bool showAtStartup) - : wxDialog(GetParentForModalDialog(parent), wxID_ANY, _("Tip of the Day"), + : wxDialog(GetParentForModalDialog(parent, 0), wxID_ANY, _("Tip of the Day"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER )