1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
6 // Copyright: (c) 1998 Robert Roebling, Julian Smart
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
13 #include "wx/object.h"
15 class WXDLLIMPEXP_CORE wxGDIObject
: public wxObject
18 inline wxGDIObject() { m_visible
= FALSE
; };
19 inline ~wxGDIObject() {}
21 virtual bool GetVisible() { return m_visible
; }
22 virtual void SetVisible( bool visible
) { m_visible
= visible
; }
24 bool IsNull() const { return (m_refData
== 0); }
27 bool m_visible
; /* can a pointer to this object be safely taken?
28 * - only if created within FindOrCreate... */
30 DECLARE_DYNAMIC_CLASS(wxGDIObject
)