2017-12-05 14:54:01 +00:00
|
|
|
#ifndef WIDGET_HPP
|
|
|
|
#define WIDGET_HPP
|
2017-12-13 13:45:10 +00:00
|
|
|
#include <wx/wxprec.h>
|
|
|
|
#ifndef WX_PRECOM
|
|
|
|
#include <wx/wx.h>
|
|
|
|
#endif
|
|
|
|
|
2017-12-05 14:54:01 +00:00
|
|
|
class Widget {
|
|
|
|
protected:
|
|
|
|
wxSizer* _sizer;
|
|
|
|
public:
|
|
|
|
Widget(): _sizer(nullptr) { }
|
|
|
|
bool valid() const { return _sizer != nullptr; }
|
|
|
|
wxSizer* sizer() const { return _sizer; }
|
|
|
|
};
|
|
|
|
#endif
|