]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/statbmp.h
Refactored & cleaned up wxChoice & wxComboBox code, fixed client data
[wxWidgets.git] / include / wx / mac / statbmp.h
index 67e92e96e6697b34aa227b1ba4c7d5c8684a96fb..04b36469bfb477754e05ad98c02956ccc9420185 100644 (file)
@@ -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,7 +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         OnPaint( wxPaintEvent &event ) ;
 
   wxBitmap GetBitmap() const { return m_bitmap; }
   wxIcon GetIcon() const