]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/fontdlgg.cpp
non-pch build fix
[wxWidgets.git] / src / generic / fontdlgg.cpp
index 12125d5c16c0d01345b9caee278fdbe71a0c93db..b0cc8c996af959a196c11d4a5f4179064279fe6a 100644 (file)
@@ -282,7 +282,7 @@ void wxGenericFontDialog::OnCloseWindow(wxCloseEvent& WXUNUSED(event))
 
 bool wxGenericFontDialog::DoCreate(wxWindow *parent)
 {
-    parent = GetParentForModalDialog(parent);
+    parent = GetParentForModalDialog(parent, 0);
 
     if ( !wxDialog::Create( parent , wxID_ANY , wxT("Choose Font") ,
                             wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE,