X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..1d529ef7eed851db9d007821decb9639e4e7fc16:/contrib/include/wx/ogl/divided.h diff --git a/contrib/include/wx/ogl/divided.h b/contrib/include/wx/ogl/divided.h index 6fc733eee3..dea08ce1c3 100644 --- a/contrib/include/wx/ogl/divided.h +++ b/contrib/include/wx/ogl/divided.h @@ -13,9 +13,10 @@ #define _OGL_DIVIDED_H_ #if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "basic.h" +#pragma interface "divided.h" #endif + /* * Definition of a region * @@ -27,7 +28,7 @@ */ extern wxFont *g_oglNormalFont; -class wxDividedShape: public wxRectangleShape +class WXDLLIMPEXP_OGL wxDividedShape: public wxRectangleShape { DECLARE_DYNAMIC_CLASS(wxDividedShape) @@ -63,7 +64,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