ClassIDs are now actually typeinfo name pointers.
I'll see, next, about the `instanceOf` thing, and going with more normal RTTI routes.
This commit is contained in:
@ -73,12 +73,12 @@ void Widget::WidgetImgRenderer::draw (int x, int y, int width, int height)
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
bool Widget::adjustMinWidth = true;
|
||||
int Widget::CLASS_ID = -1;
|
||||
std::intptr_t Widget::CLASS_ID = -1;
|
||||
|
||||
Widget::Widget ()
|
||||
{
|
||||
DBG_OBJ_CREATE ("dw::core::Widget");
|
||||
registerName ("dw::core::Widget", &CLASS_ID);
|
||||
registerName ("dw::core::Widget", typeid(*this), &CLASS_ID);
|
||||
|
||||
DBG_OBJ_ASSOC_CHILD (&requisitionParams);
|
||||
DBG_OBJ_ASSOC_CHILD (&extremesParams);
|
||||
|
||||
Reference in New Issue
Block a user