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:
@@ -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)
|
||||||
};
|
};
|
||||||
|
@@ -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)
|
||||||
};
|
};
|
||||||
|
@@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user