diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2020-06-02 21:47:06 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2020-06-02 21:47:06 -0300 |
commit | 113a35d0fe8938973fa1c100b77f456ed250e61b (patch) | |
tree | 586d1c3113082cbb2b92cd46c3c96a25a0e75e67 /Project/StabilityEventList.cpp | |
parent | 6ce2bdcf85dffee6b6ef7b95b888b8b96372a3d6 (diff) | |
download | PSP.git-113a35d0fe8938973fa1c100b77f456ed250e61b.tar.gz PSP.git-113a35d0fe8938973fa1c100b77f456ed250e61b.tar.xz PSP.git-113a35d0fe8938973fa1c100b77f456ed250e61b.zip |
OpenGL bugfixes and wxGC port alternative init
OpenGL major bugfixes;
Device context port alternative to OpenGL code init (WorkspaceDC). Some machines don't support OpenGL 3+;
Fixed some issues with MSVC.
Diffstat (limited to 'Project/StabilityEventList.cpp')
-rw-r--r-- | Project/StabilityEventList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Project/StabilityEventList.cpp b/Project/StabilityEventList.cpp index a0c7922..f976ead 100644 --- a/Project/StabilityEventList.cpp +++ b/Project/StabilityEventList.cpp @@ -148,7 +148,7 @@ void StabilityEventList::SetPowerElementSwitchingEvent(PowerElement* element, wx { SwitchingData swData = element->GetSwitchingData(); for(unsigned int i = 0; i < swData.swTime.size(); ++i) { - if(swData.swType[i] == SW_INSERT) { + if(swData.swType[i] == SwitchingType::SW_INSERT) { AddEvent(swData.swTime[i], _("Switching"), _("Insertion of \"") + elementName + _("\""), m_blueColour); } else { AddEvent(swData.swTime[i], _("Switching"), _("Removal of \"") + elementName + _("\""), m_redColour); |