// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "statusbr.h"
-#endif
-
// for compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#pragma hdrstop
#endif
-#ifndef WX_PRECOMP
- #include "wx/setup.h"
- #include "wx/frame.h"
- #include "wx/settings.h"
- #include "wx/dcclient.h"
-#endif
-
#if wxUSE_NATIVE_STATUSBAR
-#include "wx/intl.h"
-#include "wx/log.h"
#include "wx/statusbr.h"
+#ifndef WX_PRECOMP
+ #include "wx/frame.h"
+ #include "wx/settings.h"
+ #include "wx/dcclient.h"
+ #include "wx/intl.h"
+ #include "wx/log.h"
+#endif
+
+#include <StatusBar.h>
+
// ----------------------------------------------------------------------------
// macros
// ----------------------------------------------------------------------------
wxStatusBarPalm::wxStatusBarPalm()
{
SetParent(NULL);
- m_hWnd = 0;
- m_windowId = 0;
}
bool wxStatusBarPalm::Create(wxWindow *parent,
SetName(name);
SetParent(parent);
+ SetId( id == wxID_ANY ? NewControlId() : id );
parent->AddChild(this);
- m_windowId = id == wxID_ANY ? NewControlId() : id;
-
SetFieldsCount(1);
- SubclassWin(m_hWnd);
return true;
}
}
#endif // wxUSE_NATIVE_STATUSBAR
-