Hi,

I've come across a problem which can be seen when putting a WTextEdit into a 
WDialog in Wt 3.2.2-p1 (using TinyMCE 3.5.0.1).

To begin with, the following code will stumble upon the problem:

      auto dlg = new WDialog("Editor");
      dlg->setMinimumSize(640, 480);
      dlg->resize(640, 480);

      new WTextEdit("testing", dlg->contents());

      dlg->show();

When I run this, the dialog is not shown (while the blocking layer for the site 
content below the dialog is shown).
I also tried without resize() and setMinimumSize(), this doesn't seem to change 
anything. Putting WTextEdit into a WVBoxLayout was not successful either.

Debugging the scripts in IE >= 8 tells me there is an error in the 
WTextEdit::updateDom() javascript starting at line 209 when "obj.render(...);" 
is called. The error text is "'undefined' is null or not an object", pointing 
at "obj".

Am I doing something wrong here, and how can I fix this?

Kind regards,
Marc

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to