]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/include/wx/ogl/divided.h
Don't use a saved label size incase the size changes. Patch from Hong Yuan.
[wxWidgets.git] / contrib / include / wx / ogl / divided.h
index dea08ce1c30cca95c6c5078ad3dadd09ba557b7c..5148f615f69ecd50588d466343030e5389cbc4a4 100644 (file)
@@ -6,16 +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_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
-#pragma interface "divided.h"
-#endif
-
 
 /*
  * Definition of a region
@@ -39,7 +35,7 @@ class WXDLLIMPEXP_OGL 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();