X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1fc25a89ac1e6c5208db24bfc0abc8666b791dc6..5be7e07a3f432da34b98b90d16b4bd913ef8fd9c:/contrib/include/wx/ogl/divided.h diff --git a/contrib/include/wx/ogl/divided.h b/contrib/include/wx/ogl/divided.h index f8404637df..5148f615f6 100644 --- a/contrib/include/wx/ogl/divided.h +++ b/contrib/include/wx/ogl/divided.h @@ -6,15 +6,12 @@ // Created: 12/07/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _OGL_DIVIDED_H_ #define _OGL_DIVIDED_H_ -#ifdef __GNUG__ -#pragma interface "basic.h" -#endif /* * Definition of a region @@ -27,7 +24,7 @@ */ extern wxFont *g_oglNormalFont; -class wxDividedShape: public wxRectangleShape +class WXDLLIMPEXP_OGL wxDividedShape: public wxRectangleShape { DECLARE_DYNAMIC_CLASS(wxDividedShape) @@ -38,7 +35,7 @@ class wxDividedShape: public wxRectangleShape void OnDraw(wxDC& dc); void OnDrawContents(wxDC& dc); - void SetSize(double w, double h, bool recursive = TRUE); + void SetSize(double w, double h, bool recursive = true); void MakeControlPoints(); void ResetControlPoints(); @@ -46,7 +43,7 @@ class wxDividedShape: public wxRectangleShape void MakeMandatoryControlPoints(); void ResetMandatoryControlPoints(); -#ifdef PROLOGIO +#if wxUSE_PROLOGIO void WriteAttributes(wxExpr *clause); void ReadAttributes(wxExpr *clause); #endif @@ -63,7 +60,7 @@ class wxDividedShape: public wxRectangleShape // Attachment points correspond to regions in the divided box bool GetAttachmentPosition(int attachment, double *x, double *y, int nth = 0, int no_arcs = 1, wxLineShape *line = NULL); - bool AttachmentIsValid(int attachment); + bool AttachmentIsValid(int attachment) const; int GetNumberOfAttachments() const; // Invoke editor on CTRL-right click