X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/47bc1060127d86222768789575295254a710f5a6..bd5e2346d39a5465b8b15da90cef6138735fd76b:/include/wx/motif/dcclient.h diff --git a/include/wx/motif/dcclient.h b/include/wx/motif/dcclient.h index 38c9b2d5ec..9b75bf2aad 100644 --- a/include/wx/motif/dcclient.h +++ b/include/wx/motif/dcclient.h @@ -97,6 +97,7 @@ class WXDLLEXPORT wxWindowDC: public wxDC 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; } @@ -130,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