summaryrefslogtreecommitdiff
path: root/vcl/source/window/openglwin.cxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-05-28 17:41:14 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-05-28 17:57:18 +0200
commitdd38578b6e785da6d74e3a40b46b778c82743082 (patch)
treeb254cf7d89a45b31c5624e787fa34d482ddddf5e /vcl/source/window/openglwin.cxx
parent194c6709266b5b2e146c9643f1f89072b7c57000 (diff)
fix build error
Change-Id: I550616e1f6e63ac42103756014b1aa26cee5c21f
Diffstat (limited to 'vcl/source/window/openglwin.cxx')
-rw-r--r--vcl/source/window/openglwin.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/window/openglwin.cxx b/vcl/source/window/openglwin.cxx
index 68eac16dfa77..0300987af29e 100644
--- a/vcl/source/window/openglwin.cxx
+++ b/vcl/source/window/openglwin.cxx
@@ -24,9 +24,9 @@ private:
OpenGLWindowImpl::OpenGLWindowImpl(Window* pWindow):
mpChildWindow(new SystemChildWindow(pWindow))
{
+ mpChildWindow->Show();
maContext.init(mpChildWindow.get());
pWindow->SetMouseTransparent(false);
- maContext.show();
}
OpenGLContext* OpenGLWindowImpl::getContext()
@@ -60,7 +60,6 @@ void OpenGLWindow::Paint(const Rectangle&)
void OpenGLWindow::MouseButtonDown( const MouseEvent& rMEvt )
{
- getContext()->show();
maStartPoint = rMEvt.GetPosPixel();
}