X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8bbe427f8e5a2078b266e282453595b5a634d35c..4fcd73bd9b5d346834d54775fa1d89fe2f685030:/include/wx/gtk1/dc.h diff --git a/include/wx/gtk1/dc.h b/include/wx/gtk1/dc.h index 09fef31960..7f4503fb6e 100644 --- a/include/wx/gtk1/dc.h +++ b/include/wx/gtk1/dc.h @@ -189,16 +189,16 @@ public: virtual void Clear() = 0; virtual void SetFont( const wxFont &font ) = 0; - virtual const wxFont& GetFont() const { return m_font; }; + virtual wxFont& GetFont() const { return (wxFont&)m_font; }; virtual void SetPen( const wxPen &pen ) = 0; - virtual const wxPen& GetPen() const { return m_pen; }; + virtual wxPen& GetPen() const { return (wxPen&)m_pen; }; virtual void SetBrush( const wxBrush &brush ) = 0; - virtual const wxBrush& GetBrush() const { return m_brush; }; + virtual wxBrush& GetBrush() const { return (wxBrush&)m_brush; }; virtual void SetBackground( const wxBrush &brush ) = 0; - virtual const wxBrush& GetBackground() const { return m_backgroundBrush; }; + virtual wxBrush& GetBackground() const { return (wxBrush&)m_backgroundBrush; }; virtual void SetLogicalFunction( int function ) = 0; virtual int GetLogicalFunction() { return m_logicalFunction; };