- { x = xx; y = yy; width = ww; height = hh; }
- void SetTitle(char *t);
- void SetName(char *n);
- inline void SetValue1(long v) { value1 = v; }
- inline void SetValue2(long v) { value2 = v; }
- inline void SetValue3(long v) { value3 = v; }
- inline void SetValue5(long v) { value5 = v; }
- void SetValue4(char *v);
- void SetStringValues(wxStringList *svalues);
-
- inline char *GetType(void) { return itemType; }
- inline int GetX(void) { return x; }
- inline int GetY(void) { return y; }
- inline int GetWidth(void) { return width; }
- inline int GetHeight(void) { return height; }
-
- inline char *GetTitle(void) { return title; }
- inline char *GetName(void) { return name; }
- inline long GetStyle(void) { return windowStyle; }
- inline int GetId(void) { return m_windowId; }
-
- inline long GetValue1(void) { return value1; }
- inline long GetValue2(void) { return value2; }
- inline long GetValue3(void) { return value3; }
- inline long GetValue5(void) { return value5; }
- inline char *GetValue4(void) { return value4; }
- inline wxList& GetChildren(void) { return children; }
- inline wxStringList *GetStringValues(void) { return stringValues; }
+ { m_x = xx; m_y = yy; m_width = ww; m_height = hh; }
+ inline void SetTitle(const wxString& title) { m_title = title; }
+ inline void SetName(const wxString& name) { m_name = name; }
+ inline void SetValue1(long v) { m_value1 = v; }
+ inline void SetValue2(long v) { m_value2 = v; }
+ inline void SetValue3(long v) { m_value3 = v; }
+ inline void SetValue5(long v) { m_value5 = v; }
+ inline void SetValue4(const wxString& v) { m_value4 = v; }
+ inline void SetStringValues(const wxStringList& svalues) { m_stringValues = svalues; }
+
+ inline const wxString& GetType() const { return m_itemType; }
+ inline int GetX() const { return m_x; }
+ inline int GetY() const { return m_y; }
+ inline int GetWidth() const { return m_width; }
+ inline int GetHeight() const { return m_height; }
+
+ inline const wxString& GetTitle() const { return m_title; }
+ inline const wxString& GetName() const { return m_name; }
+ inline long GetStyle() const { return m_windowStyle; }
+ inline int GetId() const { return m_windowId; }
+
+ inline long GetValue1() const { return m_value1; }
+ inline long GetValue2() const { return m_value2; }
+ inline long GetValue3() const { return m_value3; }
+ inline long GetValue5() const { return m_value5; }
+ inline wxString GetValue4() const { return m_value4; }
+ inline wxList& GetChildren() const { return (wxList&) m_children; }
+ inline wxStringList& GetStringValues() const { return (wxStringList&) m_stringValues; }
+
+ inline void SetBackgroundColour(const wxColour& col) { m_backgroundColour = col; }
+ inline void SetLabelColour(const wxColour& col) { m_labelColour = col; }
+ inline void SetButtonColour(const wxColour& col) { m_buttonColour = col; }