mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-04 04:30:36 +08:00
avoid magic numbers
This commit is contained in:
parent
13248521a4
commit
c720619382
@ -82,7 +82,7 @@ MainFrame::MainFrame(const wxString& title, const wxPoint& pos, const wxSize& si
|
||||
/// Private initialization function for the main frame tab panel.
|
||||
void MainFrame::init_tabpanel()
|
||||
{
|
||||
this->tabpanel = new wxAuiNotebook(this, -1, wxDefaultPosition, wxDefaultSize, wxAUI_NB_TOP);
|
||||
this->tabpanel = new wxAuiNotebook(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxAUI_NB_TOP);
|
||||
auto panel = this->tabpanel;
|
||||
|
||||
panel->Bind(wxEVT_AUINOTEBOOK_PAGE_CHANGED, ([=](wxAuiNotebookEvent& e)
|
||||
|
Loading…
x
Reference in New Issue
Block a user