summaryrefslogtreecommitdiffstats
path: root/Project/ControlEditor.h
diff options
context:
space:
mode:
Diffstat (limited to 'Project/ControlEditor.h')
-rw-r--r--Project/ControlEditor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Project/ControlEditor.h b/Project/ControlEditor.h
index f77f350..2aed0e9 100644
--- a/Project/ControlEditor.h
+++ b/Project/ControlEditor.h
@@ -23,6 +23,7 @@
#include <wx/dcclient.h>
#include <wx/dcscreen.h>
#include <wx/graphics.h>
+#include <windows.h>
#include <GL/gl.h>
#include <GL/glu.h>
@@ -119,7 +120,7 @@ class ControlEditor : public ControlEditorBase
MODE_DRAG_PASTE
};
- ControlEditor(wxWindow* parent,
+ ControlEditor(wxWindow* parent, wxGLContext* sharedGLContext,
int ioflags = IOControl::IN_TERMINAL_VOLTAGE | IOControl::IN_VELOCITY | IOControl::OUT_FIELD_VOLTAGE |
IOControl::OUT_MEC_POWER);
virtual ~ControlEditor();