#if wxUSE_NATIVE_STATUSBAR
-#if !USE_SHARED_LIBRARY
IMPLEMENT_DYNAMIC_CLASS(wxStatusBar95, wxStatusBar);
BEGIN_EVENT_TABLE(wxStatusBar95, wxStatusBar)
EVT_SIZE(wxStatusBar95::OnSize)
END_EVENT_TABLE()
-#endif //USE_SHARED_LIBRARY
// ----------------------------------------------------------------------------
void wxStatusBar95::SetFieldsWidth()
{
+ if ( !m_nFields )
+ return;
+
int *pWidths = new int[m_nFields];
int nWindowWidth, y;