]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/fontdlg.cpp
consume less CPU while waiting for thread to terminate (patch 883268)
[wxWidgets.git] / src / gtk1 / fontdlg.cpp
index 10352b6375faeddb8c9160f52c482f7ccbad04c8..b6117da0b0ba4594f9330e3b76f7cc4a71654534 100644 (file)
@@ -154,7 +154,7 @@ bool wxFontDialog::DoCreate(wxWindow *parent)
     wxFont font = m_fontData.GetInitialFont();
     if( font.Ok() )
     {
-        wxNativeFontInfo *info = font.GetNativeFontInfo();
+        const wxNativeFontInfo *info = font.GetNativeFontInfo();
 
         if ( info )
         {