wxcrafter/xrc_handlers/myxh_infobar.h
raw| 1 | #ifndef _WX_MYXH_INFOBAR_H_ |
| 2 | #define _WX_MYXH_INFOBAR_H_ |
| 3 | |
| 4 | #include <wx/infobar.h> |
| 5 | #include <wx/xrc/xmlres.h> |
| 6 | |
| 7 | class wxInfoBar; |
| 8 | |
| 9 | class MyWxInfoBarCtrlHandler : public wxXmlResourceHandler |
| 10 | { |
| 11 | protected: |
| 12 | wxInfoBar* HandleInfoBar(); |
| 13 | void HandleButton(); |
| 14 | |
| 15 | public: |
| 16 | MyWxInfoBarCtrlHandler(); |
| 17 | virtual wxObject* DoCreateResource(); |
| 18 | virtual bool CanHandle(wxXmlNode* node); |
| 19 | }; |
| 20 | |
| 21 | #endif // _WX_MYXH_INFOBAR_H_ |