Added GetPureVitualSize() returning just m_virtualSize.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -424,10 +424,16 @@ public:
|
||||
|
||||
// Override these methods for windows that have a virtual size
|
||||
// independent of their client size. eg. the virtual area of a
|
||||
// wxScrolledWindow. Default is to alias VirtualSize to ClientSize.
|
||||
// wxScrolledWindow. Default is to return m_virtualSize unless
|
||||
// the client size is bigger.
|
||||
|
||||
virtual void DoSetVirtualSize( int x, int y );
|
||||
virtual wxSize DoGetVirtualSize() const; // { return m_virtualSize; }
|
||||
virtual wxSize DoGetVirtualSize() const;
|
||||
|
||||
|
||||
// Really return just m_virtualSize, nothing else
|
||||
|
||||
wxSize GetPureVirtualSize() const { return m_virtualSize; }
|
||||
|
||||
// Return the largest of ClientSize and BestSize (as determined
|
||||
// by a sizer, interior children, or other means)
|
||||
|
Reference in New Issue
Block a user