This weeks interface and compile catchup

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2002-03-01 19:50:08 +00:00
parent ea1ad04b43
commit bc5a847c1b
5 changed files with 89 additions and 164 deletions

View File

@@ -160,6 +160,17 @@ void wxWindowDC::InitDC()
SetBackground(wxBrush(m_pCanvas->GetBackgroundColour(), wxSOLID));
} // end of wxWindowDC::InitDC
void wxWindowDC::DoGetSize(
int* pnWidth
, int* pnHeight
) const
{
wxCHECK_RET( m_pCanvas, _T("wxWindowDC without a window?") );
m_pCanvas->GetSize( pnWidth
,pnHeight
);
} // end of wxWindowDC::DoGetSize
// ----------------------------------------------------------------------------
// wxClientDC
// ----------------------------------------------------------------------------
@@ -241,6 +252,17 @@ wxClientDC::~wxClientDC()
{
} // end of wxClientDC::~wxClientDC
void wxClientDC::DoGetSize(
int* pnWidth
, int* pnHeight
) const
{
wxCHECK_RET( m_pCanvas, _T("wxWindowDC without a window?") );
m_pCanvas->GetClientSize( pnWidth
,pnHeight
);
} // end of wxClientDC::DoGetSize
// ----------------------------------------------------------------------------
// wxPaintDC
// ----------------------------------------------------------------------------