X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6502dc68233119829d31d1e21fd71c58e8f0d84a..refs/heads/master:/src/generic/tipdlg.cpp diff --git a/src/generic/tipdlg.cpp b/src/generic/tipdlg.cpp index 7b3ce8b0b7..47d180962e 100644 --- a/src/generic/tipdlg.cpp +++ b/src/generic/tipdlg.cpp @@ -4,7 +4,6 @@ // Author: Vadim Zeitlin // Modified by: // Created: 28.06.99 -// RCS-ID: $Id$ // Copyright: (c) Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -82,7 +81,7 @@ public: private: wxTextFile m_textfile; - DECLARE_NO_COPY_CLASS(wxFileTipProvider) + wxDECLARE_NO_COPY_CLASS(wxFileTipProvider); }; #endif // wxUSE_TEXTFILE @@ -129,7 +128,7 @@ private: wxCheckBox *m_checkbox; DECLARE_EVENT_TABLE() - DECLARE_NO_COPY_CLASS(wxTipDialog) + wxDECLARE_NO_COPY_CLASS(wxTipDialog); }; // ============================================================================ @@ -218,7 +217,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 )