Added wxStaticBitmap::SetIcon()

wxDC now inits with a WHITE_BRUSH as wxMSW seems to
   do the same
  small doc updates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-07-25 14:38:28 +00:00
parent a58d5df4ef
commit 41bf0eb335
6 changed files with 18 additions and 6 deletions

View File

@@ -74,6 +74,12 @@ public:
return (const wxIcon &)m_bitmap;
}
// for compatibility with wxMSW
void SetIcon(const wxIcon& icon)
{
SetBitmap( icon );
}
private:
// creates the new pixmap widget
void CreatePixmapWidget();