mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 15:21:21 -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
|
@ -190,13 +190,12 @@ remove_all_canvases()
|
|||
CODE:
|
||||
_3DScene::remove_all_canvases();
|
||||
|
||||
bool
|
||||
is_shown_on_screen(canvas)
|
||||
SV *canvas;
|
||||
void
|
||||
set_active(canvas, active)
|
||||
SV *canvas;
|
||||
bool active;
|
||||
CODE:
|
||||
RETVAL = _3DScene::is_shown_on_screen((wxGLCanvas*)wxPli_sv_2_object(aTHX_ canvas, "Wx::GLCanvas"));
|
||||
OUTPUT:
|
||||
RETVAL
|
||||
_3DScene::set_active((wxGLCanvas*)wxPli_sv_2_object(aTHX_ canvas, "Wx::GLCanvas"), active);
|
||||
|
||||
unsigned int
|
||||
get_volumes_count(canvas)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue