]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/pen.cpp
Fixed remaining int vs. long warnings.
[wxWidgets.git] / src / os2 / pen.cpp
index c3d18a0378e37fd6b87f1d81ff71d9ec1eb0d1c2..905a09021b410211dd99c4170c684b8fd17bfb5a 100644 (file)
@@ -24,6 +24,8 @@
 #include "wx/os2/private.h"
 #include "assert.h"
 
+IMPLEMENT_DYNAMIC_CLASS(wxPen, wxGDIObject)
+
 wxPenRefData::wxPenRefData()
 {
     m_style = wxSOLID;
@@ -236,7 +238,7 @@ void wxPen::SetCap(int Cap)
 
 int wx2os2PenStyle(int wx_style)
 {
-    int cstyle;
+    int cstyle = 0;
 // TODO:
 /*
     switch (wx_style)