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:
@@ -123,6 +123,8 @@ bool wxStatusBar95::Create(wxWindow *parent,
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SetFieldsCount(1);
|
||||||
|
|
||||||
// we can't subclass this window as usual because the status bar window
|
// we can't subclass this window as usual because the status bar window
|
||||||
// proc processes WM_SIZE and WM_PAINT specially
|
// proc processes WM_SIZE and WM_PAINT specially
|
||||||
// SubclassWin(m_hWnd);
|
// SubclassWin(m_hWnd);
|
||||||
|
Reference in New Issue
Block a user