void SetImage(Image* pimage, const WinRect& rect) { m_pimage = pimage; if (rect.Size() != GetSize()) NeedLayout(); NeedPaint(); }
void UpdateLayout() { InternalSetSize(m_rect.Size()); Pane::UpdateLayout(); }