wxWindow::GetBestSize() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -140,7 +140,7 @@ void wxStaticBitmap::Free()
|
||||
m_image.icon = NULL;
|
||||
}
|
||||
|
||||
wxSize wxStaticBitmap::DoGetBestSize()
|
||||
wxSize wxStaticBitmap::DoGetBestSize() const
|
||||
{
|
||||
// reuse the current size (as wxWindow does) instead of using some
|
||||
// arbitrary default size (as wxControl, our immediate base class, does)
|
||||
|
Reference in New Issue
Block a user