]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/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"
20 class WXDLLEXPORT wxGDIObject
: public wxObject
22 DECLARE_DYNAMIC_CLASS(wxGDIObject
)
24 inline wxGDIObject(void) { m_visible
= FALSE
; };
25 inline ~wxGDIObject(void) {};
27 virtual bool GetVisible(void) { return m_visible
; }
28 virtual void SetVisible(bool v
) { m_visible
= v
; }
31 bool m_visible
; // Can a pointer to this object be safely taken?
32 // - only if created within FindOrCreate...