Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: codemania on June 05, 2007, 07:22:53 pm

Title: [wxSmith] wxGrid error when I'm Debuging
Post by: 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
Title: Re: [wxSmith] wxGrid error when I'm Debuging
Post by: byo on June 05, 2007, 07:40: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
Title: Re: [wxSmith] wxGrid error when I'm Debuging
Post by: codemania on June 05, 2007, 09:15:51 pm
 :lol:
he, he, I made a mistake in my code.
Thanks