diff options
Diffstat (limited to 'src/menu/container.cpp')
-rw-r--r-- | src/menu/container.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/menu/container.cpp b/src/menu/container.cpp index edcd5e10..3bed894e 100644 --- a/src/menu/container.cpp +++ b/src/menu/container.cpp @@ -43,16 +43,16 @@ namespace usdx controls.clear(); } - void Container::repaint(SDL_Surface* display) const + void Container::repaint(void) { if (get_visible()) { - draw(display); + draw(); for (std::list<DrawableControl*>::const_iterator it = controls.begin(); it != controls.end(); it++) { - (*it)->repaint(display); + (*it)->repaint(); } } } |