]> git.saurik.com Git - wxWidgets.git/commit
On wxGTK2 the label woudl not be realigned if SetLabel was called with
authorRobin Dunn <robin@alldunn.com>
Wed, 2 Jun 2004 20:26:49 +0000 (20:26 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 2 Jun 2004 20:26:49 +0000 (20:26 +0000)
commitb2fcfd94d34b25233a0bf14f3ac388ae747bccb7
tree1ee931cdb838263f8fab3c5186ac3ec1059777d7
parentfe3d568d3d19d7f144e09d978e42fbad2fed875f
On wxGTK2 the label woudl not be realigned if SetLabel was called with
a new label.  Changed it to use gtk_button_set_label so that the
widget would care of doing it, and also to create with widget with
gtk_button_new_with_mnemonic so the mnemonic behaviour would be
preserved.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/gtk/button.cpp
src/gtk1/button.cpp