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:
@@ -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 );
|
||||
|
||||
|
Reference in New Issue
Block a user