// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "pe_adv.h"
#endif
public:
PropEditCtrlFont(PropertiesFrame *propFrame)
: PropEditCtrlTxt(propFrame) {}
-
+
virtual wxWindow* CreateEditCtrl();
virtual wxTreeItemId CreateTreeEntry(wxTreeItemId parent, const PropertyInfo& pinfo);
};
public:
PropEditCtrlChoice(PropertiesFrame *propFrame)
: PropEditCtrl(propFrame) {}
-
+
virtual wxWindow* CreateEditCtrl();
-
+
virtual void ReadValue();
virtual void WriteValue();
-
+
protected:
wxChoice *m_Choice;
PropEditCtrlColor(PropertiesFrame *propFrame)
: PropEditCtrlTxt(propFrame) {}
- virtual bool HasDetails() { return TRUE; }
+ virtual bool HasDetails() { return true; }
+ virtual void OnDetails();
+};
+
+
+
+
+class PropEditCtrlFlags : public PropEditCtrlTxt
+{
+ public:
+ PropEditCtrlFlags(PropertiesFrame *propFrame)
+ : PropEditCtrlTxt(propFrame) {}
+
+ virtual bool HasDetails() { return true; }
virtual void OnDetails();
};
+class PropEditCtrlFile : public PropEditCtrlTxt
+{
+ public:
+ PropEditCtrlFile(PropertiesFrame *propFrame)
+ : PropEditCtrlTxt(propFrame) {}
+ virtual bool HasDetails() { return true; }
+ virtual void OnDetails();
+
+ virtual wxString GetFileTypes();
+};
+
+
+class PropEditCtrlImageFile : public PropEditCtrlFile
+{
+ public:
+ PropEditCtrlImageFile(PropertiesFrame *propFrame)
+ : PropEditCtrlFile(propFrame) {}
+
+ virtual wxString GetFileTypes();
+};
#endif