X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6868c3eb8fabd2b3a04446b8a5fc752fa9e78caf..7b108a5e8cae8552840b532e364536e2dbe47dc7:/include/wx/mac/pngread.h diff --git a/include/wx/mac/pngread.h b/include/wx/mac/pngread.h index 2a5b4b40cd..8aa50a09d4 100644 --- a/include/wx/mac/pngread.h +++ b/include/wx/mac/pngread.h @@ -11,7 +11,7 @@ #ifndef _WX_PNGREAD__ #define _WX_PNGREAD__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "pngread.h" #endif @@ -50,7 +50,7 @@ protected: long EfeWidth; // Efective Width - GWorldPtr lpbi; + void *lpbi; int bgindex; wxPalette* m_palette; bool imageOK;