fix the menu item bitmaps for wxMSW;

fix the name of the screenshot generated for wxHyperlinkCtrl on platforms != wxGTK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2008-10-11 15:55:23 +00:00
parent c615d6491f
commit 1bda839923
5 changed files with 28 additions and 23 deletions

View File

@@ -166,6 +166,10 @@ 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);