X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9453cf2bd702241fabc417e9dd5cd7422bcd9966..0fccfc51e6d8810143d64d1e141ca6834843ac98:/include/wx/mac/statbmp.h diff --git a/include/wx/mac/statbmp.h b/include/wx/mac/statbmp.h index 18bffd3d23..04b36469bf 100644 --- a/include/wx/mac/statbmp.h +++ b/include/wx/mac/statbmp.h @@ -12,7 +12,7 @@ #ifndef _WX_STATBMP_H_ #define _WX_STATBMP_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "statbmp.h" #endif @@ -45,8 +45,7 @@ class WXDLLEXPORT wxStaticBitmap: public wxStaticBitmapBase virtual void Command(wxCommandEvent& WXUNUSED(event)) {}; virtual void ProcessCommand(wxCommandEvent& WXUNUSED(event)) {}; - virtual void OnPaint( wxPaintEvent &event ) ; - void SetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO); + void OnPaint( wxPaintEvent &event ) ; wxBitmap GetBitmap() const { return m_bitmap; } wxIcon GetIcon() const