diff --git a/samples/xrc/xrcdemo.cpp b/samples/xrc/xrcdemo.cpp index 64b0309f60..966500abb1 100644 --- a/samples/xrc/xrcdemo.cpp +++ b/samples/xrc/xrcdemo.cpp @@ -111,11 +111,11 @@ bool MyApp::OnInit() wxXmlResource::Get()->Load(wxT("rc/variable.xrc")); // Make an instance of your derived frame. Passing NULL (the default value - // of MyFrame's constructor is NULL) as the frame doesn't have a frame - // since it is the first window. + // of MyFrame's constructor is NULL) as the frame doesn't have a parent + // since it is the main application window. MyFrame *frame = new MyFrame(); - // Show the frame. + // Show the frame as it's created initially hidden. frame->Show(true); // Return true to tell program to continue (false would terminate).