mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 02:37:51 -06:00
Attempt to workaround bug in wxWidgets IsShownOnScreen() method
This commit is contained in:
parent
5f02669d2d
commit
af3d07bb05
8 changed files with 34 additions and 19 deletions
|
@ -1797,9 +1797,9 @@ bool _3DScene::init(wxGLCanvas* canvas)
|
|||
return s_canvas_mgr.init(canvas);
|
||||
}
|
||||
|
||||
bool _3DScene::is_shown_on_screen(wxGLCanvas* canvas)
|
||||
void _3DScene::set_active(wxGLCanvas* canvas, bool active)
|
||||
{
|
||||
return s_canvas_mgr.is_shown_on_screen(canvas);
|
||||
s_canvas_mgr.set_active(canvas, active);
|
||||
}
|
||||
|
||||
unsigned int _3DScene::get_volumes_count(wxGLCanvas* canvas)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue