User forums > Nightly builds
The 25 february 2007 build is out.
Silverling:
--- Quote from: stahta01 on February 25, 2007, 09:59:21 pm ---
--- Quote from: Ptomaine on February 25, 2007, 08:37:32 pm ---
--- Quote from: Silverling on February 25, 2007, 08:20:46 pm ---I have no projects to create!
Don't mis-interprete :lol:
What I want to say is that at the "new project" dialog, there are no options :shock: no projects to create, not even empty one! Anywhere. Is there a config file I need to send to help diagnose the problem?
Also, I changed my default compiler to GCC, but there are still no new projects. Ah, I use the DMD compiler by default.
--- End quote ---
I've not that kind of problem 'cause I've built C::B from SVN. Maybe that is the compilation problem?
--- End quote ---
Verify that the plugin Scripted Wizard is activated.
Tim S
--- End quote ---
:oops: that solved it.... uops...
Grom:
Will wx smith preview have tools inside? Right now preview window has only controls. Also will be grate to have a menu and toollbar inside of the the controls editing window. Meanwhile - grate work, especially a separate list of tools . Little bit more contributions and a lot of people will start using that engine.
Would be grate to have: a simple function in menu which will add a new components and captions under components on components palette.
Russell:
I get this problem when opening a resource inside wxSmith:
<pre>
Only wxMenu items can be added into wxMenuBar
</pre>
Well, it never used to show this error before and it worked correctly
So I deleted the menu and created a new one inside wxSmith menu editor,
but apparently wxSmith does the same thing.
byo:
--- Quote from: Grom on February 26, 2007, 04:31:03 am ---Will wx smith preview have tools inside? Right now preview window has only controls. Also will be grate to have a menu and toollbar inside of the the controls editing window. Meanwhile - grate work, especially a separate list of tools . Little bit more contributions and a lot of people will start using that engine.
Would be grate to have: a simple function in menu which will add a new components and captions under components on components palette.
--- End quote ---
Yup, as said in http://forums.codeblocks.org/index.php/topic,3765.msg41027.html#msg41027
--- Quote from: Russell on February 26, 2007, 08:08:13 am ---I get this problem when opening a resource inside wxSmith:
<pre>
Only wxMenu items can be added into wxMenuBar
</pre>
Well, it never used to show this error before and it worked correctly
So I deleted the menu and created a new one inside wxSmith menu editor,
but apparently wxSmith does the same thing.
--- End quote ---
Hmm, I must have missed something. Could you send the wxMenu part from wxs / xrc ?
Regards
BYO
Alca Isilon:
I hope I'm not being annoying or something by reviving this thread. (If this isn't the place for it please point me in the right direction)
--- Quote from: byo on February 27, 2007, 01:08:48 am ---
--- Quote from: Russell on February 26, 2007, 08:08:13 am ---I get this problem when opening a resource inside wxSmith:
--- Code: ---Only wxMenu items can be added into wxMenuBar
--- End code ---
Well, it never used to show this error before and it worked correctly
So I deleted the menu and created a new one inside wxSmith menu editor,
but apparently wxSmith does the same thing.
--- End quote ---
Hmm, I must have missed something. Could you send the wxMenu part from wxs / xrc ?
--- End quote ---
I have been having this same issue as well (tested both r4351 and r4751, in that order). It seems that creating the menubars (from scratch!) goes very well in wxSmith. Saving them also yields proper XRC files.
When loading these same XRC files I get the same error as Russel though. This error message seems to be produced in this function (src/plugins/contrib/wxSmith/wxwidgets/defitems/wxsmenubar.cpp):
--- Code: ---bool wxsMenuBar::OnCanAddChild(wxsItem* Item,bool ShowMessage)
--- End code ---
.
When adding some debug code at that place to find out the value of "Item->GetInfo().ClassName" I find out that it somehow thinks the ClassName to be "Custom". Now I wouldn't know where it gets that from, but definitly not from the XRC files (yes I searched them for it, just to be sure). So I'm thinking that somehow something goes wrong in the XML parser or the code that gets invoked by it.
Anyway, attached I've got two XRC files which both fail to open properly. One of them (_mainframe.xrc) is a stripped down XRC file of a window for an open source project I'm working on (map editor for open source game Warzone 2100). The other (menutest.xrc) is a minimal test case which yields the same result.
PS: I had to rename them to have a .txt extension since apparently this board doesn't like .xrc extensions.
[attachment deleted by admin]
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version