User forums > Using Code::Blocks
Adding a wxs file to project
byo:
In such case there's no option other than opening .cbp file manually in some text editor and adding proper sections.
Jus search for <wxsmith> - all resources are listed nearby and it's not hard to add new ones manually
Regards
BYO
Redixe:
Thank you very much. I will give that a shot when I get back to working in the morning. :D
MaikoID:
"Hi.
I am having a problem with wxSmith, apparently, it lost the reference to my source-code, and now, I can't add events to none of my components. However I can compile and execute and all components are working properly.
- it have any command to "rebuild" the references?
Why the wxSmith works very better in Windows than in Linux? I am using Ubuntu 7.1, and have many bugs to modify a GUI, in Windows with the same GUI, all works fine.
ps: Sorry about my english."
Hi I am follow what jean told me. I have tried what you said about wxSmith on this post, the console works whitout erros appears to me, but continuos without references, I can't add events on my components.
odubtaig:
I'd personally recommend updating to a newer version, running SVN 5274 in Windows and 5273 on Ubuntu Hardy and I can't say I've noticed any lack of stability. Not using wxWidgets just yet though so maybe I'm missing something? Just wanted to get past the SDL include path issue and get a couple new features.
rcoll:
--- Quote from: byo on October 03, 2008, 09:01:44 pm ---There's special function exported in scripting engine dedicated for recovering of such files. To recover file do the following:
* Open Project with missing resources
* Open scripting console (available under view menu)
* Enter command in the following form:
For resource not using xrc file:
--- Code: ---WxsRecoverWxsFile(_( "[RESOURCE_TYPE] wxs=\"[WXS_FILE_NAME]\" src=\"[SRC_FILE_NAME]\" hdr=\"[HDR_FILE_NAME]\" name=\"[RESOURCE_NAME]" language=\"CPP\" "));
--- End code ---
.......
Regards
BYO
--- End quote ---
Can this be used to include any other external WXS+CPP fileset into the current project? If so, what would
it take to make this a menu item (i.e., it opens a dialog where the user selects the WXS file, the CPP file,
and the H file and it all gets added to the project)?
Thanks,
Ringo
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version