]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/tipdlg.cpp
Improve composite flags handling in the property grid wxFlagsProperty.
[wxWidgets.git] / src / generic / tipdlg.cpp
index feee0ac4b62f9b323bf31ee645c9e7a5e52c6ef3..47d180962e232b6fc73f41611e7b90920b8296fa 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      Vadim Zeitlin
 // Modified by:
 // Created:     28.06.99
-// RCS-ID:      $Id$
 // Copyright:   (c) Vadim Zeitlin
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
@@ -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
                       )