// 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 );