From: Vadim Zeitlin Date: Tue, 31 Oct 2000 15:13:54 +0000 (+0000) Subject: compilation fix (sorry!) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7b30ac82dd01b5ca4fd1db2f2889b7714ad1577c compilation fix (sorry!) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/gtk/dcclient.h b/include/wx/gtk/dcclient.h index 2168e181d7..15ebfa6b56 100644 --- a/include/wx/gtk/dcclient.h +++ b/include/wx/gtk/dcclient.h @@ -147,6 +147,9 @@ public: wxClientDC() { } wxClientDC( wxWindow *win ); +protected: + virtual void DoGetSize(int *width, int *height) const; + private: DECLARE_DYNAMIC_CLASS(wxClientDC) }; diff --git a/include/wx/gtk1/dcclient.h b/include/wx/gtk1/dcclient.h index 2168e181d7..15ebfa6b56 100644 --- a/include/wx/gtk1/dcclient.h +++ b/include/wx/gtk1/dcclient.h @@ -147,6 +147,9 @@ public: wxClientDC() { } wxClientDC( wxWindow *win ); +protected: + virtual void DoGetSize(int *width, int *height) const; + private: DECLARE_DYNAMIC_CLASS(wxClientDC) }; diff --git a/src/gtk/dcclient.cpp b/src/gtk/dcclient.cpp index 62924c7ca7..588fbb5501 100644 --- a/src/gtk/dcclient.cpp +++ b/src/gtk/dcclient.cpp @@ -2262,7 +2262,7 @@ void wxClientDC::DoGetSize(int *width, int *height) const { wxCHECK_RET( m_owner, _T("GetSize() doesn't work without window") ); - m_owner->GetClientSize( &width, &height ); + m_owner->GetClientSize( width, height ); } // ---------------------------------------------------------------------------- diff --git a/src/gtk1/dcclient.cpp b/src/gtk1/dcclient.cpp index 62924c7ca7..588fbb5501 100644 --- a/src/gtk1/dcclient.cpp +++ b/src/gtk1/dcclient.cpp @@ -2262,7 +2262,7 @@ void wxClientDC::DoGetSize(int *width, int *height) const { wxCHECK_RET( m_owner, _T("GetSize() doesn't work without window") ); - m_owner->GetClientSize( &width, &height ); + m_owner->GetClientSize( width, height ); } // ----------------------------------------------------------------------------