]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/docvwmdi/view.cpp
wxMAC added
[wxWidgets.git] / samples / docvwmdi / view.cpp
index 80adc134672d3f41f137e967d7036a703884553f..5a41fff149c4c951edd78799b584cbd4e72400d3 100644 (file)
@@ -57,6 +57,7 @@ bool DrawingView::OnCreate(wxDocument *doc, long WXUNUSED(flags) )
     frame->SetSize(-1, -1, x, y);
 #endif
     frame->Show(TRUE);
+    Activate(TRUE);
 
     return TRUE;
 }