News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

BOUNTY: Notebook class with "close" button at the right

Started by rickg22, August 02, 2005, 04:09:03 AM

Previous topic - Next topic

grv575

Quote from: killerbot on January 04, 2006, 10:53:28 PM
Quote from: mandrav on January 04, 2006, 10:46:57 PM
Quote from: killerbot on January 04, 2006, 10:37:16 PM
BUT still problem :
Compiling: src\resources\resources.rc
src\resources\resources.rc:9:24: wx/msw/wx.rc: No such file or directory

Try adding $(#WX.INCLUDE) in src target resource dirs.

I saw this is already specified on the global level of the cbp file, nevertheless trying it out

[EDIT] : no luck  :( :(
Why why why ??  Heeeeeeeeeeeeeeeeeeelp

this was on my laptop, on my pc it builds (so a nightly build will come up)

This ansi or unicode?  Should be mswu for unicode...

AkiraDev

#121
Quote from: grv575 on January 05, 2006, 12:58:45 AM
Quote from: killerbot on January 04, 2006, 10:53:28 PM
Quote from: mandrav on January 04, 2006, 10:46:57 PM
Quote from: killerbot on January 04, 2006, 10:37:16 PM
BUT still problem :
Compiling: src\resources\resources.rc
src\resources\resources.rc:9:24: wx/msw/wx.rc: No such file or directory

Try adding $(#WX.INCLUDE) in src target resource dirs.

I saw this is already specified on the global level of the cbp file, nevertheless trying it out

[EDIT] : no luck  :( :(
Why why why ??  Heeeeeeeeeeeeeeeeeeelp

this was on my laptop, on my pc it builds (so a nightly build will come up)

This ansi or unicode?  Should be mswu for unicode...

Hi!

If nothing else helps, I'm afraid the only solution will be wiping out wxWidgets from your hard drive and recompiling... It was the only way I could build the latest SVN in my laptop last time.

EDIT: Found it!
Pardon my sillyness, there's just one thing missing from the CodeBlocks-NewBuild project, you only need to manually add "resources" to the resources directory in the directories tab under build options. Then it should compile.

killerbot

QuoteThis ansi or unicode?  Should be mswu for unicode...
not for the resource, it's to be seen as a regular source file

tiwag

Quote from: mandrav on January 04, 2006, 10:17:11 PM
Quote from: Ceniza on January 04, 2006, 09:40:01 PM
tiwag: I was just going to ask you if you also got Disassembly as the title for the Opened files list, but I already see it in your screenshot :P

This has to do with the layout having been saved with a previous version which didn't have the "open files list" as a docking window.
Just use the new "View->Layouts->Delete current" ;) (which I forgot to mention in the log message).

there is a problem if you have saved the Code::Blocks default layout already in the past - then you can't get rid of this by reverting to this standard Layout - better to have this Code::Blocks default layout really hard-coded which always matches to the actual version.

another problem : when i wanted to correct this in my default.conf file i was astonished  :shock: :shock: :shock:
there are no more line-endings and tabs - please insert these as it was in the past - impossible to edit by hand otherwise.
[edit] solved: had to use a xml file editor [/edit]

Ceniza

I can confirm that. default.conf is a one line mess now.

tiwag

Quote from: Ceniza on January 05, 2006, 07:50:58 AM
I can confirm that. default.conf is a one line mess now.
anyhow - it's more save to use a xml editor.

the actual *.conf file structure seems to be xml conformant
- at least XML-Notepad accepted the file for opening and editing
( i didn't try others, which always complained in the past about nonconformant xml file format and therefore rejected editing )

killerbot

would be nice if this becomes back multilined, text editors are nice also (if want to copy stuff from it)  ;-)

tiwag

Quote from: killerbot on January 05, 2006, 09:09:35 AM
would be nice if this becomes back multilined, text editors are nice also (if want to copy stuff from it)  ;-)

workaround:

open *.conf with XML-Notepad
http://www.snapfiles.com/get/xmlnotepad.html

save as ..



kkez

Quote from: Ceniza on January 04, 2006, 09:47:47 PM
There's something evil with the behaviour when you open a file when there's one opened already: the new tab will be added last but showed first, hiding all others.

:(

eranif

Hi,

I fixed the following bugs:

- No scroll was possible if only one tab was drawn
- A crash when no tabs can be drawn (but the book contains pages)
- Adding new page would hide the other tabs (the evil bug)

All the sources are now updated at sourceforge, so you can download them from CVS directly.
The zip file (in the download page) does not contain these fixes - so you should use the CVS files

For anonymous login to the CVS run the following command:
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/wxflatnotebook login

- When a request for the password appears, simply hit 'Return'

And then checkout the module by running the following command:
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/wxflatnotebook co -P contrib

the project at sourceforge can be found at:
http://sourceforge.net/projects/wxflatnotebook

Eran

rickg22


Ceniza

CVS and bugfixes... nice :)

Did you apply mandrav's patches too?

mandrav

Quote from: Ceniza on January 05, 2006, 09:25:50 PM
CVS and bugfixes... nice :)

Did you apply mandrav's patches too?

No he hasn't.
No problem though, as long as it is kept under source control (which it is now). I have now added in SVN the patch file to bring wxFlatNotebook CVS (current) to C::B's copy.
Haven't committed yet though (converting MessageManager).

@eran:
When I commit the changes, you can take a look at the patch. I believe three fixes there will interest you ;)
One fix is, when setting selection, not to display the selected tab as first one.
The second is to call Reparent() in AddPage(). If you don't do it, you don't acquire ownership of the added page and this leads to many bad things...
Finally, I have added a int GetPageIndex(Window* page) to acquire the page index for a page. Now that you have implemented dragging tabs around, there is no other way to know the index of a page ;)
Be patient!
This bug will be fixed soon...

Ceniza

Quote from: mandrav's post« Reply #132 on: Today at 04:00:00 PM »

Quote from: mandrav... converting MessageManager ...

Only the Management ones left, right?

mandrav

Be patient!
This bug will be fixed soon...