]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/button.cpp
Supress SetFocus() warning in wxVListBoxComboPopup
[wxWidgets.git] / src / gtk / button.cpp
index 8fe4d861bb69e1997da6f0e2032890311d4aa734..88e29ac4f310bb3b297b8dbbb21c76d63e4feba9 100644 (file)
@@ -664,6 +664,7 @@ void wxButton::DoSetBitmapPosition(wxDirection dir)
         }
 
         gtk_button_set_image_position(GTK_BUTTON(m_widget), gtkpos);
+        InvalidateBestSize();
     }
 #endif // GTK+ 2.10+
 }