X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a31a5f85341a2ef131d86a1dee12f3d6c8156118..ea8f6fc718c121d91e5026840d3f22160d83e512:/include/wx/mac/statbmp.h diff --git a/include/wx/mac/statbmp.h b/include/wx/mac/statbmp.h index 858c6da40b..8a16726c57 100644 --- a/include/wx/mac/statbmp.h +++ b/include/wx/mac/statbmp.h @@ -6,13 +6,13 @@ // Created: 1998-01-01 // RCS-ID: $Id$ // Copyright: (c) Stefan Csomor -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_STATBMP_H_ #define _WX_STATBMP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "statbmp.h" #endif @@ -50,8 +50,8 @@ class WXDLLEXPORT wxStaticBitmap: public wxStaticBitmapBase wxBitmap GetBitmap() const { return m_bitmap; } wxIcon GetIcon() const { - // icons and bitmaps are really the same thing in wxMac - return (const wxIcon &)m_bitmap; + // icons and bitmaps are really the same thing in wxMac + return (const wxIcon &)m_bitmap; } void SetIcon(const wxIcon& icon) { SetBitmap( (const wxBitmap &)icon ) ; } @@ -61,7 +61,7 @@ class WXDLLEXPORT wxStaticBitmap: public wxStaticBitmapBase protected: wxBitmap m_bitmap; - DECLARE_EVENT_TABLE() + DECLARE_EVENT_TABLE() }; #endif