]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/pen.h
moved win_gtk.h header to wx/gtk/private, it's for internal use only
[wxWidgets.git] / include / wx / x11 / pen.h
index ccb6310eb552db6eb74bde9a1d7fb53034cb306d..e7d259bc9dab24ba1c9284b1873ecb3abfd65f44 100644 (file)
@@ -38,9 +38,6 @@ public:
     wxPen( const wxBitmap &stipple, int width );
     virtual ~wxPen();
 
-    bool Ok() const { return IsOk(); }
-    bool IsOk() const { return m_refData != NULL; }
-
     bool operator == ( const wxPen& pen ) const;
     bool operator != (const wxPen& pen) const { return !(*this == pen); }
 
@@ -64,12 +61,10 @@ public:
     wxBitmap* GetStipple() const;
 
 protected:
-    // ref counting code
-    virtual wxObjectRefData *CreateRefData() const;
-    virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const;
+    virtual wxGDIRefData *CreateGDIRefData() const;
+    virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;
 
     DECLARE_DYNAMIC_CLASS(wxPen)
 };
 
-#endif
-// _WX_PEN_H_
+#endif // _WX_PEN_H_