diff options
author | Thales1330 <thaleslima.ufu@gmail.com> | 2016-09-09 17:01:27 -0300 |
---|---|---|
committer | Thales1330 <thaleslima.ufu@gmail.com> | 2016-09-09 17:01:27 -0300 |
commit | 66fd00eda79d106d07617ebdeb90cdd46786e691 (patch) | |
tree | 581b97a83c6a457a2461601fcd1039d801ffa62e /Project/Bus.cpp | |
parent | 122d124108384bb4579b6d96956b931d7221d3c1 (diff) | |
download | PSP.git-66fd00eda79d106d07617ebdeb90cdd46786e691.tar.gz PSP.git-66fd00eda79d106d07617ebdeb90cdd46786e691.tar.xz PSP.git-66fd00eda79d106d07617ebdeb90cdd46786e691.zip |
Bus form under implementation
Diffstat (limited to 'Project/Bus.cpp')
-rw-r--r-- | Project/Bus.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Project/Bus.cpp b/Project/Bus.cpp index a2391f8..d85b6e0 100644 --- a/Project/Bus.cpp +++ b/Project/Bus.cpp @@ -165,3 +165,16 @@ bool Bus::GetContextMenu(wxMenu& menu) GeneralMenuItens(menu); return true; } + +bool Bus::ShowForm(wxWindow* parent) +{ + BusForm* busForm = new BusForm(parent); + if(busForm->ShowModal() == wxID_OK){ + + busForm->Destroy(); + return true; + } + + busForm->Destroy(); + return false; +} |