]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/statbmp.h
suppress (harmless) gcc warning about non-virtual dtor in a class with virtual functions
[wxWidgets.git] / include / wx / mac / carbon / statbmp.h
index 33cc5bd495c84ceb16fb42a404b8b5aa45a26545..4841947522635ab26edbf377b1a776de826bcde5 100644 (file)
@@ -53,9 +53,10 @@ class WXDLLEXPORT wxStaticBitmap: public wxStaticBitmapBase
 
   // overriden base class virtuals
   virtual bool AcceptsFocus() const { return FALSE; }
-  virtual  wxSize DoGetBestSize() const ;
 
  protected:
+    virtual wxSize DoGetBestSize() const;
+
     wxBitmap m_bitmap;
     DECLARE_EVENT_TABLE() 
 };