From 0793c3dbd71bdd685a95e8a5bf048a0b45c58747 Mon Sep 17 00:00:00 2001 From: falkTX Date: Tue, 5 May 2015 16:37:11 +0200 Subject: [PATCH] Fix build --- distrho/src/DistrhoUI.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/distrho/src/DistrhoUI.cpp b/distrho/src/DistrhoUI.cpp index 9e091e40..a52a9275 100644 --- a/distrho/src/DistrhoUI.cpp +++ b/distrho/src/DistrhoUI.cpp @@ -15,6 +15,7 @@ */ #include "DistrhoUIInternal.hpp" +#include "src/WidgetPrivateData.hpp" START_NAMESPACE_DISTRHO @@ -32,7 +33,7 @@ UI::UI(uint width, uint height) : UIWidget(*d_lastUiWindow), pData(new PrivateData()) { - fNeedsFullViewport = true; + ((UIWidget*)this)->pData->needsFullViewport = false; if (width > 0 && height > 0) setSize(width, height);