#ifndef MXSTATUSBAR_H
#define MXSTATUSBAR_H
#include <wx/statusbr.h>

class wxGauge;

/**
* @brief Class representing a status bar with a progress bar
*
* Basado en codigo escrito por Anders Sandvig, tomado de http://lists.wxwidgets.org/archive/wx-users/msg55135.html
*/
class mxStatusBar : public wxStatusBar {
private:
	wxGauge *progress_bar;
public:
	mxStatusBar(wxWindow *parent, wxWindowID id, long style = wxST_SIZEGRIP, const wxString &name = "statusBar");
	~mxStatusBar();
	void OnSize(wxSizeEvent &event);
	void SetProgress(int progress);
	DECLARE_EVENT_TABLE();
};

#endif

