commit 0793c3dbd71bdd685a95e8a5bf048a0b45c58747
parent 578be923bfdc717edcbc119d04a653818291b95f
Author: falkTX <falktx@gmail.com>
Date: Tue, 5 May 2015 16:36:46 +0200
Fix build
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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);