]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/colrdlgg.cpp
non-pch build fix
[wxWidgets.git] / src / generic / colrdlgg.cpp
index 03c93c5e8bb3465b0c6f230affd2d4a3441a834b..83f9bc004924b170d672c857ce7d82183d10433f 100644 (file)
@@ -140,7 +140,7 @@ void wxGenericColourDialog::OnCloseWindow(wxCloseEvent& WXUNUSED(event))
 
 bool wxGenericColourDialog::Create(wxWindow *parent, wxColourData *data)
 {
-    if ( !wxDialog::Create(GetParentForModalDialog(parent), wxID_ANY,
+    if ( !wxDialog::Create(GetParentForModalDialog(parent, 0), wxID_ANY,
                            _("Choose colour"),
                            wxPoint(0, 0), wxSize(900, 900)) )
         return false;