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;
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"));
Reset();
SetSizer(sizerTop);
-
- sizerTop->Fit(this);
}
GaugeWidgetsPage::~GaugeWidgetsPage()
}
else
{
- clicked->SetLabel(_T("Simulate undeterminate job"));
+ clicked->SetLabel(_T("Simulate indeterminate job"));
FindWindow(GaugePage_Progress)->Enable();
}