added UnsetVirtualSize()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2005-03-17 22:18:16 +00:00
parent a66faa07e5
commit 0bb405ac54

View File

@ -411,6 +411,9 @@ public:
void SetVirtualSize( const wxSize &size ) { DoSetVirtualSize( size.x, size.y ); }
void SetVirtualSize( int x, int y ) { DoSetVirtualSize( x, y ); }
// this is necessary to forget about previously set virtual size
void UnsetVirtualSize() { m_virtualSize = wxDefaultSize; }
wxSize GetVirtualSize() const { return DoGetVirtualSize(); }
void GetVirtualSize( int *x, int *y ) const
{