]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/xrc/xrcdemo.cpp
[wxGTK2] Runtime check for pango_font_family_is_monospace in wxFont::GetFamily (gtk2...
[wxWidgets.git] / samples / xrc / xrcdemo.cpp
index 64b0309f60be9f2c2cee52de4f16a83037f86344..966500abb1a7d0276026303a3af42d19eecdb0a8 100644 (file)
@@ -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).