From c6e7d14fa96da41236095a18ee8c1e3ad13d3dd0 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 13 Mar 2000 17:12:31 +0000 Subject: [PATCH] Initialize the field count in Create(). It was using a garbage value and causing havoc... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/statbr95.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/msw/statbr95.cpp b/src/msw/statbr95.cpp index 2820bef97c..86937ad4a9 100644 --- a/src/msw/statbr95.cpp +++ b/src/msw/statbr95.cpp @@ -123,6 +123,8 @@ bool wxStatusBar95::Create(wxWindow *parent, return FALSE; } + SetFieldsCount(1); + // we can't subclass this window as usual because the status bar window // proc processes WM_SIZE and WM_PAINT specially // SubclassWin(m_hWnd); -- 2.50.0