]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix (sorry!)
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 31 Oct 2000 15:13:54 +0000 (15:13 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 31 Oct 2000 15:13:54 +0000 (15:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gtk/dcclient.h
include/wx/gtk1/dcclient.h
src/gtk/dcclient.cpp
src/gtk1/dcclient.cpp

index 2168e181d7c6e87e0fdf4736e8095bef4f6ab377..15ebfa6b56efd0e0a63cb46dc2a20cb549b75231 100644 (file)
@@ -147,6 +147,9 @@ public:
     wxClientDC() { }
     wxClientDC( wxWindow *win );
 
     wxClientDC() { }
     wxClientDC( wxWindow *win );
 
+protected:
+    virtual void DoGetSize(int *width, int *height) const;
+
 private:
     DECLARE_DYNAMIC_CLASS(wxClientDC)
 };
 private:
     DECLARE_DYNAMIC_CLASS(wxClientDC)
 };
index 2168e181d7c6e87e0fdf4736e8095bef4f6ab377..15ebfa6b56efd0e0a63cb46dc2a20cb549b75231 100644 (file)
@@ -147,6 +147,9 @@ public:
     wxClientDC() { }
     wxClientDC( wxWindow *win );
 
     wxClientDC() { }
     wxClientDC( wxWindow *win );
 
+protected:
+    virtual void DoGetSize(int *width, int *height) const;
+
 private:
     DECLARE_DYNAMIC_CLASS(wxClientDC)
 };
 private:
     DECLARE_DYNAMIC_CLASS(wxClientDC)
 };
index 62924c7ca705be6fe14a7366b1d10c36ee98547a..588fbb5501ddae3a84d37644a09eea86600fdc0e 100644 (file)
@@ -2262,7 +2262,7 @@ void wxClientDC::DoGetSize(int *width, int *height) const
 {
     wxCHECK_RET( m_owner, _T("GetSize() doesn't work without window") );
 
 {
     wxCHECK_RET( m_owner, _T("GetSize() doesn't work without window") );
 
-    m_owner->GetClientSize( &width, &height );
+    m_owner->GetClientSize( width, height );
 }
 
 // ----------------------------------------------------------------------------
 }
 
 // ----------------------------------------------------------------------------
index 62924c7ca705be6fe14a7366b1d10c36ee98547a..588fbb5501ddae3a84d37644a09eea86600fdc0e 100644 (file)
@@ -2262,7 +2262,7 @@ void wxClientDC::DoGetSize(int *width, int *height) const
 {
     wxCHECK_RET( m_owner, _T("GetSize() doesn't work without window") );
 
 {
     wxCHECK_RET( m_owner, _T("GetSize() doesn't work without window") );
 
-    m_owner->GetClientSize( &width, &height );
+    m_owner->GetClientSize( width, height );
 }
 
 // ----------------------------------------------------------------------------
 }
 
 // ----------------------------------------------------------------------------