making a modal window transient, use the source window
as the master and not ".".
* generic/gdbtk-cmds.c (hex2bin): Replace LITTLE_ENDIAN with
BFD_ENDIAN_LITTLE.
+2001-12-11 Ian Roxborough <irox@redhat.com>
+
+ * library/managedwin.itb (ManagedWin::_create): When
+ making a modal window transient, use the source window
+ as the master and not ".".
+
2001-12-10 Ian Roxborough <irox@redhat.com>
* library/interface.tcl (set_target_name): Call "pref getd"
if {$transient} {
wm resizable $top 0 0
- wm transient $top .
+ wm transient $top [winfo toplevel [namespace tail [lindex [ManagedWin::find SrcWin] 0]]]
} elseif {$::tcl_platform(platform) == "unix"} {
# Modal dialogs DONT get Icons...
if {[pref get gdb/use_icons] && ![$newwin isa ModalDialog]} {