+#if wxUSE_STATUSBAR
+
+void wxFrame::PositionStatusBar()
+{
+ if ( m_frameStatusBar )
+ {
+ wxSize size = GetClientSize();
+ m_frameStatusBar->SetSize(0, size.y, size.x, -1);
+ }
+}
+
+wxStatusBar* wxFrame::CreateStatusBar(int number, long style,
+ wxWindowID id, const wxString& name)
+{
+ wxStatusBar *bar = wxFrameBase::CreateStatusBar(number, style, id, name);
+ SendSizeEvent();
+ return bar;
+}
+
+#endif // wxUSE_STATUSBAR
+