title: How to make a wxFrame behave like a modal wxDialog object
body: <p>Is is possible to make a wxFrame object behave like a modal dialog box in that the window creating the wxFrame object stops execution until the wxFrame object exits?</p>
  
  <p>I'm working on a <a href="http://www.starfrontiers.info/forum/viewforum.php?f=7" rel="nofollow noreferrer">small game</a> and have run into the following problem.  I have a main program window that hosts the main application (strategic portion).  Occasionally, I need to transfer control to a second window for resolution of part of the game (tactical portion).  While in the second window, I want the processing in the first window to stop and wait for completion of the work being done in the second window.</p>
  
  <p>Normally a modal dialog would do the trick but I want the new window to have some functionality that I can't seem to get with a wxDialog, namely a status bar at the bottom and the ability to resize/maximize/minimize the window (this should be possible but doesn't work, see this question <a href="https://stackoverflow.com/questions/883536/how-to-get-the-minimize-and-maximize-buttons-to-appear-on-a-wxdialog-object">How to get the minimize and maximize buttons to appear on a wxDialog object</a>).  </p>
  
  <p>As an addition note, I want the second window's functionality needs to stay completely decoupled from the primary window as it will be spun off into a separate program eventually.</p>
  
  <p>Has anyone done this or have any suggestions?</p>