Hide cursor in GSFrame

Implements #2054
This commit is contained in:
Nekotekina 2017-04-30 18:21:15 +03:00
commit 2845617053

View file

@ -17,6 +17,7 @@ GSFrame::GSFrame(const wxString& title, int w, int h)
{ {
m_render = title; m_render = title;
SetIcon(wxGetApp().m_MainFrame->GetIcon()); SetIcon(wxGetApp().m_MainFrame->GetIcon());
SetCursor(wxCursor(wxImage(1, 1)));
SetClientSize(w, h); SetClientSize(w, h);
wxGetApp().Bind(wxEVT_KEY_DOWN, &GSFrame::OnKeyDown, this); wxGetApp().Bind(wxEVT_KEY_DOWN, &GSFrame::OnKeyDown, this);