From 0545d965debc5438530c5173a18cfd7789403e3d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 9 Apr 2002 23:55:38 +0000 Subject: [PATCH] added another size to the status bar display git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/controls/controls.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/samples/controls/controls.cpp b/samples/controls/controls.cpp index c35fdf2f9b..541e0d5a5e 100644 --- a/samples/controls/controls.cpp +++ b/samples/controls/controls.cpp @@ -184,10 +184,12 @@ private: if ( m_frameStatusBar ) { wxString msg; - wxSize sizeCl = GetClientSize(); - msg.Printf(_("pos=(%d, %d), size=%dx%d (client=%dx%d)"), + wxSize sizeAll = GetSize(), + sizeCl = GetClientSize(); + msg.Printf(_("pos=(%d, %d), size=%dx%d or %dx%d (client=%dx%d)"), pos.x, pos.y, size.x, size.y, + sizeAll.x, sizeAll.y, sizeCl.x, sizeCl.y); SetStatusText(msg, 1); } -- 2.45.2