mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-31 12:42:02 +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 {
|
namespace Slic3r { namespace GUI {
|
||||||
|
|
||||||
Scene3D::Scene3D(wxWindow* parent, const wxSize& size) :
|
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);
|
this->glContext = new wxGLContext(this);
|
||||||
|
@ -4,7 +4,8 @@
|
|||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#include <wx/wx.h>
|
#include <wx/wx.h>
|
||||||
#endif
|
#endif
|
||||||
#include <wx/glcanvas.h>
|
|
||||||
|
#include <wx/glcanvas.h>
|
||||||
#include "Settings.hpp"
|
#include "Settings.hpp"
|
||||||
#include "Point.hpp"
|
#include "Point.hpp"
|
||||||
#include "3DScene.hpp"
|
#include "3DScene.hpp"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user