+ // update current status text
+ SetStatusText(text, number);
+}
+
+void wxStatusBarBase::PopStatusText(int number)
+{
+ wxString text = m_panes[number].arrStack.back();
+ m_panes[number].arrStack.pop_back(); // also remove it from the stack
+
+ // restore the popped status text in the pane
+ SetStatusText(text, number);
+}
+
+#endif // wxUSE_STATUSBAR