modifications for compilation under Mac OS X
applied patches extracted from submission by Marc Newsam (tested under Mac OS 9) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1398,12 +1398,16 @@ wxImage::wxImage( const wxBitmap &bitmap )
|
||||
|
||||
#ifdef __WXMAC__
|
||||
|
||||
#include <PictUtils.h>
|
||||
#ifdef __UNIX__
|
||||
#include <QD/PictUtils.h>
|
||||
#else
|
||||
#include <PictUtils.h>
|
||||
#endif
|
||||
|
||||
extern CTabHandle wxMacCreateColorTable( int numColors ) ;
|
||||
extern void wxMacDestroyColorTable( CTabHandle colors ) ;
|
||||
extern void wxMacSetColorTableEntry( CTabHandle newColors , int index , int red , int green , int blue ) ;
|
||||
extern GWorldPtr wxMacCreateGWorld( int height , int width , int depth ) ;
|
||||
extern GWorldPtr wxMacCreateGWorld( int width , int height , int depth ) ;
|
||||
extern void wxMacDestroyGWorld( GWorldPtr gw ) ;
|
||||
|
||||
wxBitmap wxImage::ConvertToBitmap() const
|
||||
|
Reference in New Issue
Block a user