X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5f331691d426fef30965f9dd802c9a4fc87d785b..749a05ee85ea5453f155454e4640ebf795233ad3:/contrib/include/wx/ogl/basicp.h diff --git a/contrib/include/wx/ogl/basicp.h b/contrib/include/wx/ogl/basicp.h index 5c5b40317a..c4dd09b985 100644 --- a/contrib/include/wx/ogl/basicp.h +++ b/contrib/include/wx/ogl/basicp.h @@ -6,7 +6,7 @@ // Created: 12/07/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _OGL_BASICP_H_ @@ -73,7 +73,7 @@ public: double m_yoffset; wxShape* m_shape; wxCursor* m_oldCursor; - bool m_eraseObject; // If TRUE, erases object before dragging handle. + bool m_eraseObject; // If true, erases object before dragging handle. /* * Store original top-left, bottom-right coordinates @@ -138,7 +138,7 @@ class WXDLLIMPEXP_OGL wxShapeRegion: public wxObject // Accessors inline void SetText(const wxString& s) - { m_regionText = s; m_formattedText.Append(new wxShapeTextLine(0,0,s));} + { m_regionText = s; } void SetFont(wxFont *f); void SetMinSize(double w, double h); void SetSize(double w, double h); @@ -157,7 +157,7 @@ class WXDLLIMPEXP_OGL wxShapeRegion: public wxObject inline int GetFormatMode() const { return m_formatMode; } inline wxString GetName() const { return m_regionName; } inline wxString GetColour() const { return m_textColour; } - wxColour *GetActualColourObject(); + wxColour GetActualColourObject(); inline wxList& GetFormattedText() { return m_formattedText; } inline wxString GetPenColour() const { return m_penColour; } inline int GetPenStyle() const { return m_penStyle; } @@ -188,7 +188,7 @@ public: int m_formatMode; // FORMAT_CENTRE_HORIZ | FORMAT_CENTRE_VERT | FORMAT_NONE wxString m_regionName; wxString m_textColour; - wxColour* m_actualColourObject; // For speed purposes + wxColour m_actualColourObject; // For speed purposes // New members for specifying divided rectangle division colour/style 30/6/94 wxString m_penColour;