X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b7ea712cc26f4289211f4a24e308f40ff6445991..216d173fba2d33cd32c1c069dbeb803efc8e7860:/src/msw/glcanvas.cpp diff --git a/src/msw/glcanvas.cpp b/src/msw/glcanvas.cpp index 64f90c4ef2..39e37c4f84 100644 --- a/src/msw/glcanvas.cpp +++ b/src/msw/glcanvas.cpp @@ -549,9 +549,9 @@ void wxGLCanvas::OnSize(wxSizeEvent& WXUNUSED(event)) void wxGLCanvas::SetCurrent(const wxGLContext& RC) const { // although on MSW it works even if the window is still hidden, it doesn't - // under wxGTK and documentation mentions that SetCurrent() can only be - // called for a shown window, so check it - wxASSERT_MSG( GetParent()->IsShown(), _T("can't make hidden GL canvas current") ); + // under wxGTK and documentation mentions that SetCurrent() can only be + // called for a shown window, so check it + wxASSERT_MSG( GetParent()->IsShown(), _T("can't make hidden GL canvas current") ); RC.SetCurrent(*this); }