Some tweaks.

pull/34/head
Jussi Pakkanen 10 years ago
parent 59b7fa8ed3
commit da28de2407
  1. 7
      test cases/frameworks/9 wxwidgets/wxprog.cpp

@ -26,7 +26,7 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
menuBar->Append(menuHelp, "&Help");
SetMenuBar(menuBar);
CreateStatusBar();
SetStatusText( "Welcome to wxWidgets!" );
SetStatusText("This is status." );
}
void MyFrame::OnExit(wxCommandEvent& event) {
@ -34,12 +34,11 @@ void MyFrame::OnExit(wxCommandEvent& event) {
}
void MyFrame::OnAbout(wxCommandEvent& event) {
wxMessageBox( "This is a wxWidgets' Hello world sample",
"About Hello World", wxOK | wxICON_INFORMATION );
wxMessageBox( "Some text", wxOK | wxICON_INFORMATION );
}
void MyFrame::OnHello(wxCommandEvent& event) {
wxLogMessage("Hello world from wxWidgets!");
wxLogMessage("Some more text.");
}
#if 0

Loading…
Cancel
Save