]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/dcclient.h
avoid GCC warning about type-punned pointer breaking strict aliasing rules
[wxWidgets.git] / include / wx / mac / carbon / dcclient.h
index 6bb45e4a7364b9c1b0c96b00c547906bb687b366..a35e461720a755f1e6f44167c8d04a5ec6e26136 100644 (file)
@@ -29,15 +29,14 @@ public:
     wxWindowDCImpl( wxDC *owner, wxWindow *window );
     virtual ~wxWindowDCImpl();
     
-protected :
     virtual void DoGetSize( int *width, int *height ) const;
     virtual wxBitmap DoGetAsBitmap(const wxRect *subrect) const; 
 
+protected:
     bool m_release;
     int         m_width;
     int         m_height;
 
-private:
     DECLARE_CLASS(wxWindowDCImpl)
     DECLARE_NO_COPY_CLASS(wxWindowDCImpl)
 };