1 2 3 4 5 6
void MainWindow::openAddWindow(wxCommandEvent& event) { AddWindow* frame = new AddWindow(wxString(_T("XML resources demo")), wxPoint(50, 50), wxSize(800, 600), this); fillGrid(*frame->grid_, *library_); frame->Show(true); this->Show(false); }