#if wxUSE_NATIVE_STATUSBAR
-class WXDLLIMPEXP_CORE wxClientDC;
+class WXDLLIMPEXP_FWD_CORE wxClientDC;
class WXDLLIMPEXP_CORE wxStatusBar : public wxStatusBarBase
{
wxStatusBar();
wxStatusBar(wxWindow *parent,
wxWindowID id = wxID_ANY,
- long style = wxST_SIZEGRIP,
+ long style = wxSTB_DEFAULT_STYLE,
const wxString& name = wxStatusBarNameStr)
{
+ m_pDC = NULL;
(void)Create(parent, id, style, name);
}
bool Create(wxWindow *parent,
wxWindowID id = wxID_ANY,
- long style = wxST_SIZEGRIP,
+ long style = wxSTB_DEFAULT_STYLE,
const wxString& name = wxStatusBarNameStr);
virtual ~wxStatusBar();