mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-12 04:49:00 +08:00
use wxID_ANY instead of -1 for calling preview notebook
This commit is contained in:
parent
d44f63059c
commit
dc626de8b3
@ -66,7 +66,7 @@ private:
|
|||||||
std::stack<UndoOperation> undo {};
|
std::stack<UndoOperation> undo {};
|
||||||
std::stack<UndoOperation> redo {};
|
std::stack<UndoOperation> 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)};
|
wxBoxSizer* right_sizer {new wxBoxSizer(wxVERTICAL)};
|
||||||
|
|
||||||
wxToolBar* htoolbar {nullptr}; //< toolbar for non-MSW platforms.
|
wxToolBar* htoolbar {nullptr}; //< toolbar for non-MSW platforms.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user