]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fontmap.cpp
don't give empty message box if Parse(FALSE) was called and there was --help on the...
[wxWidgets.git] / src / common / fontmap.cpp
index c976d72af6b753263a543c1e352f7f7225d8bf99..6c591571f0a68feef889f96a2f88ec71c291f008 100644 (file)
@@ -882,7 +882,7 @@ bool wxFontMapper::GetAltForEncoding(wxFontEncoding encoding,
             wxFontData data;
             data.SetEncoding(encoding);
             data.EncodingInfo() = *info;
-            wxFontDialog dialog(m_windowParent, &data);
+            wxFontDialog dialog(m_windowParent, data);
             if ( dialog.ShowModal() == wxID_OK )
             {
                 wxFontData retData = dialog.GetFontData();