diff options
Diffstat (limited to 'plugingui/listboxthin.cc')
-rw-r--r-- | plugingui/listboxthin.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/listboxthin.cc b/plugingui/listboxthin.cc index 18cfc76..0120c50 100644 --- a/plugingui/listboxthin.cc +++ b/plugingui/listboxthin.cc @@ -96,7 +96,7 @@ std::string ListBoxThin::selectedValue() void ListBoxThin::repaintEvent(RepaintEvent *e) { - Painter p(this); + Painter p(*this); p.clear(); @@ -107,7 +107,7 @@ void ListBoxThin::repaintEvent(RepaintEvent *e) return; } - p.drawBox(0, 0, &box, w, h); + p.drawBox(0, 0, box, w, h); } void ListBoxThin::resize(int width, int height) |