Commit 0225aeea authored by Ben Boeckel's avatar Ben Boeckel

Merge remote-tracking branch...

Merge remote-tracking branch 'gl/Xabi/release-6.3-enable-DoubleClick-for-Win32OpenGLRenderWindow' into release-6.3

* gl/Xabi/release-6.3-enable-DoubleClick-for-Win32OpenGLRenderWindow:
  Set the CS_DBLCLKS  flag to receive double-click notifications
parents a09ee93a 6364c9d2
......@@ -938,7 +938,7 @@ void vtkWin32OpenGLRenderWindow::CreateAWindow()
if (!GetClassInfo(this->ApplicationInstance, "vtkOpenGL", &wndClass))
#endif
{
wndClass.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC;
wndClass.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC | CS_DBLCLKS;
wndClass.lpfnWndProc = vtkWin32OpenGLRenderWindow::WndProc;
wndClass.cbClsExtra = 0;
wndClass.hInstance = this->ApplicationInstance;
......
......@@ -932,7 +932,7 @@ void vtkWin32OpenGLRenderWindow::CreateAWindow()
if (!GetClassInfo(this->ApplicationInstance,"vtkOpenGL",&wndClass))
#endif
{
wndClass.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC;
wndClass.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC | CS_DBLCLKS;
wndClass.lpfnWndProc = vtkWin32OpenGLRenderWindow::WndProc;
wndClass.cbClsExtra = 0;
wndClass.hInstance = this->ApplicationInstance;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment