From: Vadim Zeitlin <vadim@wxwidgets.org> Date: Wed, 25 Jan 2012 00:05:06 +0000 (+0000) Subject: Forward declare wxFont in wx/gtk/private.h. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/58d77880bba1cb3e2d84bdd29d32a016342a0144 Forward declare wxFont in wx/gtk/private.h. This fixes compilation in STL build (for some strange reason it doesn't affect the default build however). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/gtk/private.h b/include/wx/gtk/private.h index 261f483ee9..2bf984ce45 100644 --- a/include/wx/gtk/private.h +++ b/include/wx/gtk/private.h @@ -17,6 +17,8 @@ #include "wx/gtk/private/string.h" #include "wx/gtk/private/gtk2-compat.h" +class WXDLLIMPEXP_FWD_CORE wxFont; + // pango_version_check symbol is quite recent ATM (4/2007)... so we // use our own wrapper which implements a smart trick. // Use this function as you'd use pango_version_check: