]> git.saurik.com Git - wxWidgets.git/commitdiff
Ribbon compilation fixes for OS X.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 16 Sep 2009 23:19:01 +0000 (23:19 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 16 Sep 2009 23:19:01 +0000 (23:19 +0000)
Forward declare wxWindow and wxDC classes in wx/ribbon/art.h to avoid errors
in (PCH-less?) buildbot builds.

Also include header containing declarations of private Mac functions in
implementation file (closes #11203).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/ribbon/art.h
src/ribbon/art_aui.cpp

index f0cc1596e705d7678452440ccc988251cd7ed975..d52796b115f8afde3ee8f84575096fa4525c16ba 100644 (file)
@@ -19,6 +19,9 @@
 #include <wx/brush.h>
 #include <wx/pen.h>
 
+class WXDLLIMPEXP_FWD_CORE wxDC;
+class WXDLLIMPEXP_FWD_CORE wxWindow;
+
 enum wxRibbonArtSetting
 {
     wxRIBBON_ART_TAB_SEPARATION_SIZE,
index bd97d9f211a2f5a12edad4c5c077e67f99d7824f..c21ac1cadb4329b4644c3ba9907c279eaa8938b2 100644 (file)
@@ -30,6 +30,8 @@
 
 #ifdef __WXMSW__
 #include "wx/msw/private.h"
+#elif defined(__WXMAC__)
+#include "wx/osx/private.h"
 #endif
 
 wxRibbonAUIArtProvider::wxRibbonAUIArtProvider()