virtual void UnsubclassWin();
virtual wxPoint GetClientAreaOrigin() const;
-
+
// implement base class pure virtuals
virtual bool SetTransparent(wxByte alpha);
// implementation from now on
// --------------------------
- virtual bool SetShape(const wxRegion& region);
+ // These accessors are Mac-specific and don't exist in other ports.
const wxRegion& GetShape() const { return m_shape; }
-
#if wxUSE_GRAPHICS_CONTEXT
const wxGraphicsPath& GetShapePath() { return m_shapePath; }
#endif // wxUSE_GRAPHICS_CONTEXT
virtual void HandleResized( double timestampsec );
virtual void HandleMoved( double timestampsec );
virtual void HandleResizing( double timestampsec, wxRect* rect );
+
+ void WindowWasPainted();
virtual bool Destroy();
static wxNonOwnedWindow *s_macDeactivateWindow;
private :
+ static clock_t s_lastFlush;
+
wxRegion m_shape;
#if wxUSE_GRAPHICS_CONTEXT
wxGraphicsPath m_shapePath;