From 0aa236cddc36efa6e96171d7f706ec35cade0aaa Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sat, 6 Oct 2001 22:44:47 +0000 Subject: [PATCH] fatal bug in wxMGL that caused hard to track crashes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mgl/gdiobj.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/wx/mgl/gdiobj.h b/include/wx/mgl/gdiobj.h index d17d4aedaa..228f5508b7 100644 --- a/include/wx/mgl/gdiobj.h +++ b/include/wx/mgl/gdiobj.h @@ -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_ -- 2.50.0