Encapsulated drawmode as an enum for type checking

This commit is contained in:
Lorenzo Marcantonio
2012-09-01 15:38:27 +02:00
parent f301b196ab
commit 082d901d60
96 changed files with 234 additions and 170 deletions
+1 -1
View File
@@ -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();