]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/doxygen/overviews/helloworld.h
Finished review of Application Initialization and Termination category of functions...
[wxWidgets.git] / docs / doxygen / overviews / helloworld.h
index 61f607bd456484a809ee2b4745c007134fd86a6f..1f1390ce62d59bc98e4de6dec148b8017ac38b43 100644 (file)
@@ -6,9 +6,9 @@
 // Licence:     wxWindows license
 /////////////////////////////////////////////////////////////////////////////
 
-/*!
+/**
 
- @page overview_helloworld wxWidgets Hello World sample
+ @page overview_helloworld Hello World Example
 
  Many people have requested a mini-sample to be published here
  so that some quick judgment concerning syntax
  bool MyApp::OnInit()
  {
      MyFrame *frame = new MyFrame( "Hello World", wxPoint(50,50), wxSize(450,340) );
-     frame-Show( true );
+     frame->Show( true );
      SetTopWindow( frame );
      return true;
  }
  {
      wxMenu *menuFile = new wxMenu;
 
-     menuFile-Append( ID_About, "" );
-     menuFile-AppendSeparator();
-     menuFile-Append( ID_Quit, "E" );
+     menuFile->Append( ID_About, "" );
+     menuFile->AppendSeparator();
+     menuFile->Append( ID_Quit, "E" );
 
      wxMenuBar *menuBar = new wxMenuBar;
-     menuBar-Append( menuFile, "" );
+     menuBar->Append( menuFile, "" );
 
      SetMenuBar( menuBar );