- flex->Add( new wxStaticText( this, -1, _("Status:") ),
- 0, wxALIGN_CENTER_VERTICAL|wxALL-wxTOP, 5 );
- flex->Add( new wxStaticText( this, -1, factory->CreateStatusLine() ),
- 0, wxALIGN_CENTER_VERTICAL|wxALL-wxTOP, 5 );
+ flex->Add( new wxStaticText( this, wxID_ANY, _("Status:") ),
+ 0, wxALIGN_CENTER_VERTICAL|(wxALL-wxTOP), 5 );
+ flex->Add( new wxStaticText( this, wxID_ANY, factory->CreateStatusLine() ),
+ 0, wxALIGN_CENTER_VERTICAL|(wxALL-wxTOP), 5 );