compilation fix (sorry!)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-10-31 15:13:54 +00:00
parent ea7c631cd4
commit 7b30ac82dd
4 changed files with 8 additions and 2 deletions

View File

@@ -147,6 +147,9 @@ public:
wxClientDC() { } wxClientDC() { }
wxClientDC( wxWindow *win ); wxClientDC( wxWindow *win );
protected:
virtual void DoGetSize(int *width, int *height) const;
private: private:
DECLARE_DYNAMIC_CLASS(wxClientDC) DECLARE_DYNAMIC_CLASS(wxClientDC)
}; };

View File

@@ -147,6 +147,9 @@ public:
wxClientDC() { } wxClientDC() { }
wxClientDC( wxWindow *win ); wxClientDC( wxWindow *win );
protected:
virtual void DoGetSize(int *width, int *height) const;
private: private:
DECLARE_DYNAMIC_CLASS(wxClientDC) DECLARE_DYNAMIC_CLASS(wxClientDC)
}; };

View 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 );
} }
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View 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 );
} }
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------