diff options
Diffstat (limited to 'plugingui/listboxbasic.cc')
-rw-r--r-- | plugingui/listboxbasic.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/listboxbasic.cc b/plugingui/listboxbasic.cc index fa1601f..0d854ab 100644 --- a/plugingui/listboxbasic.cc +++ b/plugingui/listboxbasic.cc @@ -142,7 +142,7 @@ void ListBoxBasic::clearSelectedValue() void ListBoxBasic::repaintEvent(RepaintEvent *e) { - Painter p(this); + Painter p(*this); p.clear(); @@ -154,7 +154,7 @@ void ListBoxBasic::repaintEvent(RepaintEvent *e) return; } - p.drawImageStretched(0, 0, &bg_img, w, h); + p.drawImageStretched(0, 0, bg_img, w, h); p.setColour(Colour(183.0/255.0, 219.0/255.0 , 255.0/255.0, 1)); |