From: Robin Dunn Date: Mon, 13 Mar 2000 17:12:31 +0000 (+0000) Subject: Initialize the field count in Create(). It was using a garbage value X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c6e7d14fa96da41236095a18ee8c1e3ad13d3dd0 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 --- 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);