re-work the LSET(int,...) constructor

This commit is contained in:
Dick Hollenbeck
2014-06-29 13:09:32 -05:00
parent 0a1665d5aa
commit add4d5eb6f
14 changed files with 80 additions and 38 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ bool LAYER_SELECTOR::SetLayersHotkeys( bool value )
}
void LAYER_SELECTOR::SetBitmapLayer( wxBitmap& aLayerbmp, LAYER_ID aLayer )
void LAYER_SELECTOR::SetBitmapLayer( wxBitmap& aLayerbmp, LAYER_NUM aLayer )
{
wxMemoryDC bmpDC;
wxBrush brush;
@@ -120,7 +120,7 @@ void LAYER_BOX_SELECTOR::ResyncBitmapOnly()
for( LAYER_NUM i = 0; i < elements; ++i )
{
wxBitmap layerbmp( 14, 14 );
SetBitmapLayer( layerbmp, ToLAYER_ID( i ) );
SetBitmapLayer( layerbmp, i );
}
}