Fix compile error when not on OSX.

This commit is contained in:
Jeff Young 2018-10-15 20:53:53 +01:00
parent aabff98fb6
commit d62145fba9
1 changed files with 4 additions and 3 deletions

View File

@ -1272,12 +1272,13 @@ void PCB_EDIT_FRAME::InstallFootprintPropertiesDialog( MODULE* Module, wxDC* DC
dlg->Close();
dlg->Destroy();
#ifdef __WXMAC__
// If something edited, push a refresh request
if( retvalue == DIALOG_FOOTPRINT_BOARD_EDITOR::PRM_EDITOR_EDIT_OK )
{
#ifdef __WXMAC__
// If something edited, push a refresh request
m_canvas->Refresh();
#endif
}
else if( retvalue == DIALOG_FOOTPRINT_BOARD_EDITOR::PRM_EDITOR_EDIT_BOARD_FOOTPRINT )
{
FOOTPRINT_EDIT_FRAME* editor = (FOOTPRINT_EDIT_FRAME*) Kiway().Player( FRAME_PCB_MODULE_EDITOR, true );