From dc626de8b34eb96884751f704e48e0c1b4565114 Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Wed, 9 May 2018 21:49:04 -0500 Subject: [PATCH] use wxID_ANY instead of -1 for calling preview notebook --- src/GUI/Plater.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GUI/Plater.hpp b/src/GUI/Plater.hpp index 977066f19..8e90937b9 100644 --- a/src/GUI/Plater.hpp +++ b/src/GUI/Plater.hpp @@ -66,7 +66,7 @@ private: std::stack undo {}; std::stack redo {}; - wxNotebook* preview_notebook {new wxNotebook(this, -1, wxDefaultPosition, wxSize(335,335), wxNB_BOTTOM)}; + wxNotebook* preview_notebook {new wxNotebook(this, wxID_ANY, wxDefaultPosition, wxSize(335,335), wxNB_BOTTOM)}; wxBoxSizer* right_sizer {new wxBoxSizer(wxVERTICAL)}; wxToolBar* htoolbar {nullptr}; //< toolbar for non-MSW platforms.