]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/pen.h
added (and documented) trivial but useful IsSingleLine() and IsMultiLine() text contr...
[wxWidgets.git] / include / wx / gtk / pen.h
index cf1464fdb13360fe1e3f49798d776d82cb2106bc..9f9fe6e9c5c1e5c7b52052c980d4337b893e6a1d 100644 (file)
@@ -45,7 +45,9 @@ public:
     wxPen( const wxColour &colour, int width, int style );
     ~wxPen();
     
-    wxPen( const wxPen& pen ) { Ref(pen); }
+    wxPen( const wxPen& pen )
+        : wxGDIObject()
+        { Ref(pen); }
     wxPen& operator = ( const wxPen& pen ) { Ref(pen); return *this; }
     
     bool Ok() const { return m_refData != NULL; }