#define DEFAULT_MOUSE_TOLERANCE 3
#endif
-// Edit these lines if you positively don't want PROLOGIO support
-#ifndef PROLOGIO
-#define PROLOGIO
-#endif
-
// Key identifiers
#define KEY_SHIFT 1
#define KEY_CTRL 2
class wxShapeRegion;
class wxShape;
-#ifdef PROLOGIO
+#if wxUSE_PROLOGIO
class WXDLLEXPORT wxExpr;
class WXDLLEXPORT wxExprDatabase;
#endif
virtual int GetRegionId(const wxString& name);
// Construct names for regions, unique even for children of a composite.
- virtual void NameRegions(const wxString& parentName = "");
+ virtual void NameRegions(const wxString& parentName = wxEmptyString);
// Get list of regions
inline wxList& GetRegions() const { return (wxList&) m_regions; }
virtual void ClearText(int regionId = 0);
void RemoveLine(wxLineShape *line);
-#ifdef PROLOGIO
+#if wxUSE_PROLOGIO
// I/O
virtual void WriteAttributes(wxExpr *clause);
virtual void ReadAttributes(wxExpr *clause);
// Recalculates the centre of the polygon
virtual void CalculatePolygonCentre();
-#ifdef PROLOGIO
+#if wxUSE_PROLOGIO
void WriteAttributes(wxExpr *clause);
void ReadAttributes(wxExpr *clause);
#endif
void SetSize(double x, double y, bool recursive = TRUE);
void SetCornerRadius(double rad); // If > 0, rounded corners
-#ifdef PROLOGIO
+#if wxUSE_PROLOGIO
void WriteAttributes(wxExpr *clause);
void ReadAttributes(wxExpr *clause);
#endif
void OnDraw(wxDC& dc);
-#ifdef PROLOGIO
- void WriteAttributes(wxExpr *clause);
+#if wxUSE_PROLOGIO
+ void WriteAttributes(wxExpr *clause);
#endif
// Does the copying for this object
void OnDraw(wxDC& dc);
void SetSize(double x, double y, bool recursive = TRUE);
-#ifdef PROLOGIO
+#if wxUSE_PROLOGIO
void WriteAttributes(wxExpr *clause);
void ReadAttributes(wxExpr *clause);
#endif