Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: nishalns on July 16, 2013, 01:25:35 pm

Title: Codeblocks crashes while attempting to use wxBitmapButton in wxsmith
Post by: nishalns on July 16, 2013, 01:25:35 pm
Hi. I am designing a project in which I would like to use wxBitmapButton component. But whenever I try to do this codeblocks crashes. When I open codeblocks again, this project is not found in the list of 'recent projects'. Also, when I open this project, the files associated with the frame(.wxs, .h, .cpp files) to which I was adding were removed from the project, but the files existed. So I had to create this frame all over again. Please tell me the solution to the problem and also tell me how to add an already existing resource to my project(i.e., the frame which was removed from the project).
Title: Re: Codeblocks crashes while attempting to use wxBitmapButton in wxsmith
Post by: oBFusCATed on July 16, 2013, 01:27:37 pm
What version and OS are you using?
Have you tried a night build?
Title: Re: Codeblocks crashes while attempting to use wxBitmapButton in wxsmith
Post by: nishalns on July 16, 2013, 01:31:53 pm
Windows XP Professional and i'm sorry i forgot to mention the codeblocks version. I'm not using nightly builds. I'm using version 12.11. Version of wxWidgets is 2.9(SVN version).....
Title: Re: Codeblocks crashes while attempting to use wxBitmapButton in wxsmith
Post by: oBFusCATed on July 16, 2013, 02:11:40 pm
Then try a recent night build, I think something similar has been fixed in the nightlies...
Title: Re: Codeblocks crashes while attempting to use wxBitmapButton in wxsmith
Post by: Jenna on July 16, 2013, 03:30:11 pm
Then try a recent night build, I think something similar has been fixed in the nightlies...


Indeed, this and some similar (possible) crashes have been fixed about two months ago.
Title: Re: Codeblocks crashes while attempting to use wxBitmapButton in wxsmith
Post by: golgepapaz on July 16, 2013, 07:04:36 pm
wxWidgets is 2.9(SVN version).....

That's probably the culprit. wxSmith and C::B does not play nice with wxWidgets
in windows.Try 2.8.12 if you can..
Title: Re: Codeblocks crashes while attempting to use wxBitmapButton in wxsmith
Post by: oBFusCATed on July 16, 2013, 07:51:44 pm
golgepapaz: No, it is not!
Title: Re: Codeblocks crashes while attempting to use wxBitmapButton in wxsmith
Post by: nishalns on July 17, 2013, 09:44:37 am
Well, thanks to all who have replied to my post. I installed the nightly build and it worked!

Thank you very much!!!!
Title: Re: Codeblocks crashes while attempting to use wxBitmapButton in wxsmith
Post by: golgepapaz on July 17, 2013, 11:24:12 am
golgepapaz: No, it is not!
My bad then. Time to officially support wx2.9.5 do you think?