Problem with the toolbar sample

Igor Korot ikorot at earthlink.net
Mon Oct 2 00:15:46 PDT 2006


Hi, ALL,
During the testing of the toolbar sample I found the following:

There is a call to the GetToolBar()->SetWindowStyle(style) in the
MyFrame::OnToolbarStyle(), which causes the problem in the following
scenario.

1. Run the "toolbar" sample.
2. Choose the "Toggle toolbar orientation".
3. Choose the "Show Icons".

There is only one button in the toolbar.
This behavior is observed with 2.6.3 and CVS HEAD on WinXP with the
MSW port.

Is there any reason, why it does not using the RecreateToolbar() call?

Thank you.




More information about the wx-dev mailing list