Implemented Mac-style button toggling within wxButtonToolBar, and line

under toolbar.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2006-04-14 12:40:34 +00:00
parent 1a1190b245
commit 77631b1d81
5 changed files with 70 additions and 7 deletions

View File

@@ -103,7 +103,7 @@ bool wxToolbook::Create(wxWindow *parent,
wxID_TOOLBOOKTOOLBAR,
wxDefaultPosition,
wxDefaultSize,
orient|wxTB_TEXT|wxTB_FLAT|wxTB_NODIVIDER|wxNO_BORDER
orient|wxTB_TEXT|wxTB_FLAT|wxNO_BORDER
);
}
else
@@ -353,7 +353,7 @@ bool wxToolbook::InsertPage(size_t n,
if (bSelect)
{
// GetToolBar()->ToggleTool(n, true);
GetToolBar()->ToggleTool(n, true);
m_selection = n;
}
else