X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0cd159592e4d9c979aa5a626627cdd9158fcc34f..b04237742c51e022af8ca8fe8933437734f392a3:/include/wx/msw/statusbar.h 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); }