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
This commit is contained in:
Robin Dunn
2000-03-13 17:12:31 +00:00
parent 2035e10e83
commit c6e7d14fa9

View File

@@ -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);