Toggle full screen when double clicking the render window.

This commit is contained in:
Rachel Bryk committed 2013-01-31 03:51:29 -05:00
1 parent 0ffdd2607f
commit de27f0bea9
2 files changed
+3

No files matched your search

+1
View File
@@ -913,6 +913,7 @@ void CFrame::StartGame(const std::string& filename)
wxTheApp->Bind(wxEVT_RIGHT_UP, &CFrame::OnMouse, this);
wxTheApp->Bind(wxEVT_MIDDLE_DOWN, &CFrame::OnMouse, this);
wxTheApp->Bind(wxEVT_MIDDLE_UP, &CFrame::OnMouse, this);
m_RenderParent->Bind(wxEVT_LEFT_DCLICK, &CFrame::OnMouse, this);
wxTheApp->Bind(wxEVT_MOTION, &CFrame::OnMouse, this);
m_RenderParent->Bind(wxEVT_SIZE, &CFrame::OnRenderParentResize, this);
}