public:
PropEditCtrlNull(PropertiesFrame *propFrame)
: PropEditCtrl(propFrame) {}
-
- virtual void BeginEdit(const wxRect& rect, wxTreeItemId ti) {}
+
+ virtual void BeginEdit(const wxRect& WXUNUSED(rect), wxTreeItemId WXUNUSED(ti)) {}
virtual void EndEdit() {}
-
+
virtual wxWindow* CreateEditCtrl() {return NULL;}
-
+
virtual void ReadValue() {}
virtual void WriteValue() {}
};
public:
PropEditCtrlTxt(PropertiesFrame *propFrame)
: PropEditCtrl(propFrame) {}
-
+
virtual wxWindow* CreateEditCtrl();
-
+
virtual void ReadValue();
virtual void WriteValue();
-
+
protected:
wxTextCtrl *m_TextCtrl;
public:
PropEditCtrlInt(PropertiesFrame *propFrame)
: PropEditCtrlTxt(propFrame) {}
-
+
virtual wxWindow* CreateEditCtrl();
};
public:
PropEditCtrlBool(PropertiesFrame *propFrame)
: PropEditCtrl(propFrame) {}
-
+
virtual wxWindow* CreateEditCtrl();
-
+
virtual void ReadValue();
virtual void WriteValue();
virtual wxString GetValueAsText(wxTreeItemId ti);
-
+
protected:
wxChoice *m_Choice;
public:
PropEditCtrlCoord(PropertiesFrame *propFrame);
~PropEditCtrlCoord();
-
+
virtual wxTreeItemId CreateTreeEntry(wxTreeItemId parent, const PropertyInfo& pinfo);
-
+
private:
PropEditCtrl *m_CtrlX, *m_CtrlY, *m_CtrlDlg;
};
public:
PropEditCtrlDim(PropertiesFrame *propFrame);
~PropEditCtrlDim();
-
+
virtual wxTreeItemId CreateTreeEntry(wxTreeItemId parent, const PropertyInfo& pinfo);
-
+
private:
PropEditCtrl *m_CtrlX, *m_CtrlDlg;
};
public:
PropEditCtrlXRCID(PropertiesFrame *propFrame)
: PropEditCtrlTxt(propFrame) {}
-
+
virtual void ReadValue();
virtual void WriteValue();
virtual void Clear();
- virtual bool HasDetails() { return TRUE; }
+ virtual bool HasDetails() { return true; }
virtual void OnDetails();
virtual wxString GetValueAsText(wxTreeItemId ti);
virtual bool IsPresent(const PropertyInfo& pinfo);