X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0cd159592e4d9c979aa5a626627cdd9158fcc34f..9b49405777342458dc1666001865eef7309b6c30:/include/wx/msw/statusbar.h?ds=inline diff --git a/include/wx/msw/statusbar.h b/include/wx/msw/statusbar.h index 55a1f16c83..4b4677c0f3 100644 --- a/include/wx/msw/statusbar.h +++ b/include/wx/msw/statusbar.h @@ -14,7 +14,7 @@ #if wxUSE_NATIVE_STATUSBAR -class WXDLLIMPEXP_CORE wxClientDC; +class WXDLLIMPEXP_FWD_CORE wxClientDC; class WXDLLIMPEXP_CORE wxStatusBar : public wxStatusBarBase { @@ -26,6 +26,7 @@ public: long style = wxST_SIZEGRIP, const wxString& name = wxStatusBarNameStr) { + m_pDC = NULL; (void)Create(parent, id, style, name); }