X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac7fb818ccdcb697268fe9d0398bffb85d74fade..2db991f4576e7b08e4aa877c6350cca9656a60cc:/include/wx/os2/dcclient.h?ds=sidebyside diff --git a/include/wx/os2/dcclient.h b/include/wx/os2/dcclient.h index f0d6861830..9d23d693b1 100644 --- a/include/wx/os2/dcclient.h +++ b/include/wx/os2/dcclient.h @@ -37,12 +37,21 @@ class WXDLLEXPORT wxWindowDC : public wxDC public: wxWindowDC(); + // // Create a DC corresponding to the whole window + // wxWindowDC(wxWindow* pWin); protected: void InitDC(void); + // + // Override some base class virtuals + // + virtual void DoGetSize( int* pWidth + ,int* pHeight + ) const; + private: SIZEL m_PageSize; DECLARE_DYNAMIC_CLASS(wxWindowDC) @@ -52,15 +61,25 @@ class WXDLLEXPORT wxClientDC : public wxWindowDC { public: wxClientDC(); + virtual ~wxClientDC(); - // Create a DC corresponding to the client area of the window wxClientDC(wxWindow *win); +protected: + void InitDC(void); + + // + // Override some base class virtuals + // + virtual void DoGetSize( int* pWidth + ,int* pHeight + ) const; + private: DECLARE_DYNAMIC_CLASS(wxClientDC) }; // end of CLASS wxClientDC -class WXDLLEXPORT wxPaintDC : public wxWindowDC +class WXDLLEXPORT wxPaintDC : public wxClientDC { public: wxPaintDC();