- 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
This commit is contained in:
parent
ab590906ba
commit
fed66a8797
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user