fixed @code sections

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2008-03-02 15:18:23 +00:00
parent 023b8f7192
commit 38b5b4938f
7 changed files with 29 additions and 29 deletions

View File

@@ -123,7 +123,7 @@
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;
}
@@ -139,12 +139,12 @@
{
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 );