X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/16c1f7f345e1850f590cfbf67c3b00fbb6d2e62e..f66b7050e0ccca3dc2f2c6d235651d2e5844faab:/include/wx/motif/dcclient.h diff --git a/include/wx/motif/dcclient.h b/include/wx/motif/dcclient.h index a4d303e885..9b75bf2aad 100644 --- a/include/wx/motif/dcclient.h +++ b/include/wx/motif/dcclient.h @@ -91,11 +91,16 @@ class WXDLLEXPORT wxWindowDC: public wxDC virtual void SetClippingRegion( long x, long y, long width, long height ); virtual void DestroyClippingRegion(void); - virtual void DrawOpenSpline( wxList *points ); + virtual void DrawSpline( wxList *points ); // Motif-specific void SetDCClipping (); // Helper function for setting clipping + inline WXGC GetGC() const { return m_gc; } + inline WXDisplay* GetDisplay() const { return m_display; } + inline bool GetAutoSetting() const { return m_autoSetting; } + inline void SetAutoSetting(bool flag) { m_autoSetting = flag; } + protected: WXGC m_gc; WXGC m_gcBacking; @@ -118,6 +123,7 @@ protected: int m_currentStyle ; int m_currentFill ; int m_autoSetting ; // See comment in dcclient.cpp + WXFont m_oldFont; }; class WXDLLEXPORT wxPaintDC: public wxWindowDC @@ -125,7 +131,8 @@ class WXDLLEXPORT wxPaintDC: public wxWindowDC DECLARE_DYNAMIC_CLASS(wxPaintDC) public: wxPaintDC() {} - wxPaintDC(wxWindow* win): wxWindowDC(win) {} + wxPaintDC(wxWindow* win); + ~wxPaintDC(); }; class WXDLLEXPORT wxClientDC: public wxWindowDC