mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-11 16:39:02 +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> 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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user