From 7df48461188b08c6fdaffae3bb55304496c1eb40 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Thu, 23 Jan 2014 05:54:29 +0000 Subject: [PATCH] use the more appropriate letter 'h' for height git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/collpane.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gtk/collpane.cpp b/src/gtk/collpane.cpp index 386a031b9e..20b5e91aba 100644 --- a/src/gtk/collpane.cpp +++ b/src/gtk/collpane.cpp @@ -271,9 +271,9 @@ void wxCollapsiblePane::OnSize(wxSizeEvent &ev) // here we need to resize the pane window otherwise, even if the GtkExpander container // is expanded or shrunk, the pane window won't be updated! - int w = ev.GetSize().y - m_szCollapsed.y; - if (w < 0) w = 0; - m_pPane->SetSize(ev.GetSize().x, w); + int h = ev.GetSize().y - m_szCollapsed.y; + if (h < 0) h = 0; + m_pPane->SetSize(ev.GetSize().x, h); // we need to explicitly call m_pPane->Layout() or else it won't correctly relayout // (even if SetAutoLayout(true) has been called on it!)