]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk1/gdiobj.h
1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
6 // Copyright: (c) 1998 Robert Roebling, Julian Smart
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
14 #include "wx/object.h"
16 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
20 class wxGDIObject
: public wxObject
23 inline wxGDIObject() { m_visible
= FALSE
; };
24 inline ~wxGDIObject() {}
26 virtual bool GetVisible() { return m_visible
; }
27 virtual void SetVisible( bool visible
) { m_visible
= visible
; }
29 bool IsNull() const { return (m_refData
== 0); }
32 bool m_visible
; /* can a pointer to this object be safely taken?
33 * - only if created within FindOrCreate... */
35 DECLARE_DYNAMIC_CLASS(wxGDIObject
)