2012-01-06 17:28:01 +02:00
|
|
|
#ifndef _plat_wxwidgets__window_status__hpp__included__
|
|
|
|
#define _plat_wxwidgets__window_status__hpp__included__
|
|
|
|
|
|
|
|
#include <wx/string.h>
|
|
|
|
#include <wx/wx.h>
|
|
|
|
|
|
|
|
class wxwin_status : public wxFrame
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
class panel : public wxPanel
|
|
|
|
{
|
|
|
|
public:
|
2012-07-06 18:40:11 +03:00
|
|
|
panel(wxWindow* _parent, wxWindow* tfocus, unsigned lines);
|
2012-03-06 18:33:41 +02:00
|
|
|
bool AcceptsFocus () const;
|
2012-07-06 18:40:11 +03:00
|
|
|
void on_focus(wxFocusEvent& e);
|
2012-01-06 17:28:01 +02:00
|
|
|
void on_paint(wxPaintEvent& e);
|
|
|
|
bool dirty;
|
2012-01-18 20:56:54 +02:00
|
|
|
wxWindow* parent;
|
2012-07-06 18:40:11 +03:00
|
|
|
wxWindow* tfocuswin;
|
2012-01-06 17:28:01 +02:00
|
|
|
};
|
|
|
|
wxwin_status();
|
|
|
|
~wxwin_status();
|
|
|
|
bool ShouldPreventAppExit() const;
|
|
|
|
void notify_update() throw();
|
|
|
|
panel* spanel;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|