]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/button.cpp
better naming wxCFEventLoopPauseIdleEvents
[wxWidgets.git] / src / gtk / button.cpp
index cf3fb8b26aea5aaff6be2c5278e78b97a5e25134..d668fb6cce6c1e53d9698424d4bd1d5dd890e1d5 100644 (file)
@@ -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