title: wxWidgets - cannot bring frame to top
body: <p><strong>EDIT:</strong></p>
  
  <p>This question isn't about briging a window to the front of EVERYTHING, just for my specifc application. I'd like the frame they were interacting with to be behind the new frame. Much like a dialog, except that it is not a dialog.  I don't think this is bad practice, something was summoned (in this case via a menu) I expect it to be infront of the window I used to summon it. </p>
  
  <hr>
  
  <p>I just read <a href="https://stackoverflow.com/questions/2550660/how-can-i-ensure-that-a-wxframe-is-brought-to-the-foreground">How can I ensure that a wxFrame is brought to the foreground?</a> and that didn't work either.</p>
  
  <p><code>SetFocus();</code> makes the window want my attention (it flashes in my task bar in the case of my platform, GTK and MATE task bar if that matters)</p>
  
  <p><code>Raise();</code> does.... nothing </p>
  
  <p><code>Show();</code> shows it, obviously, but despite it's newly created status nothing happens.</p>
  
  <p><strong>Weirdly clicking the window doesn't bring it to the front</strong> until after I have done something in the parent despite showing as the thing I am interacting with in the task bar. I am using all the 3 of the above (Show, SetFocus then Raise). </p>
  
  <p>I've read <code>Raise</code>'s documentation ( <a href="http://docs.wxwidgets.org/trunk/classwx_window.html#a54808c933f22a891c5db646f6209fa4d" rel="nofollow noreferrer">http://docs.wxwidgets.org/trunk/classwx_window.html#a54808c933f22a891c5db646f6209fa4d</a> ) <code>Raise</code> and <code>Lower</code> are "z-order functions" - this suggests that it's supposed to do this. I have never really had much success with it though. I'd be really really nice if the starting frame came to the foreground whenever I run for example, but given the amount of times I press run and the project is built compared to the amount of time spent writing code and the fact creating a new folder even is more frequent, I've put up with it.</p>
  
  <p>It'd be nice to get it fixed!</p>
  
  <p><strong>Addendum</strong></p>
  
  <p>Using <code>Lower</code> on the parent hasn't worked. There will be 64 less a few obvious ways to try this, I really want to avoid stumbling about.</p>