diff options
Diffstat (limited to 'test/dw_links.cc')
-rw-r--r-- | test/dw_links.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dw_links.cc b/test/dw_links.cc index ada9c49f..cfa94d0c 100644 --- a/test/dw_links.cc +++ b/test/dw_links.cc @@ -32,7 +32,7 @@ using namespace dw::core; using namespace dw::core::style; using namespace dw::fltk; -class LinkTestReceiver: public Widget::LinkReceiver +class LinkTestReceiver: public Layout::LinkReceiver { bool enter (Widget *widget, int link, int img, int x, int y); bool press (Widget *widget, int link, int img, int x, int y, @@ -102,7 +102,7 @@ int main(int argc, char **argv) textblock->setStyle (widgetStyle); layout->setWidget (textblock); - textblock->connectLink (&linkTestReceiver); + layout->connectLink (&linkTestReceiver); widgetStyle->unref(); |