News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

[wxSmith] wxGrid error when I'm Debuging

Started by codemania, June 05, 2007, 07:22:53 PM

Previous topic - Next topic

codemania

When I'm Debuging with wxGrid, it gives me a dialogbox error  "wxWidgets Debug Alert" with this message "../../src/generic/grid.cpp(4329):assert "!m_created" failed in CreateGrid(): wxGrid::CreateGrid or wxGrid::SetTable called more than once"

Sorry my english

byo

Quote from: codemania on June 05, 2007, 07:22:53 PM
When I'm Debuging with wxGrid, it gives me a dialogbox error  "wxWidgets Debug Alert" with this message "../../src/generic/grid.cpp(4329):assert "!m_created" failed in CreateGrid(): wxGrid::CreateGrid or wxGrid::SetTable called more than once"

Sorry my english
Please manually call either wxGrid::CreateGrid or wxGrid::SetTable right after resource is created because without it wxGrid won't work. wxSmith won't do this automatically because it follows XRC standard.

Regards
   BYO

codemania

 :lol:
he, he, I made a mistake in my code.
Thanks