X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0eec47e4a244d62b086476260e6629288b162f14..c657294b529b8bbef4fb3263f0c7e53dd368f802:/src/gtk/button.cpp diff --git a/src/gtk/button.cpp b/src/gtk/button.cpp index cf3fb8b26a..d668fb6cce 100644 --- a/src/gtk/button.cpp +++ b/src/gtk/button.cpp @@ -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