Fix crash on OSX. (It appears the DC isn't used anyway.)
This commit is contained in:
parent
84944524cc
commit
191d4daf53
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue