Developer forums (C::B DEVELOPMENT STRICTLY!) > Contributions to C::B
BOUNTY: Notebook class with "close" button at the right
rickg22:
cool! :D I'm glad you got it on Sourceforge! :)
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?
--- End quote ---
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 ;)
Ceniza:
--- Quote from: mandrav's post ---« Reply #132 on: Today at 04:00:00 PM »
--- End quote ---
--- Quote from: mandrav ---... converting MessageManager ...
--- End quote ---
Only the Management ones left, right?
mandrav:
--- Quote from: Ceniza on January 05, 2006, 10:08:19 pm ---Only the Management ones left, right?
--- End quote ---
Right.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version