Encapsulated drawmode as an enum for type checking
This commit is contained in:
@@ -117,7 +117,7 @@ void BLOCK_SELECTOR::SetMessageBlock( EDA_DRAW_FRAME* frame )
|
||||
|
||||
|
||||
void BLOCK_SELECTOR::Draw( EDA_DRAW_PANEL* aPanel, wxDC* aDC, const wxPoint& aOffset,
|
||||
int aDrawMode, int aColor )
|
||||
GR_DRAWMODE aDrawMode, int aColor )
|
||||
{
|
||||
|
||||
int w = GetWidth();
|
||||
|
||||
Reference in New Issue
Block a user