Fix compile error.
This commit is contained in:
parent
c24985e8cf
commit
2563518f3a
|
@ -84,8 +84,8 @@ BEGIN_EVENT_TABLE( FOOTPRINT_EDIT_FRAME, PCB_BASE_FRAME )
|
||||||
|
|
||||||
EVT_TOOL( ID_FPEDIT_SAVE_PNG, FOOTPRINT_EDIT_FRAME::OnSaveFootprintAsPng )
|
EVT_TOOL( ID_FPEDIT_SAVE_PNG, FOOTPRINT_EDIT_FRAME::OnSaveFootprintAsPng )
|
||||||
|
|
||||||
EVT_TOOL( ID_LOAD_FOOTPRINT_FROM_BOARD, FOOTPRINT_EDIT_FRAME::LoadFootprintFromBoard )
|
EVT_TOOL( ID_LOAD_FOOTPRINT_FROM_BOARD, FOOTPRINT_EDIT_FRAME::OnLoadFootprintFromBoard )
|
||||||
EVT_TOOL( ID_ADD_FOOTPRINT_TO_BOARD, FOOTPRINT_EDIT_FRAME::SaveFootprintToBoard )
|
EVT_TOOL( ID_ADD_FOOTPRINT_TO_BOARD, FOOTPRINT_EDIT_FRAME::OnSaveFootprintToBoard )
|
||||||
|
|
||||||
// Horizontal toolbar
|
// Horizontal toolbar
|
||||||
EVT_MENU( ID_GRID_SETTINGS, FOOTPRINT_EDIT_FRAME::OnGridSettings )
|
EVT_MENU( ID_GRID_SETTINGS, FOOTPRINT_EDIT_FRAME::OnGridSettings )
|
||||||
|
|
|
@ -157,9 +157,9 @@ public:
|
||||||
/**
|
/**
|
||||||
* Called from the main toolbar to load a footprint from board mainly to edit it.
|
* Called from the main toolbar to load a footprint from board mainly to edit it.
|
||||||
*/
|
*/
|
||||||
void LoadFootprintFromBoard( wxCommandEvent& event );
|
void OnLoadFootprintFromBoard( wxCommandEvent& event );
|
||||||
|
|
||||||
void SaveFootprintToBoard( wxCommandEvent& event );
|
void OnSaveFootprintToBoard( wxCommandEvent& event );
|
||||||
|
|
||||||
void LoadFootprintFromLibrary( LIB_ID aFPID );
|
void LoadFootprintFromLibrary( LIB_ID aFPID );
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
using namespace std::placeholders;
|
using namespace std::placeholders;
|
||||||
|
|
||||||
|
|
||||||
void FOOTPRINT_EDIT_FRAME::LoadFootprintFromBoard( wxCommandEvent& event )
|
void FOOTPRINT_EDIT_FRAME::OnLoadFootprintFromBoard( wxCommandEvent& event )
|
||||||
{
|
{
|
||||||
LoadFootprintFromBoard( nullptr );
|
LoadFootprintFromBoard( nullptr );
|
||||||
}
|
}
|
||||||
|
@ -127,7 +127,7 @@ void FOOTPRINT_EDIT_FRAME::SelectLayer( wxCommandEvent& event )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FOOTPRINT_EDIT_FRAME::SaveFootprintToBoard( wxCommandEvent& event )
|
void FOOTPRINT_EDIT_FRAME::OnSaveFootprintToBoard( wxCommandEvent& event )
|
||||||
{
|
{
|
||||||
SaveFootprintToBoard( true );
|
SaveFootprintToBoard( true );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue