mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-30 16:21:59 +08:00
Use wxWidgets 3.0.x+ constructor for glcanvas.
This commit is contained in:
parent
a9b3b0ab7f
commit
4b130e793b
@ -8,7 +8,7 @@
|
||||
namespace Slic3r { namespace GUI {
|
||||
|
||||
Scene3D::Scene3D(wxWindow* parent, const wxSize& size) :
|
||||
wxGLCanvas(parent, wxID_ANY, wxDefaultPosition, size)
|
||||
wxGLCanvas(parent, wxID_ANY, nullptr, wxDefaultPosition, size)
|
||||
{
|
||||
|
||||
this->glContext = new wxGLContext(this);
|
||||
|
@ -4,7 +4,8 @@
|
||||
#ifndef WX_PRECOMP
|
||||
#include <wx/wx.h>
|
||||
#endif
|
||||
#include <wx/glcanvas.h>
|
||||
|
||||
#include <wx/glcanvas.h>
|
||||
#include "Settings.hpp"
|
||||
#include "Point.hpp"
|
||||
#include "3DScene.hpp"
|
||||
|
Loading…
x
Reference in New Issue
Block a user