]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/dcclient.h
Made widgets sample take up less space
[wxWidgets.git] / include / wx / os2 / dcclient.h
index 351e993888681b531f478b1173155b19726a3ba0..9d23d693b19b11ee0d17e29cc3446f327a933b1d 100644 (file)
@@ -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)
@@ -59,6 +68,13 @@ public:
 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