]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk/gdiobj.h
Makefile tweaks
[wxWidgets.git] / include / wx / gtk / gdiobj.h
CommitLineData
c801d85f
KB
1/////////////////////////////////////////////////////////////////////////////
2// Name: gdiobj.h
3// Purpose:
4// Author: Robert Roebling
58614078
RR
5// Id: $Id$
6// Copyright: (c) 1998 Robert Roebling, Julian Smart
c801d85f
KB
7// Licence: wxWindows licence
8/////////////////////////////////////////////////////////////////////////////
9
10
11#ifndef __GDIOBJH__
12#define __GDIOBJH__
13
14#include "wx/object.h"
15
16#ifdef __GNUG__
17#pragma interface
18#endif
19
20class WXDLLEXPORT wxGDIObject: public wxObject
21{
22DECLARE_DYNAMIC_CLASS(wxGDIObject)
23 public:
24 inline wxGDIObject(void) { m_visible = FALSE; };
25 inline ~wxGDIObject(void) {};
26
27 virtual bool GetVisible(void) { return m_visible; }
28 virtual void SetVisible(bool v) { m_visible = v; }
29
30protected:
31 bool m_visible; // Can a pointer to this object be safely taken?
32 // - only if created within FindOrCreate...
33};
34
35#endif
36 // __GDIOBJH__