wxCommandEvent* newEvent = new wxCommandEvent(wxEVT_DISPLAY_CHANGED);
newEvent->SetId(0);
- newEvent->SetInt(library->GetId());
+ newEvent->SetInt(this->library->GetId());
wxPostEvent(this->GetParent(), *newEvent);
wxMessageBox(crea::std2wx("The class has been created successfully."),_T("New Class - Success"),wxOK | wxICON_INFORMATION);