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:
@ -43,7 +43,7 @@ using namespace lout::unicode;
|
||||
|
||||
namespace dw {
|
||||
|
||||
int Textblock::CLASS_ID = -1;
|
||||
std::intptr_t Textblock::CLASS_ID = -1;
|
||||
|
||||
Textblock::WordImgRenderer::WordImgRenderer (Textblock *textblock,
|
||||
int wordNo)
|
||||
@ -206,7 +206,7 @@ void Textblock::setStretchabilityFactor (int stretchabilityFactor)
|
||||
Textblock::Textblock (bool limitTextWidth, bool treatAsInline)
|
||||
{
|
||||
DBG_OBJ_CREATE ("dw::Textblock");
|
||||
registerName ("dw::Textblock", &CLASS_ID);
|
||||
registerName ("dw::Textblock", typeid(*this), &CLASS_ID);
|
||||
setButtonSensitive(true);
|
||||
|
||||
hasListitemValue = false;
|
||||
|
||||
Reference in New Issue
Block a user