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
This commit is contained in:
parent
7c40979456
commit
abe7a40cca
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue