]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/hyperlnkcmn.cpp
Add some asserts to ensure cols and rows are >= 0 to avoid crashes
[wxWidgets.git] / src / common / hyperlnkcmn.cpp
index 7765e21d8b7887e5a76f4512dc7f4d382f176e58..32bf30c51c618eb762fc3fbe6119d1cb0215596e 100644 (file)
 // implementation
 // ============================================================================
 
+#if wxUSE_EXTENDED_RTTI
+    wxIMPLEMENT_DYNAMIC_CLASS_XTI( wxHyperlinkCtrl, wxControl, "wx/hyperlink.h")
+#else
+    wxIMPLEMENT_DYNAMIC_CLASS( wxHyperlinkCtrl, wxControl )
+#endif // wxUSE_EXTENDED_RTTI
+
 IMPLEMENT_DYNAMIC_CLASS(wxHyperlinkEvent, wxCommandEvent)
 wxDEFINE_EVENT( wxEVT_COMMAND_HYPERLINK, wxHyperlinkEvent );