]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/statbr95.cpp
Initialize the field count in Create(). It was using a garbage value
[wxWidgets.git] / src / msw / statbr95.cpp
index 2820bef97cbf9a625e2d280bada53ef263695f50..86937ad4a9f7ae4c8b051ab700c6807ebd2e4065 100644 (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);