Uninitialised variable initialised (state in OnIdle)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -4382,7 +4382,7 @@ void wxWindow::OnIdle(wxIdleEvent& event)
|
||||
// Generate a LEAVE event
|
||||
m_mouseInWindow = FALSE;
|
||||
|
||||
int state;
|
||||
int state = 0;
|
||||
if (::GetKeyState(VK_SHIFT) != 0)
|
||||
state |= MK_SHIFT;
|
||||
if (::GetKeyState(VK_CONTROL) != 0)
|
||||
|
Reference in New Issue
Block a user