]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/include/wx/ogl/divided.h
Doesn't conform to license conditions, so removing
[wxWidgets.git] / contrib / include / wx / ogl / divided.h
index 6fc733eee32ca61acc655652a496c2af7d85c6c8..07a5c576146cae9a0134cb4ed58018dd8b5e5da2 100644 (file)
@@ -6,16 +6,17 @@
 // 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_
 
 #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)
 
@@ -38,7 +39,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();
@@ -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