X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpanel.cpp;h=4b44370343c47bcbe8fae960ad0d6827881bb234;hb=c1faa54a3218b53757b8b55de0ff8aa64412253b;hp=b44004ff129c63b90cfb2b4aa5b8b2039e2aabe1;hpb=8352d5f2590cfcb09e92854be211399105408c4d;p=libs%2Fgltk.git diff --git a/source/panel.cpp b/source/panel.cpp index b44004f..4b44370 100644 --- a/source/panel.cpp +++ b/source/panel.cpp @@ -53,7 +53,7 @@ void Panel::raise(Widget &wdg) return; } - throw InvalidState("That Widget is not in this Panel"); + throw hierarchy_error("widget not in panel"); } Widget *Panel::get_final_input_focus() const