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