From abe7a40cca4bcdb883be63655949ae9915707067 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Sun, 21 Jun 2009 12:05:34 +0000 Subject: [PATCH] Work around a GCC2 problem with dynamic casting a BHandler pointer to a BView in BWindow::_FindView(int32 token). This fixes the BColumnListViews in DebugAnalyzer and Debugger to draw their frames properly. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31151 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/debuganalyzer/gui/table/AbstractTable.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/apps/debuganalyzer/gui/table/AbstractTable.h b/src/apps/debuganalyzer/gui/table/AbstractTable.h index ea6db1c809..12953a2b6f 100644 --- a/src/apps/debuganalyzer/gui/table/AbstractTable.h +++ b/src/apps/debuganalyzer/gui/table/AbstractTable.h @@ -20,7 +20,9 @@ public: }; -class AbstractTable : protected BColumnListView { +// NOTE: Intention is to inherit from "protected BColumnListView", but GCC2 +// has problems dynamic_casting a BHandler pointer to a BView then... +class AbstractTable : public BColumnListView { public: AbstractTable(const char* name, uint32 flags, border_style borderStyle = B_NO_BORDER,