Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'xs/src/slic3r/GUI/GLCanvas3D.hpp')
-rw-r--r--xs/src/slic3r/GUI/GLCanvas3D.hpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/xs/src/slic3r/GUI/GLCanvas3D.hpp b/xs/src/slic3r/GUI/GLCanvas3D.hpp
index 237044e83..b0706a05d 100644
--- a/xs/src/slic3r/GUI/GLCanvas3D.hpp
+++ b/xs/src/slic3r/GUI/GLCanvas3D.hpp
@@ -401,9 +401,6 @@ private:
Model* m_model;
bool m_dirty;
- // the active member has been introduced to overcome a bug in wxWidgets method IsShownOnScreen() which always return true
- // when a window is inside a wxNotebook
- bool m_active;
bool m_initialized;
bool m_use_VBOs;
bool m_force_zoom_to_bed_enabled;
@@ -444,14 +441,13 @@ private:
PerlCallback m_on_gizmo_scale_uniformly_callback;
public:
- GLCanvas3D(wxGLCanvas* canvas, wxGLContext* context);
+ GLCanvas3D(wxGLCanvas* canvas);
~GLCanvas3D();
bool init(bool useVBOs, bool use_legacy_opengl);
- bool set_current(bool force);
+ bool set_current();
- void set_active(bool active);
void set_as_dirty();
unsigned int get_volumes_count() const;