- std::string* result;
- //wxProgressDialog* loadBar = new wxProgressDialog(wxT("Compiling"), wxT("Please wait while the compilation is executing..."), 100, this);
- //loadBar->Pulse();
- if(!this->project->Build(result, buildDlgStr))
+ this->project->SetBuildPath(crea::wx2std(file), result);
+
+ wxTextEntryDialog* buildDlg = new wxTextEntryDialog(
+ this,
+ wxT("Check the compilation instruction:"),
+ wxT("Project Compilation - CreaDevManager"),
+ crea::std2wx(this->project->GetBuildInstruction()),
+ wxTE_MULTILINE | wxOK | wxCANCEL
+ );
+
+ if (buildDlg->ShowModal() == wxID_OK)