Implement wxWindow::DoGetBorderSize() for all ports.
Implement DoGetBorderSize() properly for wxGTK and use the difference between the full window size and the client size for all the ports not implementing this method. The latter is incorrect in the presence of the scrollbars but is the best we can do in general. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1679,8 +1679,9 @@ protected:
|
||||
// of the left and the right border in the x component of the returned size
|
||||
// and the sum of the heights of the top and bottom borders in the y one
|
||||
//
|
||||
// NB: this is currently only implemented by wxMSW and wxUniv so far and
|
||||
// simply asserts in the other ports
|
||||
// NB: this is currently only implemented properly for wxMSW, wxGTK and
|
||||
// wxUniv and doesn't behave correctly in the presence of scrollbars in
|
||||
// the other ports
|
||||
virtual wxSize DoGetBorderSize() const;
|
||||
|
||||
// move the window to the specified location and resize it: this is called
|
||||
|
Reference in New Issue
Block a user