fix warnings about conversion to bool, closes #14381
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -295,7 +295,7 @@ wxSize wxButton::DoGetBestSize() const
|
||||
// extra border around it, but we don't want to take it into account in
|
||||
// our size calculations (otherwise the result is visually ugly), so
|
||||
// always return the size of non default button from here
|
||||
const bool isDefault = gtk_widget_has_default(m_widget);
|
||||
const bool isDefault = gtk_widget_has_default(m_widget) != 0;
|
||||
if ( isDefault )
|
||||
{
|
||||
// temporarily unset default flag
|
||||
|
Reference in New Issue
Block a user