eeschema-gal: make some functions virtual
This commit is contained in:
parent
7bccd26078
commit
2cbd08d4c0
|
@ -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();
|
||||
|
|
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue