From 7b2858acc8dbc64d768f80bf889a707828af2aba Mon Sep 17 00:00:00 2001 From: Simon Wells Date: Tue, 15 Dec 2015 06:45:11 +1300 Subject: [PATCH] Updated layer_widget.cpp to remove build errors when STAND_ALONE is set --- pcbnew/layer_widget.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pcbnew/layer_widget.cpp b/pcbnew/layer_widget.cpp index 607d531f3a..15798f1137 100644 --- a/pcbnew/layer_widget.cpp +++ b/pcbnew/layer_widget.cpp @@ -865,13 +865,13 @@ class MYFRAME : public wxFrame */ } - bool OnLayerSelect( LAYER aLayer ) + bool OnLayerSelect( LAYER_NUM aLayer ) { printf( "OnLayerSelect( aLayer:%d )\n", aLayer ); return true; } - void OnLayerVisible( LAYER aLayer, bool isVisible, bool isFinal ) + void OnLayerVisible( LAYER_NUM aLayer, bool isVisible, bool isFinal ) { printf( "OnLayerVisible( aLayer:%d, isVisible:%d isFinal:%d)\n", aLayer, isVisible, isFinal ); } @@ -910,7 +910,7 @@ public: // add some render rows static const LAYER_WIDGET::ROW renderRows[] = { - LAYER_WIDGET::ROW( wxT("With Very Large Ears"), 0, -1, wxT("Spock here") ), + LAYER_WIDGET::ROW( wxT("With Very Large Ears"), 0, UNSPECIFIED_COLOR, wxT("Spock here") ), LAYER_WIDGET::ROW( wxT("With Legs"), 1, YELLOW ), LAYER_WIDGET::ROW( wxT("With Oval Eyes"), 1, BROWN, wxT("My eyes are upon you") ), };