projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
another compilation fix for after last check in
[wxWidgets.git]
/
src
/
gtk
/
statbmp.cpp
diff --git
a/src/gtk/statbmp.cpp
b/src/gtk/statbmp.cpp
index 48a8dafe73e7241e5735e3dacecd62cb3755b5d3..6ec5169750287457e07e8433c6b49035c6150010 100644
(file)
--- a/
src/gtk/statbmp.cpp
+++ b/
src/gtk/statbmp.cpp
@@
-113,7
+113,8
@@
void wxStaticBitmap::SetBitmap( const wxBitmap &bitmap )
gtk_pixmap_set( GTK_PIXMAP(m_widget), m_bitmap.GetPixmap(), mask );
}
- SetBestSize(wxSize(bitmap.GetWidth(), bitmap.GetHeight()));
+ InvalidateBestSize();
+ SetSize(GetBestSize());
}
}