Commit 3984c835 authored by Ben Boeckel's avatar Ben Boeckel Committed by Kitware Robot

Merge topic 'release-6.3-enable-DoubleClick-for-Win32OpenGLRenderWindow'

6364c9d2 Set the CS_DBLCLKS  flag to receive double-click notifications
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !786
parents d9b606a7 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;
......
......@@ -924,7 +924,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