+bool wxPen::RealizeResource()
+{
+ // TODO: create actual pen
+ return FALSE;
+}
+
+WXHANDLE wxPen::GetResourceHandle()
+{
+ if ( !M_PENDATA )
+ return 0;
+ else
+ return (WXHANDLE)M_PENDATA->m_hPen;
+}
+
+bool wxPen::FreeResource(bool force)
+{
+ if (M_PENDATA && (M_PENDATA->m_hPen != 0))
+ {
+// TODO: DeleteObject((HPEN) M_PENDATA->m_hPen);
+ M_PENDATA->m_hPen = 0;
+ return TRUE;
+ }
+ else return FALSE;
+}
+
+bool wxPen::IsFree() const
+{
+ return (M_PENDATA && M_PENDATA->m_hPen == 0);
+}
+