#ifndef _WX_GDIOBJ_H_
#define _WX_GDIOBJ_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "gdiobj.h"
#endif
class WXDLLEXPORT wxGDIObject : public wxObject
{
public:
- wxGDIObject() { m_visible = FALSE; };
+ wxGDIObject();
// Creates the resource
virtual bool RealizeResource() { return FALSE; };
bool IsNull() const { return (m_refData == 0); }
// Returns handle.
- virtual WXHANDLE GetResourceHandle() { return 0; }
+ virtual WXHANDLE GetResourceHandle() const { return 0; }
virtual bool GetVisible() { return m_visible; }
virtual void SetVisible(bool v) { m_visible = v; }