Author Topic: wxAuiNotebook introduction in TRUNK  (Read 46286 times)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: wxAuiNotebook introduction in TRUNK
« Reply #45 on: July 16, 2009, 04:40:35 pm »
The folder "src\base\tinyxml" doesn't hold the file "libtxml.a".
There are only
  • Makefile.am
  • tinystr.cpp
  • tinywxuni.cpp
  • tinyxml.cpp
  • tinyxmlerror.cpp
  • tinyxmlparser.cpp

vix
Then you did not Compile the Main Code::Blocks project right. Compile it again.

Edit: And please start a new thread on the Topic of "How to compile Code::Blocks trunk" in the General sub-forum.

Tim S
« Last Edit: July 16, 2009, 04:49:29 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Orgulas

  • Single posting newcomer
  • *
  • Posts: 4
Re: wxAuiNotebook introduction in TRUNK
« Reply #46 on: July 25, 2009, 10:37:05 pm »
TDragon: This is a limitation in wxAUI, so it can't be done without brutal-nasty HACKs :(

Does this mean that switching to the left/right tab with Ctrl+Shift+Tab/Ctrl+Tab (not View->Switch Tabs!) even after reordering the tabs is limited the same way?
It seems like it always cycles in the order of opening the files, not in the order of the tabs.

I have bound those shortcuts to multimedia hotkeys on my keyboard and use them frequently, now they are pretty useless in C::B.
No more blind tab switching :(

I'm on Windows Vista 64...

//Edit:
I doesn't even save/restore the new tab order when closing/reopening the project...
« Last Edit: July 25, 2009, 10:39:51 pm by Orgulas »
Code
main(int f,int*v){for(f=fopen(*++v,"r");*v=~getc(f);)putchar(~*v);}

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: wxAuiNotebook introduction in TRUNK
« Reply #47 on: July 25, 2009, 11:18:47 pm »
TDragon: This is a limitation in wxAUI, so it can't be done without brutal-nasty HACKs :(

Does this mean that switching to the left/right tab with Ctrl+Shift+Tab/Ctrl+Tab (not View->Switch Tabs!) even after reordering the tabs is limited the same way?
It seems like it always cycles in the order of opening the files, not in the order of the tabs.

I have bound those shortcuts to multimedia hotkeys on my keyboard and use them frequently, now they are pretty useless in C::B.
No more blind tab switching :(

I'm on Windows Vista 64...

//Edit:
I doesn't even save/restore the new tab order when closing/reopening the project...

I have a working patch that partly fixes the first issue. But we have to use an own class derived from wxAuiNotebook see this post: http://forums.codeblocks.org/index.php/topic,8595.msg73710.html#msg73710.

The second issue is not easily fixable, but I found a post in the wxWidgets forum (http://wxforum.shadonet.com/viewtopic.php?t=21868) and will try it together with my taborder-patch.
But whether it makes it into trunk is not only my decision, because it will break C::B's api (again).

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: wxAuiNotebook introduction in TRUNK
« Reply #48 on: July 29, 2009, 08:38:53 am »
To all devs that compile C::B from the sources:
Please make sure that you remove the old wxAUI reference (the hack) and the wxFlatNotebook sources if not done yet. Otherwise this may lead to compile issues and may re-introduce wxFlatNotebook references which is not what we want.
A clean completely (!) new checkout will do it perfectly.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ