From: David Elliott Date: Sat, 22 Mar 2003 05:57:18 +0000 (+0000) Subject: - Modify #if to include wxCocoa as a platform using wxBitmapBase X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/fed66a8797b486b0a242fc878248511b1f594897 - Modify #if to include wxCocoa as a platform using wxBitmapBase - Include wxCocoa specific header git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/bitmap.h b/include/wx/bitmap.h index 9d113ffa91..1faee6ed35 100644 --- a/include/wx/bitmap.h +++ b/include/wx/bitmap.h @@ -32,7 +32,7 @@ class WXDLLEXPORT wxImage; class WXDLLEXPORT wxMask; class WXDLLEXPORT wxPalette; -#if defined(__WXMGL__) || defined(__WXMAC__) || defined(__WXMOTIF__) +#if defined(__WXMGL__) || defined(__WXMAC__) || defined(__WXCOCOA__) || defined(__WXMOTIF__) // Only used by some ports // FIXME -- make all ports (but MSW which uses wxGDIImage) use these base classes @@ -166,6 +166,8 @@ protected: #include "wx/mgl/bitmap.h" #elif defined(__WXMAC__) #include "wx/mac/bitmap.h" +#elif defined(__WXCOCOA__) +#include "wx/cocoa/bitmap.h" #elif defined(__WXPM__) #include "wx/os2/bitmap.h" #endif