Imgui: Implement keyboard input, fix #1797

This commit is contained in:
Vojtech Kral 2019-02-15 15:35:32 +01:00
parent 3901ac47d1
commit 2de814d478
5 changed files with 128 additions and 10 deletions

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)