| Index: ui/views/examples/tabbed_pane_example.cc
|
| diff --git a/ui/views/examples/tabbed_pane_example.cc b/ui/views/examples/tabbed_pane_example.cc
|
| index 087c77bf0df46c8d2feb1afeb8bed7119ff59867..524fec6c99a7d15dd1bf864f36825508502c708d 100644
|
| --- a/ui/views/examples/tabbed_pane_example.cc
|
| +++ b/ui/views/examples/tabbed_pane_example.cc
|
| @@ -40,6 +40,7 @@ void TabbedPaneExample::CreateExampleView(View* container) {
|
| // Create a few tabs with a button first.
|
| AddButton("Tab 1");
|
| AddButton("Tab 2");
|
| + AddButton("Tab 3");
|
|
|
| // Add control buttons horizontally.
|
| const int button_column = 1;
|
| @@ -76,7 +77,7 @@ void TabbedPaneExample::TabSelectedAt(int index) {
|
| void TabbedPaneExample::PrintStatus() {
|
| ExampleBase::PrintStatus("Tab Count:%d, Selected Tab:%d",
|
| tabbed_pane_->GetTabCount(),
|
| - tabbed_pane_->selected_tab_index());
|
| + tabbed_pane_->GetSelectedTabIndex());
|
| }
|
|
|
| void TabbedPaneExample::AddButton(const std::string& label) {
|
|
|