X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/97f851007c07fa09d5ee9b3e26a46fe29f2575b8..20125017a4bccd0920ee21e178950b0de0e4d63b:/samples/opengl/penguin/penguin.cpp?ds=sidebyside diff --git a/samples/opengl/penguin/penguin.cpp b/samples/opengl/penguin/penguin.cpp index c0c894069e..b60619ed77 100644 --- a/samples/opengl/penguin/penguin.cpp +++ b/samples/opengl/penguin/penguin.cpp @@ -87,7 +87,7 @@ MyFrame::MyFrame(wxFrame *frame, const wxString& title, const wxPoint& pos, fileMenu->Append(wxID_EXIT, wxT("E&xit\tALT-X")); // Make the "Help" menu wxMenu *helpMenu = new wxMenu; - helpMenu->Append(wxID_HELP, wxT("&About...")); + helpMenu->Append(wxID_HELP, wxT("&About")); wxMenuBar *menuBar = new wxMenuBar; menuBar->Append(fileMenu, wxT("&File")); @@ -124,7 +124,7 @@ void MyFrame::OnMenuFileExit( wxCommandEvent& WXUNUSED(event) ) Close(true); } -// Help|About... command +// Help|About command void MyFrame::OnMenuHelpAbout( wxCommandEvent& WXUNUSED(event) ) { wxMessageBox(wxT("OpenGL Penguin Sample (c) Robert Roebling, Sandro Sigala et al")); @@ -276,7 +276,7 @@ void TestGLCanvas::InitGL() static const GLfloat light1_color[4] = { 0.4f, 0.4f, 1.0f, 1.0f }; /* remove back faces */ - glDisable(GL_CULL_FACE); + glEnable(GL_CULL_FACE); glEnable(GL_DEPTH_TEST); /* speedups */