X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/32b8ec418aee4e38877d4cb79e2984c766dcc358..4b1e72e266ec6993d665c65d5f5e59e7981afc17:/include/wx/mgl/gdiobj.h diff --git a/include/wx/mgl/gdiobj.h b/include/wx/mgl/gdiobj.h index d17d4aedaa..6281cee51d 100644 --- a/include/wx/mgl/gdiobj.h +++ b/include/wx/mgl/gdiobj.h @@ -6,13 +6,13 @@ // Created: 01/02/97 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWidgets licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_GDIOBJ_H_ #define _WX_GDIOBJ_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "gdiobj.h" #endif @@ -36,7 +36,7 @@ class WXDLLEXPORT wxGDIRefData : public wxObjectRefData class WXDLLEXPORT wxGDIObject : public wxObject { public: - wxGDIObject() {} + wxGDIObject() { m_visible = FALSE; } virtual bool GetVisible() { return m_visible; } virtual void SetVisible( bool visible ) { m_visible = visible; } @@ -51,5 +51,4 @@ private: DECLARE_DYNAMIC_CLASS(wxGDIObject) }; -#endif - // _WX_GDIOBJ_H_ +#endif // _WX_GDIOBJ_H_