X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5c35d5c1d984f46d33e8181c907936e96160d795..d5e71e81ecc15691d10b992867e08375c69c7b63:/samples/widgets/gauge.cpp diff --git a/samples/widgets/gauge.cpp b/samples/widgets/gauge.cpp index 3584330e82..a60f55312c 100644 --- a/samples/widgets/gauge.cpp +++ b/samples/widgets/gauge.cpp @@ -211,8 +211,7 @@ void GaugeWidgetsPage::CreateContent() sizerLeft->Add(btn, 0, wxALIGN_CENTRE_HORIZONTAL | wxALL, 15); // middle pane - wxStaticBox *box2 = new wxStaticBox(this, wxID_ANY, - _T("&Change gauge value")); + wxStaticBox *box2 = new wxStaticBox(this, wxID_ANY, _T("&Change gauge value")); wxSizer *sizerMiddle = new wxStaticBoxSizer(box2, wxVERTICAL); wxTextCtrl *text; @@ -239,7 +238,8 @@ void GaugeWidgetsPage::CreateContent() btn = new wxButton(this, GaugePage_Progress, _T("Simulate &progress")); sizerMiddle->Add(btn, 0, wxALL | wxGROW, 5); - btn = new wxButton(this, GaugePage_IndeterminateProgress, _T("Simulate undeterminate job")); + btn = new wxButton(this, GaugePage_IndeterminateProgress, + _T("Simulate &indeterminate job")); sizerMiddle->Add(btn, 0, wxALL | wxGROW, 5); btn = new wxButton(this, GaugePage_Clear, _T("&Clear")); @@ -261,8 +261,6 @@ void GaugeWidgetsPage::CreateContent() Reset(); SetSizer(sizerTop); - - sizerTop->Fit(this); } GaugeWidgetsPage::~GaugeWidgetsPage() @@ -347,7 +345,7 @@ void GaugeWidgetsPage::StopTimer(wxButton *clicked) } else { - clicked->SetLabel(_T("Simulate undeterminate job")); + clicked->SetLabel(_T("Simulate indeterminate job")); FindWindow(GaugePage_Progress)->Enable(); }