Do not make bitmap buttons with standard width (like in wxComboBox drop down button).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-11-19 15:55:24 +00:00
parent 3f5ca6b1c3
commit 06aa40d92c

View File

@@ -4217,6 +4217,12 @@ void wxWin32Renderer::AdjustSize(wxSize *size, const wxWindow *window)
}
#endif // wxUSE_SCROLLBAR/!wxUSE_SCROLLBAR
#if wxUSE_BMPBUTTON
if ( wxDynamicCast(window, wxBitmapButton) )
{
// do nothing
} else
#endif // wxUSE_BMPBUTTON
#if wxUSE_BUTTON
if ( wxDynamicCast(window, wxButton) )
{