#ifndef _WX_GENERIC_STATLINE_H_
#define _WX_GENERIC_STATLINE_H_
-#ifdef __GNUG__
- #pragma interface
+#if defined(__GNUG__) && !defined(__APPLE__)
+ #pragma interface "statline.h"
#endif
class wxStaticBox;
public:
// constructors and pseudo-constructors
- wxStaticLine() { }
+ wxStaticLine() : m_statbox(NULL) { }
wxStaticLine( wxWindow *parent,
wxWindowID id,
const wxSize &size = wxDefaultSize,
long style = wxLI_HORIZONTAL,
const wxString &name = wxStaticTextNameStr )
+ : m_statbox(NULL)
{
Create(parent, id, pos, size, style, name);
}