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
This commit is contained in:
Václav Slavík 2001-10-06 22:44:47 +00:00
parent b7f4f35038
commit 0aa236cddc

View File

@ -36,7 +36,7 @@ class WXDLLEXPORT wxGDIRefData : public wxObjectRefData
class WXDLLEXPORT wxGDIObject : public wxObject class WXDLLEXPORT wxGDIObject : public wxObject
{ {
public: public:
wxGDIObject() {} wxGDIObject() { m_visible = FALSE; }
virtual bool GetVisible() { return m_visible; } virtual bool GetVisible() { return m_visible; }
virtual void SetVisible( bool visible ) { m_visible = visible; } virtual void SetVisible( bool visible ) { m_visible = visible; }
@ -51,5 +51,4 @@ private:
DECLARE_DYNAMIC_CLASS(wxGDIObject) DECLARE_DYNAMIC_CLASS(wxGDIObject)
}; };
#endif #endif // _WX_GDIOBJ_H_
// _WX_GDIOBJ_H_