diff options
Diffstat (limited to 'plugingui/dgwindow.cc')
-rw-r--r-- | plugingui/dgwindow.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/plugingui/dgwindow.cc b/plugingui/dgwindow.cc index cc4aa8a..8d9e789 100644 --- a/plugingui/dgwindow.cc +++ b/plugingui/dgwindow.cc @@ -119,14 +119,16 @@ public: Knob falloffKnob{&falloff}; }; -DGWindow::DGWindow(MessageHandler& messageHandler, Config& config) - : messageHandler(messageHandler) +DGWindow::DGWindow(void* native_window, MessageHandler& messageHandler, + Config& config) + : Window(native_window) + , messageHandler(messageHandler) , config(config) { int vlineSpacing = 16; - setFixedSize(370, 330); + resize(370, 330); setCaption("DrumGizmo v" VERSION); layout.setResizeChildren(false); |