]> git.saurik.com Git - wxWidgets.git/commitdiff
Forward declare wxFont in wx/gtk/private.h.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 25 Jan 2012 00:05:06 +0000 (00:05 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 25 Jan 2012 00:05:06 +0000 (00:05 +0000)
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

include/wx/gtk/private.h

index 261f483ee9e68b4bbeb4ab057f729e6bf9a3917e..2bf984ce4513df239fa5782c296f813ab9e404d1 100644 (file)
@@ -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: