make sure the language-specific toolbar buttons are put into the toolbar in the right order initially

closes PR 12068
This commit is contained in:
Robby Findler 2011-07-21 14:15:11 -05:00
parent 1c2f4ab05c
commit 754b4df5e8

View File

@ -41,7 +41,9 @@
(λ (old-button) (send (get-frame) remove-toolbar-button old-button))
toolbar-buttons)
(set! toolbar-buttons bs)
(send (get-frame) register-toolbar-buttons toolbar-buttons))
(send (get-frame) register-toolbar-buttons toolbar-buttons)
(send (send (get-frame) get-toolbar-button-panel) change-children
(λ (l) toolbar-buttons)))
(super-new)))
(define frame<%> (interface ()))