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:
@@ -4217,6 +4217,12 @@ void wxWin32Renderer::AdjustSize(wxSize *size, const wxWindow *window)
|
|||||||
}
|
}
|
||||||
#endif // wxUSE_SCROLLBAR/!wxUSE_SCROLLBAR
|
#endif // wxUSE_SCROLLBAR/!wxUSE_SCROLLBAR
|
||||||
|
|
||||||
|
#if wxUSE_BMPBUTTON
|
||||||
|
if ( wxDynamicCast(window, wxBitmapButton) )
|
||||||
|
{
|
||||||
|
// do nothing
|
||||||
|
} else
|
||||||
|
#endif // wxUSE_BMPBUTTON
|
||||||
#if wxUSE_BUTTON
|
#if wxUSE_BUTTON
|
||||||
if ( wxDynamicCast(window, wxButton) )
|
if ( wxDynamicCast(window, wxButton) )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user