-#if wxUSE_STATUSBAR
-wxStatusBar *wxFrame::OnCreateStatusBar(int number,
- long style,
- wxWindowID id,
- const wxString& name)
-{
- wxStatusBar *statusBar = NULL;
-
-#if wxUSE_NATIVE_STATUSBAR
- if ( !UsesNativeStatusBar() )
- {
- statusBar = (wxStatusBar *)new wxStatusBarGeneric(this, id, style);
- }
- else
-#endif
- {
- statusBar = new wxStatusBar(this, id, style, name);
- }
-
- statusBar->SetFieldsCount(number);
-
- StatusBar=statusBar;
- return statusBar;
-
- return NULL;
-}
-
-void wxFrame::PositionStatusBar()
-{
-}
-#endif // wxUSE_STATUSBAR
-