Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
wxImage components
rcoll:
--- Quote from: Ganbito on April 24, 2009, 12:12:37 am ---By the way, have you any plans to support linux (early) so I have only wait a little? :D
--- End quote ---
Due to limits where I work, I don't use C::B on a Linux machine; I do all developement on Windows, then when I need to build on Linux, I use the Makefile Generator plugin to make a Makefile.gen, then transfer all the code (and the Makefile.gen) to a Linux machine and compile it there.
Clear as mud, right? Believe me, I have little choice in this matter.
So, I probably will not be working very hard to support Linux for the IDE, but I will be adding (and making available) several more components for wxSmith (I'm now working on the wxTreeCtrl to use bitmaps on the tree items; an icon & bitmap editor for wxSmith; and wxSheet which is an expaned wxGrid control).
Ringo
Jenna:
Yesterday I tried to build it on linux the first time.
After some tweaking, it compiles and seems to build correctly.
Nevertheless, there seems to be an issue with the wxImageList dialog (eating up my cpu-resources and has to be killed), I hope I find time to look into it later.
I can post a patch to make it work with trunk from inside contrib-plugins tree this evening, if anyone is interested.
MortenMacFly:
--- Quote from: jens on April 28, 2009, 10:28:24 am ---if anyone is interested.
--- End quote ---
Ping! :-)
Jenna:
--- Quote from: MortenMacFly on April 28, 2009, 12:33:28 pm ---
--- Quote from: jens on April 28, 2009, 10:28:24 am ---if anyone is interested.
--- End quote ---
Ping! :-)
--- End quote ---
Here it is.
The same source-code works on windows (global cb-variable has to be set and *.zip and *.dll have to be copied manually).
On linux no global variable is needed.
If wanted the cbp-file has to be added to contrib-plugins workspace.
--- Quote from: jens on April 28, 2009, 10:28:24 am ---Nevertheless, there seems to be an issue with the wxImageList dialog (eating up my cpu-resources and has to be killed), I hope I find time to look into it later.
--- End quote ---
This error does not occur on windows, so it's is most likely not caused by my (marginal) changes.
[attachment deleted by admin]
rcoll:
--- Quote from: jens on April 28, 2009, 10:28:24 am ---Nevertheless, there seems to be an issue with the wxImageList dialog (eating up my cpu-resources and has to be killed), I hope I find time to look into it later.
--- End quote ---
I reviewed the dialog code, and the only thing I can think of that might have something to do with this is the "OnPaint" events, which might get called non-stop on some systems.
I copied the code over to a 32-bit Red Hat Linux machine (specifically required for a customer) and with a few mods (done by hand) was able to make it compile. It runs fine, with no cpu thrashing. My Windows machine is running XP, and both machines are using wxWidgets 2.8
Ringo
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version