]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk1/gdiobj.h
1. wxApp::ProcessPendingEvents() is now common, added appcmn.cpp and
[wxWidgets.git] / include / wx / gtk1 / 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
36b3b54a 20class wxGDIObject : public wxObject
c801d85f
KB
21{
22DECLARE_DYNAMIC_CLASS(wxGDIObject)
c801d85f 23
36b3b54a
RR
24public:
25 inline wxGDIObject() { m_visible = FALSE; };
26 inline ~wxGDIObject() {};
27
28 virtual bool GetVisible() { return m_visible; }
29 virtual void SetVisible( bool visible ) { m_visible = visible; }
c801d85f
KB
30
31protected:
36b3b54a
RR
32 bool m_visible; /* can a pointer to this object be safely taken?
33 * - only if created within FindOrCreate... */
c801d85f
KB
34};
35
36#endif
37 // __GDIOBJH__