Fix build error on non-macos builds.
This commit is contained in:
parent
5ed074b5c5
commit
18ff60fbb9
|
@ -289,10 +289,12 @@ struct APP_KICAD : public wxApp
|
||||||
*
|
*
|
||||||
* @see http://wiki.wxwidgets.org/WxMac-specific_topics
|
* @see http://wiki.wxwidgets.org/WxMac-specific_topics
|
||||||
*/
|
*/
|
||||||
|
#if defined( __WXMAC__ )
|
||||||
void MacOpenFile( const wxString& aFileName ) override
|
void MacOpenFile( const wxString& aFileName ) override
|
||||||
{
|
{
|
||||||
Pgm().MacOpenFile( aFileName );
|
Pgm().MacOpenFile( aFileName );
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
IMPLEMENT_APP( APP_KICAD )
|
IMPLEMENT_APP( APP_KICAD )
|
||||||
|
|
Loading…
Reference in New Issue