git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52912
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
IMPLEMENT_DYNAMIC_CLASS(wxBitmap, wxGDIObject)
IMPLEMENT_DYNAMIC_CLASS(wxMask, wxObject)
+IMPLEMENT_DYNAMIC_CLASS(wxBitmapHandler, wxObject)
// ============================================================================
// implementation
RealizeResource();
} // end of wxPen::wxPen
+bool wxPen::operator==(const wxPen& pen) const
+{
+ const wxPenRefData *
+ penData = wx_static_cast(const wxPenRefData *, pen.m_refData);
+
+ // an invalid pen is only equal to another invalid pen
+ return m_refData ? penData && *M_PENDATA == *penData : !penData;
+}
+
int wx2os2PenStyle(
wxPenStyle nWxStyle
);