scrollbar fixes and workaround for redraw problems w/o erase , setbitmap triggers refresh

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2001-05-23 06:24:17 +00:00
parent a49afa93ca
commit 2883443e90
4 changed files with 4 additions and 2 deletions

View File

@@ -63,6 +63,7 @@ void wxStaticBitmap::SetSize(int x, int y, int width, int height, int sizeFlags)
void wxStaticBitmap::SetBitmap(const wxBitmap& bitmap)
{
m_messageBitmap = bitmap;
Refresh() ;
SetSizeOrDefault();
}