git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56265
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
ctrl.name.StartsWith(_T("wx"), &(ctrl.name));
ctrl.name.MakeLower();
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);
// take the screenshot
wxBitmap screenshot = Capture(rect);
auto_cap.RegisterControl(m_slider1);
auto_cap.RegisterControl(m_toggleBtn1, AJ_Union);
auto_cap.RegisterControl(m_toggleBtn2, AJ_UnionEnd);
auto_cap.RegisterControl(m_slider1);
auto_cap.RegisterControl(m_toggleBtn1, AJ_Union);
auto_cap.RegisterControl(m_toggleBtn2, AJ_UnionEnd);
- auto_cap.RegisterControl(m_hyperlink1);
+ auto_cap.RegisterControl(m_hyperlink1, wxT("wxHyperlinkCtrl"));
auto_cap.RegisterControl(m_spinCtrl1, AJ_RegionAdjust);
auto_cap.RegisterControl(m_spinBtn1);
auto_cap.RegisterControl(m_scrollBar1);
auto_cap.RegisterControl(m_spinCtrl1, AJ_RegionAdjust);
auto_cap.RegisterControl(m_spinBtn1);
auto_cap.RegisterControl(m_scrollBar1);