1. fixed client size calculations for GTK
2. fixed wxGTK region code 3. fixed bug with out of bounds coords in wxTextCtrl::HitTest() 4. tried to (but failed) fix the initial caret appearance git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -423,7 +423,7 @@ void wxWindow::DoGetClientSize(int *width, int *height) const
|
||||
|
||||
// if we don't have scrollbar or if it is outside the border (and not
|
||||
// blended into it), take account of the right border as well
|
||||
if ( !m_scrollbarVert || inside )
|
||||
if ( !m_scrollbarVert || !inside )
|
||||
w -= rectBorder.width;
|
||||
|
||||
// and always account for the left border
|
||||
@@ -435,7 +435,7 @@ void wxWindow::DoGetClientSize(int *width, int *height) const
|
||||
if ( m_scrollbarHorz )
|
||||
h -= m_scrollbarHorz->GetSize().y;
|
||||
|
||||
if ( !m_scrollbarHorz || inside )
|
||||
if ( !m_scrollbarHorz || !inside )
|
||||
h -= rectBorder.height;
|
||||
|
||||
*height = h - rectBorder.y;
|
||||
|
Reference in New Issue
Block a user