diff --git a/common/draw_panel_gal.cpp b/common/draw_panel_gal.cpp index 1e183bec9b..20d0a8e41a 100644 --- a/common/draw_panel_gal.cpp +++ b/common/draw_panel_gal.cpp @@ -498,7 +498,7 @@ void EDA_DRAW_PANEL_GAL::onShowTimer( wxTimerEvent& aEvent ) } -void EDA_DRAW_PANEL_GAL::SetCurrentCursor( int aStockCursorID ) +void EDA_DRAW_PANEL_GAL::SetCurrentCursor( wxStockCursor aStockCursorID ) { if ( aStockCursorID <= wxCURSOR_NONE || aStockCursorID >= wxCURSOR_MAX ) aStockCursorID = wxCURSOR_ARROW; diff --git a/include/class_draw_panel_gal.h b/include/class_draw_panel_gal.h index 42d6f3ee2c..8d70b82516 100644 --- a/include/class_draw_panel_gal.h +++ b/include/class_draw_panel_gal.h @@ -181,7 +181,7 @@ public: * Function SetCurrentCursor * Set the current cursor shape for this panel */ - void SetCurrentCursor( int aStockCursorID ); + void SetCurrentCursor( wxStockCursor aStockCursorID ); void SetCurrentCursor( const wxCursor& aCursor ); /**