Imgui: Implement keyboard input, fix #1797

This commit is contained in:
Vojtech Kral committed 2019-02-20 16:12:41 +01:00
1 parent 3901ac47d1
commit 2de814d478
5 files changed
+128 -10

No files matched your search

+1 -1
View File
@@ -233,7 +233,7 @@ wxGLCanvas* GLCanvas3DManager::create_wxglcanvas(wxWindow *parent)
attribList[4] = 0;
}
return new wxGLCanvas(parent, wxID_ANY, attribList);
return new wxGLCanvas(parent, wxID_ANY, attribList, wxDefaultPosition, wxDefaultSize, wxWANTS_CHARS);
}
GLCanvas3DManager::CanvasesMap::iterator GLCanvas3DManager::_get_canvas(wxGLCanvas* canvas)