]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mgl/gdiobj.h
added wx/defs.h include to correct compilation issues under Mac OS X
[wxWidgets.git] / include / wx / mgl / gdiobj.h
index d17d4aedaa5d7da61a2f49f4d8ef9a126a64c4ae..228f5508b7d17c104926fd037bf25778c823af7b 100644 (file)
@@ -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_