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