]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/statline.h
wxPrinting fix for wxMGL
[wxWidgets.git] / include / wx / mac / statline.h
index af6516c90de3f68cb5f2d0bcfd05eb0113005d9c..51eda5000209c2eaebcecb3493aac4b278e3f371 100644 (file)
@@ -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);
     }