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

@@ -34,6 +34,9 @@
#include "ctrlmaskout.h"
#include "autocapture.h"
#include "bitmaps/play.xpm"
#include "bitmaps/stop.xpm"
// ----------------------------------------------------------------------------
// ScreenshotFrame
@@ -104,8 +107,12 @@ void ScreenshotFrame::InitFBControls()
m_treeCtrl1->ExpandAll();
// Add items into wxListCtrl
for(long index = 0; index < 5; index++)
m_listCtrl1->InsertItem( index, wxString::Format(_("Item\n(0,%d)"),index));
m_listCtrl1->InsertColumn(0, "Names");
m_listCtrl1->InsertColumn(1, "Values");
for(long index = 0; index < 5; index++) {
m_listCtrl1->InsertItem( index, wxString::Format(_("Item%d"),index));
m_listCtrl1->SetItem(index, 1, wxString::Format("%d", index));
}
// Check the first item in wxCheckListBox
m_checkList1->Check(0);
@@ -119,6 +126,10 @@ void ScreenshotFrame::InitFBControls()
// set minimum size hints
GetSizer()->SetSizeHints(this);
// add bitmaps to the menus
m_menuCapRect->SetBitmaps( wxIcon(play_xpm) );
m_menuEndCapRect->SetBitmaps( wxIcon(stop_xpm) );
}