goes all the way to the edges. Give the button a few extra pixels to
work around that.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26182
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
wxSize ret( wxControl::DoGetBestSize() );
+#ifndef __WXGTK20__
+ ret.x += 10; // add a few pixels for sloppy (but common) themes
+#endif
+
if (!HasFlag(wxBU_EXACTFIT))
{
if (ret.x < 80) ret.x = 80;
{
wxSize ret( wxControl::DoGetBestSize() );
+#ifndef __WXGTK20__
+ ret.x += 10; // add a few pixels for sloppy (but common) themes
+#endif
+
if (!HasFlag(wxBU_EXACTFIT))
{
if (ret.x < 80) ret.x = 80;