]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/utilscmn.cpp
no, we shouldn't inconditionally add the separator at the end even if wxPATH_GET_SEPA...
[wxWidgets.git] / src / common / utilscmn.cpp
index 92dabe4d64811f59f925758ed7a8ac76c6810ac1..71958c6fc2f6fe2324d7a03e4343d0dc2b8903c5 100644 (file)
@@ -1002,7 +1002,7 @@ wxFont wxGetFontFromUser(wxWindow *parent, const wxFont& fontInit)
     }
 
     wxFont fontRet;
-    wxFontDialog dialog(parent, &data);
+    wxFontDialog dialog(parent, data);
     if ( dialog.ShowModal() == wxID_OK )
     {
         fontRet = dialog.GetFontData().GetChosenFont();