Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Building Code::Blocks on Win 64

<< < (15/15)

MortenMacFly:

--- Quote from: MortenMacFly on February 25, 2012, 10:04:24 am ---Its not 64 bit related, but wx2.9.x and they come from OnSearchMenuUpdateUI btw...

--- End quote ---
...what might be related and what is not clear to me:
We load the menu like this:

--- Code: ---    wxXmlResource *myres = wxXmlResource::Get();
    myres->Load(resPath + _T("/resources.zip#zip:main_menu.xrc"));

--- End code ---
...but the toolbar like this:

--- Code: ---    wxXmlResource *myres = wxXmlResource::Get();
    myres->Load(resPath + _T("/resources.zip#zip:*.xrc"));

--- End code ---
Notice the *.xrc for the toolbar. Why? This cannot be any good...

MortenMacFly:

--- Quote from: MortenMacFly on February 25, 2012, 10:24:11 am ---Notice the *.xrc for the toolbar. Why? This cannot be any good...

--- End quote ---
...and another one: Dos anybody know why we don't use the Manager function to load the menubar and toolbar from the XRC files anymore?

Jenna:

--- Quote from: MortenMacFly on February 25, 2012, 09:51:04 am ---
--- Quote from: jens on February 20, 2012, 12:48:33 pm ---This should be fixed in actual trunk and will surely make it in Biplab's win64-build.
It also occurs on linux 64-bit with wx2.9 if debug-messages are on.

--- End quote ---
BTW: What drives me nuts are these warnings:

--- Code: ---../../src/common/menucmn.cpp(976): assert "item" failed in Enable(): attempt to enable an item which doesn't exist

--- End code ---
Did anyone already figured out a good way how to catch them? They occur in every call to updateui, so very often and the debugger gets crazy after a while...

--- End quote ---
This should be fixed in r7929, at least for the OnUpdateUI-stuff, but there are of course more issues, that have been hidden in wx2.8 .

Navigation

[0] Message Index

[*] Previous page

Go to full version