Back out wxGLAttributes update until needed.

This commit is contained in:
Charles J. Cliffe
2016-04-07 20:00:59 -04:00
parent 4a64104050
commit 9ac31040d5
19 changed files with 24 additions and 23 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ EVT_MOUSEWHEEL(TuningCanvas::OnMouseWheelMoved)
//EVT_KEY_UP(TuningCanvas::OnKeyUp)
wxEND_EVENT_TABLE()
TuningCanvas::TuningCanvas(wxWindow *parent, const wxGLAttributes& dispAttrs) :
TuningCanvas::TuningCanvas(wxWindow *parent, int *dispAttrs) :
InteractiveCanvas(parent, dispAttrs), dragAccum(0), uxDown(0), top(false), bottom(false), freq(-1), bw(-1), center(-1), halfBand(false) {
glContext = new TuningContext(this, &wxGetApp().GetContext(this));