X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/32b8ec418aee4e38877d4cb79e2984c766dcc358..9d9ad67384e5dc658c4de46e49113c321489bf81:/include/wx/mgl/gdiobj.h diff --git a/include/wx/mgl/gdiobj.h b/include/wx/mgl/gdiobj.h index d17d4aedaa..d148b14306 100644 --- a/include/wx/mgl/gdiobj.h +++ b/include/wx/mgl/gdiobj.h @@ -12,7 +12,7 @@ #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_