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:
@ -29,12 +29,12 @@ using namespace lout;
|
||||
namespace dw {
|
||||
|
||||
bool Table::adjustTableMinWidth = true;
|
||||
int Table::CLASS_ID = -1;
|
||||
std::intptr_t Table::CLASS_ID = -1;
|
||||
|
||||
Table::Table(bool limitTextWidth)
|
||||
{
|
||||
DBG_OBJ_CREATE ("dw::Table");
|
||||
registerName ("dw::Table", &CLASS_ID);
|
||||
registerName ("dw::Table", typeid(*this), &CLASS_ID);
|
||||
setButtonSensitive(false);
|
||||
|
||||
this->limitTextWidth = limitTextWidth;
|
||||
|
||||
Reference in New Issue
Block a user