]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/font/font.cpp
Tcl regex lib
[wxWidgets.git] / samples / font / font.cpp
index b92b86b2550c6dfb193fb9c54448115887aa0359..7ef9add570cbb6feb6e4271e0004eda726464aba 100644 (file)
@@ -544,7 +544,7 @@ void MyFrame::OnSelectFont(wxCommandEvent& WXUNUSED(event))
     data.SetInitialFont(m_canvas->GetTextFont());
     data.SetColour(m_canvas->GetColour());
 
-    wxFontDialog dialog(this, &data);
+    wxFontDialog dialog(this, data);
     if ( dialog.ShowModal() == wxID_OK )
     {
         wxFontData retData = dialog.GetFontData();