37 m_progress =
new wxGauge(
this, -1, 100, wxDefaultPosition, wxDefaultSize, wxGA_HORIZONTAL);
51 if (GetFieldsCount() > 0)
54 GetFieldRect(GetFieldsCount() - 1, r);
definition of statusbar with progress indicator
class for showing a status bar with progress, the progress bar is always in the last field of the sta...
void OnSize(wxSizeEvent &event)
size change handler, correctly position gauge when size has changed
~ProgressStatusBar()
destructor, clean up all stuff
int GetProgress()
return current progress value, should be in range 0 - 100, or -1 if the progress gauge is hidden ...
void SetProgress(int progress)
update progress bar