]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dataview/dataview.cpp
Don't ask for wxTextAttr colour if it doesn't have any in text sample.
[wxWidgets.git] / samples / dataview / dataview.cpp
index baf7166263b093e198de195a767c771e79c921eb..ed3d828173440f534a0a6d51836a248f127bb5e9 100644 (file)
@@ -242,7 +242,6 @@ bool MyApp::OnInit()
 
     MyFrame *frame =
         new MyFrame(NULL, "wxDataViewCtrl sample", 40, 40, 1000, 540);
-    SetTopWindow(frame);
 
     frame->Show(true);
     return true;