]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/dcclient.h
set eol-style
[wxWidgets.git] / include / wx / os2 / dcclient.h
index 351e993888681b531f478b1173155b19726a3ba0..fc18c8f8ae351b982c8b061a3e6e94431d68e0f1 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     09/12/99
 // RCS-ID:      $Id$
 // Copyright:   (c) David Webster
 // Created:     09/12/99
 // RCS-ID:      $Id$
 // Copyright:   (c) David Webster
-// Licence:     wxWindows license
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_DCCLIENT_H_
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_DCCLIENT_H_
@@ -24,7 +24,7 @@
 // ----------------------------------------------------------------------------
 
 // this one if used by wxPaintDC only
 // ----------------------------------------------------------------------------
 
 // this one if used by wxPaintDC only
-struct WXDLLEXPORT wxPaintDCInfo;
+struct WXDLLIMPEXP_FWD_CORE wxPaintDCInfo;
 
 WX_DECLARE_OBJARRAY(wxPaintDCInfo, wxArrayDCInfo);
 
 
 WX_DECLARE_OBJARRAY(wxPaintDCInfo, wxArrayDCInfo);
 
@@ -37,12 +37,21 @@ class WXDLLEXPORT wxWindowDC : public wxDC
 public:
     wxWindowDC();
 
 public:
     wxWindowDC();
 
+    //
     // Create a DC corresponding to the whole window
     // Create a DC corresponding to the whole window
+    //
     wxWindowDC(wxWindow* pWin);
 
 protected:
     void InitDC(void);
 
     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)
 private:
     SIZEL                   m_PageSize;
     DECLARE_DYNAMIC_CLASS(wxWindowDC)
@@ -59,6 +68,13 @@ public:
 protected:
     void InitDC(void);
 
 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
 private:
     DECLARE_DYNAMIC_CLASS(wxClientDC)
 }; // end of CLASS wxClientDC