X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9e05364039a615196ff8c6e222e116f96892a172..b26f2425245bb5a115e93fa9bc6ebe2e508a518d:/contrib/include/wx/ogl/constrnt.h diff --git a/contrib/include/wx/ogl/constrnt.h b/contrib/include/wx/ogl/constrnt.h index bd0616e491..98ea10e18e 100644 --- a/contrib/include/wx/ogl/constrnt.h +++ b/contrib/include/wx/ogl/constrnt.h @@ -6,22 +6,19 @@ // Created: 12/07/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _OGL_CONSTRNT_H_ #define _OGL_CONSTRNT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "constrnt.h" -#endif /* * OGL Constraints * */ -class wxOGLConstraintType: public wxObject +class WXDLLIMPEXP_OGL wxOGLConstraintType: public wxObject { DECLARE_DYNAMIC_CLASS(wxOGLConstraintType) public: @@ -57,7 +54,7 @@ extern wxList* wxOGLConstraintTypes; #define gyCONSTRAINT_MIDALIGNED_LEFT 14 #define gyCONSTRAINT_MIDALIGNED_RIGHT 15 -class wxOGLConstraint: public wxObject +class WXDLLIMPEXP_OGL wxOGLConstraint: public wxObject { DECLARE_DYNAMIC_CLASS(wxOGLConstraint) public: @@ -68,7 +65,7 @@ class wxOGLConstraint: public wxObject wxOGLConstraint(int type, wxShape *constraining, wxList& constrained); ~wxOGLConstraint(); - // Returns TRUE if anything changed + // Returns true if anything changed bool Evaluate(); inline void SetSpacing(double x, double y) { m_xSpacing = x; m_ySpacing = y; }; bool Equals(double a, double b);