Fix crash on OSX. (It appears the DC isn't used anyway.)

This commit is contained in:
Jeff Young 2020-04-10 22:48:19 +01:00
parent 84944524cc
commit 191d4daf53
1 changed files with 0 additions and 2 deletions

View File

@ -226,8 +226,6 @@ void C3D_MODEL_VIEWER::ogl_set_arrow_material()
void C3D_MODEL_VIEWER::OnPaint( wxPaintEvent &event )
{
wxPaintDC( this );
event.Skip( false );
// SwapBuffer requires the window to be shown before calling