]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/gdiobj.h
Some refresh optimizations.
[wxWidgets.git] / include / wx / gtk / gdiobj.h
index 23e4077cc7cda6a753615df9ced5f5daf39da07d..12153a10251eeece485fc263e10c58ee91a7bf6a 100644 (file)
@@ -26,6 +26,8 @@ public:
     virtual bool GetVisible() { return m_visible; }
     virtual void SetVisible( bool visible ) { m_visible = visible; }
 
+    bool IsNull() const { return (m_refData == 0); }
+
 protected:
     bool m_visible; /* can a pointer to this object be safely taken?
                      * - only if created within FindOrCreate... */