56
56
// although on MSW it works even if the window is still hidden, it doesn't
57
57
// work in other ports (notably X11-based ones) and documentation mentions
58
58
// that SetCurrent() can only be called for a shown window, so check for it
62
62
return context.SetCurrent(*static_cast<const wxGLCanvas *>(this));