X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d705dfa81cd65de8fe900a45b80494fa201ef0a..490da436c859b499a7726acd06af02304b0d925f:/samples/opengl/cube/cube.cpp diff --git a/samples/opengl/cube/cube.cpp b/samples/opengl/cube/cube.cpp index a617a4c756..02bf45444a 100644 --- a/samples/opengl/cube/cube.cpp +++ b/samples/opengl/cube/cube.cpp @@ -279,8 +279,8 @@ void TestGLCanvas::OnSize(wxSizeEvent& event) wxGLCanvas::OnSize(event); // set GL viewport (not called by wxGLCanvas::OnSize on all platforms...) - int w, h; - GetClientSize(&w, &h); + int w, h; + GetClientSize(&w, &h); #ifndef __WXMOTIF__ if (GetContext()) #endif @@ -385,7 +385,7 @@ void TestGLCanvas::OnKeyDown( wxKeyEvent& event ) Action( m_Key, m_LastTime-m_StartTime, currTime-m_StartTime ); #if defined(__WXMAC__) && !defined(__DARWIN__) - m_LastRedraw = currTime; // wxStopWatch() doesn't work on Mac... + m_LastRedraw = currTime; // wxStopWatch() doesn't work on Mac... #else m_LastRedraw = wxStopWatch(&m_secbase) - m_gsynct; #endif