X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0cd159592e4d9c979aa5a626627cdd9158fcc34f..04ae32cdab5a96467db7a8d4eedb31c9799f0b56:/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); }