X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2c4c7d0466244810b9bf239aba5200628ebeadcc..e81a301cbdc8729b0a71fa5dfd7124bf59368673:/include/wx/mac/statline.h diff --git a/include/wx/mac/statline.h b/include/wx/mac/statline.h index af6516c90d..51eda50002 100644 --- a/include/wx/mac/statline.h +++ b/include/wx/mac/statline.h @@ -27,7 +27,7 @@ class WXDLLEXPORT wxStaticLine : public wxStaticLineBase public: // constructors and pseudo-constructors - wxStaticLine() { } + wxStaticLine() : m_statbox(NULL) { } wxStaticLine( wxWindow *parent, wxWindowID id, @@ -35,6 +35,7 @@ public: const wxSize &size = wxDefaultSize, long style = wxLI_HORIZONTAL, const wxString &name = wxStaticTextNameStr ) + : m_statbox(NULL) { Create(parent, id, pos, size, style, name); }