Debian Codegraph @

wxcrafter/controls/button_wrapper.h

raw
1 #ifndef BUTTONWRAPPER_H
2 #define BUTTONWRAPPER_H
3
4 #include "wxc_widget.h" // Base class: WrapperBase
5
6 class ButtonWrapper : public wxcWidget
7 {
8 protected:
9 virtual void GetIncludeFile(wxArrayString& headers) const;
10
11 public:
12 ButtonWrapper();
13 virtual ~ButtonWrapper();
14
15 public:
16 virtual wxString CppCtorCode() const;
17 virtual void ToXRC(wxString& text, XRC_TYPE type) const;
18 virtual wxString GetWxClassName() const;
19 virtual void LoadPropertiesFromXRC(const wxXmlNode* node);
20 virtual void LoadPropertiesFromwxFB(const wxXmlNode* node);
21 virtual void LoadPropertiesFromwxSmith(const wxXmlNode* node);
22 virtual wxcWidget* Clone() const { return new ButtonWrapper(); }
23
24 void SetLabel(const wxString& label) { DoSetPropertyStringValue(PROP_LABEL, label); }
25
26 wxString GetLabel() const { return PropertyString(PROP_LABEL); }
27 };
28
29 #endif // BUTTONWRAPPER_H