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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user