X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/32b8ec418aee4e38877d4cb79e2984c766dcc358..830f8f11bca5c0892ae767ba14790c8b5b59011f:/include/wx/mgl/gdiobj.h diff --git a/include/wx/mgl/gdiobj.h b/include/wx/mgl/gdiobj.h index d17d4aedaa..7e44a68909 100644 --- a/include/wx/mgl/gdiobj.h +++ b/include/wx/mgl/gdiobj.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: wx/msw/gdiobj.h +// Name: wx/mgl/gdiobj.h // Purpose: wxGDIObject class: base class for other GDI classes // Author: Julian Smart // Modified by: @@ -12,10 +12,6 @@ #ifndef _WX_GDIOBJ_H_ #define _WX_GDIOBJ_H_ -#ifdef __GNUG__ - #pragma interface "gdiobj.h" -#endif - #include "wx/object.h" // base class // ---------------------------------------------------------------------------- @@ -36,7 +32,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 +47,4 @@ private: DECLARE_DYNAMIC_CLASS(wxGDIObject) }; -#endif - // _WX_GDIOBJ_H_ +#endif // _WX_GDIOBJ_H_