]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/fontdlg.cpp
Fix uninitialized variable warning in wxMSW wxFileSystemWatcher code.
[wxWidgets.git] / src / gtk / fontdlg.cpp
index d50f46bfc574203437f54cfa17cfe1446317bb56..ce8afcb7ad5dc5ea29868968ff039cd5825d6291 100644 (file)
@@ -116,7 +116,7 @@ bool wxFontDialog::DoCreate(wxWindow *parent)
                       G_CALLBACK (gtk_fontdialog_delete_callback), this);
 
     wxFont font = m_fontData.GetInitialFont();
-    if( font.Ok() )
+    if( font.IsOk() )
     {
         const wxNativeFontInfo *info = font.GetNativeFontInfo();