#ifndef _WX_CLNTDATAH__
#define _WX_CLNTDATAH__
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "clntdata.h"
#endif
class WXDLLEXPORT wxStringClientData : public wxClientData
{
public:
- wxStringClientData() { }
+ wxStringClientData() : m_data() { }
wxStringClientData( const wxString &data ) : m_data(data) { }
void SetData( const wxString &data ) { m_data = data; }
const wxString& GetData() const { return m_data; }