]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/gtk1/gdiobj.h
attempt to fix endian problems when doing cross-compiles for universal binaries from...
[wxWidgets.git] / include / wx / gtk1 / gdiobj.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/gtk1/gdiobj.h
3// Purpose:
4// Author: Robert Roebling
5// Id: $Id$
6// Copyright: (c) 1998 Robert Roebling, Julian Smart
7// Licence: wxWindows licence
8/////////////////////////////////////////////////////////////////////////////
9
10#ifndef __GDIOBJH__
11#define __GDIOBJH__
12
13#include "wx/object.h"
14
15class WXDLLIMPEXP_CORE wxGDIObject : public wxObject
16{
17public:
18 inline wxGDIObject() { m_visible = FALSE; };
19 inline ~wxGDIObject() {}
20
21 virtual bool GetVisible() { return m_visible; }
22 virtual void SetVisible( bool visible ) { m_visible = visible; }
23
24 bool IsNull() const { return (m_refData == 0); }
25
26protected:
27 bool m_visible; /* can a pointer to this object be safely taken?
28 * - only if created within FindOrCreate... */
29private:
30 DECLARE_DYNAMIC_CLASS(wxGDIObject)
31};
32
33#endif
34 // __GDIOBJH__