+bool wxStatusBarPalm::IsShown() const
+{
+ return StatGetAttribute ( statAttrBarVisible , NULL );
+}
+
+bool wxStatusBarPalm::Show( bool show )
+{
+ if(show)
+ {
+ // show it if hidden
+ if(IsShown())
+ return false;
+ status_t rc = StatShow();
+ wxCHECK_MSG( rc == errNone, false, wxT("cannot hide status bar") );
+ }
+ else
+ {
+ // hide it if shown
+ if(!IsShown())
+ return false;
+ status_t rc = StatHide();
+ wxCHECK_MSG( rc == errNone, false, wxT("cannot hide status bar") );
+ }
+ return true;
+}
+