title: Problem with tk_messageBox during Tcl/Tk initialization script
body: <p>With the following Tcl script, the entry widget will not accept input. It appears but is unresponsive.</p>
  
  <pre><code>pack [entry .a] -padx 15 -pady 15
  tk_messageBox -message {test}
  </code></pre>
  
  <p>If I comment out the tk_messageBox line, then the entry widgets works fine. What causes this behavior and how do I fix it?</p>
  
  <p>I'm using Tcl/Tk 8.5.2 on Windows.</p>
  
  <p>To clarify, my problem is that the entry box is broken after the message box is dismissed. The entry box will not accept focus/input and will not display a caret. I've tested this on Windows XP and Vista, using Tcl/Tk I compiled myself, and with the tclkit from <a href="http://www.equi4.com/tclkit/" rel="nofollow noreferrer">Equi4</a>. In each case, the entry doesn't work if a message box is display in the initialization script.</p>
  
  <p>Edit: One more thing. This "bug" is not present if the code is typed into an interactive wish console. It only seems to fail when the code is in a file and wish is invoked from the command line with the file name as an argument.</p>