Reinstated toolbar bitmaps not found among GTK stock icons.

This commit is contained in:
Gerald Schmidt 2007-09-30 12:43:38 +00:00
parent 6d92659fc7
commit f855f9ff28
1 changed files with 8 additions and 5 deletions

View File

@ -5832,13 +5832,16 @@ void MyFrame::loadBitmaps()
helpBitmap = wxBITMAP ( stock_help_16 ); helpBitmap = wxBITMAP ( stock_help_16 );
#else #else
// toolbar icons // toolbar icons
newBitmap = wxArtProvider::GetBitmap ( wxART_NEW, wxART_TOOLBAR ); newBitmap = wxArtProvider::GetBitmap ( wxART_NEW, wxART_TOOLBAR );
openBitmap = wxArtProvider::GetBitmap ( wxART_FILE_OPEN, wxART_TOOLBAR ); openBitmap = wxArtProvider::GetBitmap ( wxART_FILE_OPEN, wxART_TOOLBAR );
saveBitmap = wxArtProvider::GetBitmap ( wxART_FILE_SAVE, wxART_TOOLBAR ); saveBitmap = wxArtProvider::GetBitmap ( wxART_FILE_SAVE, wxART_TOOLBAR );
printBitmap = wxArtProvider::GetBitmap ( wxART_PRINT, wxART_TOOLBAR ); printBitmap = wxArtProvider::GetBitmap ( wxART_PRINT, wxART_TOOLBAR );
spellingBitmap = wxArtProvider::GetBitmap ( _T("gtk-spell-check"), wxART_TOOLBAR ); spellingBitmap = wxArtProvider::GetBitmap ( _T("gtk-spell-check"), wxART_TOOLBAR );
// no stock icons for the following
internetBitmap.LoadFile ( pngDir + _T ( "stock_internet.png" ), wxBITMAP_TYPE_PNG );
hyperlinkBitmap.LoadFile ( pngDir + _T ( "stock_hyperlink.png" ), wxBITMAP_TYPE_PNG );
// menu icons // menu icons
new16Bitmap = wxNullBitmap; new16Bitmap = wxNullBitmap;
open16Bitmap = wxNullBitmap; open16Bitmap = wxNullBitmap;