7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-11 15:40:10 +00:00

Fix MSVC build.

This commit is contained in:
Alex Shvartzkop 2024-08-29 04:57:13 +03:00
parent ebb418f22b
commit 88272a59b7
2 changed files with 8 additions and 1 deletions

View File

@ -52,6 +52,7 @@
#include <tool/actions.h>
#include <tool/action_toolbar.h>
#include <tool/common_tools.h>
#include <tool/grid_helper.h>
#include <tool/grid_menu.h>
#include <tool/selection_conditions.h>
#include <tool/tool_dispatcher.h>
@ -525,6 +526,12 @@ void EDA_DRAW_FRAME::SetGridOverrides( bool aOverride )
}
std::unique_ptr<GRID_HELPER> EDA_DRAW_FRAME::MakeGridHelper()
{
return nullptr;
}
void EDA_DRAW_FRAME::UpdateZoomSelectBox()
{
if( m_zoomSelectBox == nullptr )

View File

@ -151,7 +151,7 @@ public:
virtual const VECTOR2I& GetGridOrigin() const = 0;
virtual void SetGridOrigin( const VECTOR2I& aPosition ) = 0;
virtual std::unique_ptr<GRID_HELPER> MakeGridHelper() { return nullptr; }
virtual std::unique_ptr<GRID_HELPER> MakeGridHelper();
/**
* Return the nearest \a aGridSize location to \a aPosition.