Fix a gcc warning introduced by the previous commit

Reverting the commits broke indentation, which resulted in
-Wmisleading-indentation from (recent) gcc, so fix it by indenting the
restored "if" properly.

See #13130.
This commit is contained in:
Vadim Zeitlin
2021-08-26 23:11:56 +01:00
parent 051418ac00
commit fbc6462375

View File

@@ -590,8 +590,8 @@ wxSize wxAnyButton::DoGetBestSize() const
if ( ::SendMessage(GetHwnd(), BCM_GETIDEALSIZE, 0, (LPARAM)&idealSize) )
size.Set(idealSize.cx, idealSize.cy);
if ( m_imageData )
AdjustForBitmapMargins(size);
if ( m_imageData )
AdjustForBitmapMargins(size);
}
// If we failed to set the size using BCM_GETIDEALSIZE above, determine it