]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/tipdlg.cpp
Bring back double border
[wxWidgets.git] / src / generic / tipdlg.cpp
index e8fbb90d0c137a41c123033c64fa4b2007fd840d..491a0ba700156bc8c85ca03bff9fa451d75abb63 100644 (file)
@@ -215,7 +215,7 @@ END_EVENT_TABLE()
 wxTipDialog::wxTipDialog(wxWindow *parent,
                          wxTipProvider *tipProvider,
                          bool showAtStartup)
-           : wxDialog(parent, wxID_ANY, _("Tip of the Day"),
+           : wxDialog(GetParentForModalDialog(parent), wxID_ANY, _("Tip of the Day"),
                       wxDefaultPosition, wxDefaultSize,
                       wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER
                       )