1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
#ifndef STATUSFIELD_H
#define STATUSFIELD_H
#include <wx/panel.h>
class wxStaticBitmap;
class wxStaticText;
class SpellCheckerConfig;
class SpellCheckerPlugin;
class SpellCheckerStatusField : public wxPanel
{
public:
SpellCheckerStatusField(wxWindow* parent, SpellCheckerPlugin *plugin, SpellCheckerConfig *sccfg);
virtual ~SpellCheckerStatusField();
//void SetLanguage(const wxString &lang);
void Update();
private:
wxStaticBitmap *m_bitmap;
wxStaticText *m_text;
SpellCheckerConfig *m_sccfg;
SpellCheckerPlugin *m_plugin;
private:
void OnSize(wxSizeEvent &event);
void OnPressed(wxMouseEvent &event);
void OnSelect(wxCommandEvent &event);
void OnEditPersonalDictionary(wxCommandEvent &event);
void DoSize();
};
#endif // STATUSFIELD_H
|