summaryrefslogtreecommitdiffstats
path: root/Project/GeneratorStabForm.cpp
diff options
context:
space:
mode:
authorThales Lima <thaleslima.ufu@gmail.com>2017-10-24 22:05:52 -0200
committerThales Lima <thaleslima.ufu@gmail.com>2017-10-24 22:05:52 -0200
commitc53fc819fe6dfe15dc3083b71e0161a68c8b32b5 (patch)
tree887f3a63ceb1e801c0adfa3390d5d56c048a5007 /Project/GeneratorStabForm.cpp
parent39a34b99185b3c046fb4427d07dd333575962e29 (diff)
downloadPSP.git-c53fc819fe6dfe15dc3083b71e0161a68c8b32b5.tar.gz
PSP.git-c53fc819fe6dfe15dc3083b71e0161a68c8b32b5.tar.xz
PSP.git-c53fc819fe6dfe15dc3083b71e0161a68c8b32b5.zip
Some minor fixes for linux version
Diffstat (limited to 'Project/GeneratorStabForm.cpp')
-rw-r--r--Project/GeneratorStabForm.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/Project/GeneratorStabForm.cpp b/Project/GeneratorStabForm.cpp
index ded927c..d1a3c6e 100644
--- a/Project/GeneratorStabForm.cpp
+++ b/Project/GeneratorStabForm.cpp
@@ -83,7 +83,9 @@ void GeneratorStabForm::OnEditAVRButtonClick(wxCommandEvent& event)
cEditor->SetControlContainer(data.avr);
cEditor->Show();
cEditor->SetJustOpened(true);
- //EndModal(wxID_OK);
+ #ifdef __WXGTK__
+ EndModal(wxID_OK);
+ #endif
}
}
@@ -109,7 +111,9 @@ void GeneratorStabForm::OnSpeedGovernorButtonClick(wxCommandEvent& event)
cEditor->SetControlContainer(data.speedGov);
cEditor->Show();
cEditor->SetJustOpened(true);
- //EndModal(wxID_OK);
+ #ifdef __WXGTK__
+ EndModal(wxID_OK);
+ #endif
}
}