// implement base class pure virtuals
- virtual bool SetShape(const wxRegion& region);
-
virtual bool SetTransparent(wxByte alpha);
virtual bool CanSetTransparent();
// implementation from now on
// --------------------------
+ virtual bool DoSetShape(const wxRegion& region);
+
// activation hooks only necessary for MDI Implementation
static void MacDelayedDeactivation(long timestamp);
virtual void MacActivate( long timestamp , bool inIsActivating ) ;
virtual wxPoint GetClientAreaOrigin() const;
+ virtual bool SetShape(const wxRegion& region)
+ { return DoSetShape(region); }
+
// Attracts the users attention to this window if the application is
// inactive (should be called when a background event occurs)
virtual void RequestUserAttention(int flags = wxUSER_ATTENTION_INFO);
// ---------------------------------------------------------------------------
-bool wxNonOwnedWindow::SetShape(const wxRegion& region)
+bool wxNonOwnedWindow::DoSetShape(const wxRegion& region)
{
wxCHECK_MSG( HasFlag(wxFRAME_SHAPED), false,
_T("Shaped windows must be created with the wxFRAME_SHAPED style."));
if ( rgn.IsEmpty() )
return false ;
else
- return SetShape(rgn);
+ return DoSetShape(rgn);
}
return m_nowpeer->SetShape(region);