git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8664
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
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)
};
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)
};
{
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 );
}
// ----------------------------------------------------------------------------
}
// ----------------------------------------------------------------------------
{
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 );
}
// ----------------------------------------------------------------------------
}
// ----------------------------------------------------------------------------