remove ugly AD-HOC FIX for wxHyperlinkCtrl; use the generic facilities of RegisterControl() instead (patch by Utensil Candel)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2008-10-13 08:39:10 +00:00
parent 101adcd54c
commit 88300af4db
2 changed files with 1 additions and 5 deletions

View File

@@ -185,10 +185,6 @@ wxBitmap AutoCaptureMechanism::Capture(Control& ctrl)
ctrl.name.StartsWith(_T("wx"), &(ctrl.name));
ctrl.name.MakeLower();
// AD-HOC FIX for wxHyperlink
if (ctrl.name == "generichyperlinkctrl")
ctrl.name = "hyperlinkctrl";
// take the screenshot
wxBitmap screenshot = Capture(rect);