#ifndef _WX_GDIOBJ_H_
#define _WX_GDIOBJ_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "gdiobj.h"
#endif
class WXDLLEXPORT wxGDIObject : public wxObject
{
public:
- wxGDIObject() {}
+ wxGDIObject() { m_visible = FALSE; }
virtual bool GetVisible() { return m_visible; }
virtual void SetVisible( bool visible ) { m_visible = visible; }
DECLARE_DYNAMIC_CLASS(wxGDIObject)
};
-#endif
- // _WX_GDIOBJ_H_
+#endif // _WX_GDIOBJ_H_