Hi eranif, and welcome to this forums
It's pretty interesting to see how quickly it's being developed. Just a few days and it has almost everything needed by Code::Blocks.
I saw you just added RemovePage and OnMouseLeave.
An easy one to add, also used by Code::Blocks, is GetPageText (it's in wxPageContainer but not in wxFlatNotebook).
About the style, I like the VC71 one
Just like suggested in wxforum, adding a "close with double/middle click" would be nice too.
I tried to integrate it with Code::Blocks already but I got a really weird error that GDB isn't even catching.
Another set of functions used by Code::Blocks are the ImageList ones, but you said you had problems with the alpha channel doing it that way so you disabled them.
Oh, one last thing, being able to disable the X button would be handy too (for Code::Blocks, Messages and Management shouldn't allow the user to close a tab).
Sorry for the mess
mandrav: the test program is already included with wxFlatNotebook, but I'll attach his current version with Code::Blocks project files. Haven't tested with UNICODE build yet.
[attachment deleted by admin]