User forums > Nightly builds

The 17 february 2007 build is out.

<< < (2/4) > >>

byo:

--- Quote from: Russell on February 18, 2007, 12:38:27 am ---I think menu xrc data needs to be generated outside a frame object, because otherwise it will not show up in the actual application

--- End quote ---

Uhm, I forgot to disable wxMenu tools when uing XRC file becuase this will create some memory leaks (there's no way to obtain pointer to wxMenu and it's not automatically deleted) :(. Anyway wxMenuBar should work fine, I've checked xrc sources and if wxMenuBar is added directly into wxFrame, XRC loading routines automatically add menu into frame.

Biplab:

--- Quote from: killerbot on February 18, 2007, 01:35:45 pm ---nope, no changes made yet, will adjust probably on monday

--- End quote ---

That surprises me. The time on the start page (of 17th Feb Nightly) is correctly formatted.

It seemed strange to me why without making any changes to autorevision, it becomes correct again? My Windows build had problem but Linux had no problem. :?

Russell:

--- Quote from: byo on February 18, 2007, 02:36:29 pm ---
--- Quote from: Russell on February 18, 2007, 12:38:27 am ---I think menu xrc data needs to be generated outside a frame object, because otherwise it will not show up in the actual application

--- End quote ---

Uhm, I forgot to disable wxMenu tools when uing XRC file becuase this will create some memory leaks (there's no way to obtain pointer to wxMenu and it's not automatically deleted) :(. Anyway wxMenuBar should work fine, I've checked xrc sources and if wxMenuBar is added directly into wxFrame, XRC loading routines automatically add menu into frame.

--- End quote ---

Woops, I still had LoadMenuBar code in my frame constructor, no wonder it didn't work properly.

Any chance of toolbar support? ;)

byo:

--- Quote from: Russell on February 18, 2007, 10:02:16 pm ---Any chance of toolbar support? ;)

--- End quote ---

Should be pretty easy :) especially comparing to menus ;) I'll do it this week

pauliusz:
While trying to compile svn 3615 I get following error:

--- Code: ----------------- Build: sdk in Code::Blocks ---------------
Running target pre-build steps
build_tools/autorevision/autorevision +int +t . include/autorevision.h
Compiling: sdk\filemanager.cpp
D:\Projektai\CodeBlocks\src\sdk\filemanager.cpp:90: error: redefinition of `FileManager::FileManager()'
D:\Projektai\CodeBlocks\src\sdk\/filemanager.h:151: error: `FileManager::FileManager()' previously defined here
D:\Projektai\CodeBlocks\src\sdk\filemanager.cpp:98: error: definition of implicitly-declared `virtual FileManager::~FileManager()'
Process terminated with status 1 (0 minutes, 4 seconds)
3 errors, 0 warnings

--- End code ---
Last svn version I managed to compile was 3596.
Can anyone help me with this?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version