Hi All,
A quick update:
wxFlatNotebook V2.1 is released and can be downloaded from SF.
here is summary:
Accepted changes:
- Added style wxFNB_ALLOW_FOREIGN_DND
- DeletePage, RemovePage now accepts second argument 'notify' to allows user to enable/disable
firing of the PAGE_CLOSE/CLOSING events
- All XPM files are now located under fnb_reousrces.cpp, include fnb_resources.h
if you need them
- OnRightDown - the if( m_pRightClickMenu ) was removed, when looking at the code
I did support for custom user menus, but forgot to remove this 'if' ...
- SetSelection now fires the events: wxEVT_COMMAND_FLATNOTEBOOK_PAGE_CHANGED/ ING instead of OnLeftDown
- OnDropTarget - changed to fit the new style wxFNB_ALLOW_FOREIGN_DND
- Fixed drawing issues with VC7.1 & Fancy style AND bottoms tabs
- Added the missing 'x' button on active tab for VS8 style
Not accepted:
- Changes to the header include (1, 2, 3)
- AddPage, InsertPage - Not accepted, I am not sure if it is needed anymore. However, I DO know
that a invisible tab must have -1, -1 position set. So far I did not get any drawing
artifacts, can you guys check and tell me if it still exists?
- OnMiddleDown - like you mentioned, this patch can safely be ignored
Hope now it will be easier for you to handle new versions of wxFlatNotebook
Eran