Avoid spacemouse if not defined

This commit is contained in:
Seth Hillbrand 2022-08-20 08:06:51 -07:00
parent 942732057b
commit 0ad2726f31
1 changed files with 4 additions and 2 deletions

View File

@ -86,8 +86,10 @@ SCH_BASE_FRAME::SCH_BASE_FRAME( KIWAY* aKiway, wxWindow* aParent, FRAME_T aWindo
const wxSize& aSize, long aStyle, const wxString& aFrameName ) : const wxSize& aSize, long aStyle, const wxString& aFrameName ) :
EDA_DRAW_FRAME( aKiway, aParent, aWindowType, aTitle, aPosition, aSize, aStyle, EDA_DRAW_FRAME( aKiway, aParent, aWindowType, aTitle, aPosition, aSize, aStyle,
aFrameName ), aFrameName ),
m_base_frame_defaults( nullptr, "base_Frame_defaults" ), m_base_frame_defaults( nullptr, "base_Frame_defaults" )
m_spaceMouse( nullptr ) #if defined( KICAD_USE_3DCONNEXION )
,m_spaceMouse( nullptr )
#endif
{ {
createCanvas(); createCanvas();