// where is in native window relative coordinates
virtual void SetNeedsDisplay( Rect* where = NULL ) ;
- virtual void ScrollRect( const wxRect &rect , int dx , int dy ) ;
+ // if rect = NULL, entire view
+ virtual void ScrollRect( wxRect *rect , int dx , int dy ) ;
// in native parent window relative coordinates
virtual void GetRect( Rect *r ) ;
wxBrush m_brush ;
} ;
+#endif // wxMAC_USE_CORE_GRAPHICS
+
+#ifdef __WXMAC_OSX__
+
CGColorSpaceRef wxMacGetGenericRGBColorSpace(void) ;
void wxMacMemoryBufferReleaseProc(void *info, const void *data, size_t size) ;
-#endif // wxMAC_USE_CORE_GRAPHICS
+#endif
class WXDLLEXPORT wxBitmapRefData: public wxGDIRefData
{
#endif // wxUSE_PALETTE
wxMask * m_bitmapMask; // Optional mask
-#if wxMAC_USE_CORE_GRAPHICS
+#ifdef __WXMAC_OSX__
CGImageRef CGImageCreate() const ;
#endif
wxMemoryBuffer m_memBuf ;
int m_rawAccessCount ;
bool m_ok;
-#if wxMAC_USE_CORE_GRAPHICS
+#ifdef __WXMAC_OSX__
mutable CGImageRef m_cgImageRef ;
#endif
IconRef m_iconRef ;