Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

[wxSmith] wxGrid error when I'm Debuging

(1/1)

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

--- End quote ---
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

Navigation

[0] Message Index

Go to full version