change to compile pcbnew, without png icon
This commit is contained in:
parent
0f636a9879
commit
064fcf5491
|
@ -18,7 +18,6 @@
|
||||||
#include "id.h"
|
#include "id.h"
|
||||||
#include "hotkeys.h"
|
#include "hotkeys.h"
|
||||||
|
|
||||||
#include "icons.h"
|
|
||||||
|
|
||||||
/************************************************/
|
/************************************************/
|
||||||
void WinEDA_SchematicFrame::ReCreateMenuBar()
|
void WinEDA_SchematicFrame::ReCreateMenuBar()
|
||||||
|
@ -33,11 +32,6 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
|
||||||
|
|
||||||
if( menuBar == NULL )
|
if( menuBar == NULL )
|
||||||
{
|
{
|
||||||
|
|
||||||
wxImage::AddHandler( new wxPNGHandler ); /* Support PNG Images */
|
|
||||||
initialise_icons();
|
|
||||||
|
|
||||||
|
|
||||||
menuBar = new wxMenuBar();
|
menuBar = new wxMenuBar();
|
||||||
|
|
||||||
m_FilesMenu = new wxMenu;
|
m_FilesMenu = new wxMenu;
|
||||||
|
@ -143,8 +137,7 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
|
||||||
item = new wxMenuItem( editMenu, ID_SCHEMATIC_REDO,
|
item = new wxMenuItem( editMenu, ID_SCHEMATIC_REDO,
|
||||||
msg, _( "Redo the last undo command" ),
|
msg, _( "Redo the last undo command" ),
|
||||||
wxITEM_NORMAL );
|
wxITEM_NORMAL );
|
||||||
extern wxBitmap zoom_in_png;
|
item->SetBitmap( redo_xpm );
|
||||||
item->SetBitmap( zoom_in_png );
|
|
||||||
editMenu->Append( item );
|
editMenu->Append( item );
|
||||||
|
|
||||||
editMenu->AppendSeparator();
|
editMenu->AppendSeparator();
|
||||||
|
@ -160,8 +153,7 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
|
||||||
item = new wxMenuItem( editMenu, ID_FIND_ITEMS,
|
item = new wxMenuItem( editMenu, ID_FIND_ITEMS,
|
||||||
_( "Find" ), _( "Find components and texts" ),
|
_( "Find" ), _( "Find components and texts" ),
|
||||||
wxITEM_NORMAL );
|
wxITEM_NORMAL );
|
||||||
extern wxBitmap edit_find_png;
|
item->SetBitmap( find_xpm );
|
||||||
item->SetBitmap( edit_find_png );
|
|
||||||
editMenu->Append( item );
|
editMenu->Append( item );
|
||||||
|
|
||||||
editMenu->AppendSeparator();
|
editMenu->AppendSeparator();
|
||||||
|
@ -179,7 +171,7 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
|
||||||
item = new wxMenuItem( viewMenu, ID_ZOOM_IN_BUTT,
|
item = new wxMenuItem( viewMenu, ID_ZOOM_IN_BUTT,
|
||||||
msg, _( "Zoom in" ),
|
msg, _( "Zoom in" ),
|
||||||
wxITEM_NORMAL );
|
wxITEM_NORMAL );
|
||||||
item->SetBitmap( find_xpm );
|
item->SetBitmap( zoom_in_xpm );
|
||||||
viewMenu->Append( item );
|
viewMenu->Append( item );
|
||||||
|
|
||||||
msg = AddHotkeyName( _( "Zoom out" ), s_Schematic_Hokeys_Descr,
|
msg = AddHotkeyName( _( "Zoom out" ), s_Schematic_Hokeys_Descr,
|
||||||
|
|
Loading…
Reference in New Issue