From: Ryan Norton Date: Sun, 26 Sep 2004 14:28:21 +0000 (+0000) Subject: fix warning X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/801d040762d0d875126935b79d660d4e2fe1b177 fix warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/font/font.cpp b/samples/font/font.cpp index c11dfa7370..df30e1b671 100644 --- a/samples/font/font.cpp +++ b/samples/font/font.cpp @@ -32,6 +32,9 @@ #include "wx/splitter.h" #include "wx/textfile.h" +#undef wxFontDialog +#include "wx/mac/fontdlg.h" + // ---------------------------------------------------------------------------- // private classes // ---------------------------------------------------------------------------- @@ -316,8 +319,8 @@ protected: const wxString& encoding) { wxString text; - text.Printf(wxT("Encoding %d: %s (available in facename '%s')\n"), - ++m_n, encoding.c_str(), facename.c_str()); + text.Printf(wxT("Encoding %u: %s (available in facename '%s')\n"), + (unsigned int) ++m_n, encoding.c_str(), facename.c_str()); m_text += text; return true; }