Author Topic: Codeblocks crashes while attempting to use wxBitmapButton in wxsmith  (Read 8524 times)

Offline nishalns

  • Multiple posting newcomer
  • *
  • Posts: 22
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).

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Codeblocks crashes while attempting to use wxBitmapButton in wxsmith
« Reply #1 on: July 16, 2013, 01:27:37 pm »
What version and OS are you using?
Have you tried a night build?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline nishalns

  • Multiple posting newcomer
  • *
  • Posts: 22
Re: Codeblocks crashes while attempting to use wxBitmapButton in wxsmith
« Reply #2 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).....

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Codeblocks crashes while attempting to use wxBitmapButton in wxsmith
« Reply #3 on: July 16, 2013, 02:11:40 pm »
Then try a recent night build, I think something similar has been fixed in the nightlies...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Codeblocks crashes while attempting to use wxBitmapButton in wxsmith
« Reply #4 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.

Offline golgepapaz

  • Multiple posting newcomer
  • *
  • Posts: 44
Re: Codeblocks crashes while attempting to use wxBitmapButton in wxsmith
« Reply #5 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..

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Codeblocks crashes while attempting to use wxBitmapButton in wxsmith
« Reply #6 on: July 16, 2013, 07:51:44 pm »
golgepapaz: No, it is not!
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline nishalns

  • Multiple posting newcomer
  • *
  • Posts: 22
Re: Codeblocks crashes while attempting to use wxBitmapButton in wxsmith
« Reply #7 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!!!!

Offline golgepapaz

  • Multiple posting newcomer
  • *
  • Posts: 44
Re: Codeblocks crashes while attempting to use wxBitmapButton in wxsmith
« Reply #8 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?