eeschema-gal: make some functions virtual

This commit is contained in:
Tomasz Wlostowski 2018-08-03 14:02:06 +02:00 committed by Jeff Young
parent 7bccd26078
commit 2cbd08d4c0
2 changed files with 4 additions and 4 deletions

View File

@ -346,7 +346,7 @@ public:
* @param iu_per_du is the number of internal units (world units) per
* device units (pixels typically).
*/
bool SetZoom( double iu_per_du );
virtual bool SetZoom( double iu_per_du );
bool SetNextZoom();
bool SetPreviousZoom();

View File

@ -118,7 +118,7 @@ public:
}
/// @copydoc wxWindow::Refresh()
void Refresh( bool aEraseBackground = true, const wxRect* aRect = NULL ) override;
virtual void Refresh( bool aEraseBackground = true, const wxRect* aRect = NULL ) override;
/**
* Function ForceRefresh()
@ -218,7 +218,7 @@ public:
* Function GetDefaultCursor
* @return the default cursor shape
*/
int GetDefaultCursor() const { return m_defaultCursor; }
virtual int GetDefaultCursor() const { return m_defaultCursor; }
/**
* Function GetCurrentCursor
@ -243,7 +243,7 @@ public:
void OnEvent( wxEvent& aEvent );
protected:
void onPaint( wxPaintEvent& WXUNUSED( aEvent ) );
virtual void onPaint( wxPaintEvent& WXUNUSED( aEvent ) );
void onSize( wxSizeEvent& aEvent );
void onEnter( wxEvent& aEvent );
void onLostFocus( wxFocusEvent& aEvent );