Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

wxFlatNotebook 2.2

<< < (4/8) > >>

eranif:
Killerbot,

Are you using the official 2.2 or the svn trunk?

By using the SVN trunk, you will get the following:
- Unlimited stack of recently visited tabs
- When closing a tab, the selected tab is the previously selected one

Eran

killerbot:
currently I am using official 2.2 + the fix you mentioned above, after that one I will upgrade to your latest svn.

killerbot:
I have upgraded our sources to your latest svn, with a few differences :

1) renderer.cpp
   - removed the unused wxPoint regPts[9]; in DrawButton

2) wxFlatNotebook.cpp
  - added on your suggestion at the end of 'OnNavigationKey' : event.Skip();
  - extra cast to avoid warning in DoDeletePage :    if (m_iActivePage > (int)page || (int)page >= (int)(m_pagesInfoVec.Count())){


Maybe you can apply them in your source tree also. Thanks Eran for the help and the code ;-)

eranif:
changes are now in SVN trunk of wxFlatNotebook

Eran

MortenMacFly:

--- Quote from: eranif on July 25, 2007, 03:04:15 pm ---changes are now in SVN trunk of wxFlatNotebook

--- End quote ---
Eran, I have attached a ZIP file containning 2 C::B project files -> one for the lib and one for the sample with a default/debug target. They follow "our" C::B guidelines for a project setup and should thus allow anyone able to compile C::B also to be able to compile wxFlatNotebook (demo). This is for your reference and a request from a board member.
With regards, Morten.
Ps.: BTW: I believe you can savely remove the *.layout file in the "build" folder in SVN. In addition the DevCpp project files most likely won't work.

[attachment deleted by admin]

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version