diff --git a/common/status_popup.cpp b/common/status_popup.cpp index a3fe9cc720..d13ee27e6c 100644 --- a/common/status_popup.cpp +++ b/common/status_popup.cpp @@ -73,6 +73,12 @@ void STATUS_POPUP::Popup( wxWindow* ) } +void STATUS_POPUP::Move( const VECTOR2I& aWhere ) +{ + SetPosition( wxPoint( aWhere.x, aWhere.y ) ); +} + + void STATUS_POPUP::Move( const wxPoint& aWhere ) { SetPosition( aWhere ); @@ -102,6 +108,7 @@ STATUS_TEXT_POPUP::STATUS_TEXT_POPUP( EDA_DRAW_FRAME* aParent ) : STATUS_POPUP( aParent ) { m_panel->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNSHADOW ) ); + m_panel->SetForegroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNTEXT ) ); m_statusLine = new wxStaticText( m_panel, wxID_ANY, wxEmptyString ) ; m_topSizer->Add( m_statusLine, 1, wxALL | wxEXPAND, 5 ); diff --git a/include/status_popup.h b/include/status_popup.h index 661bed0ce2..8e95d3b085 100644 --- a/include/status_popup.h +++ b/include/status_popup.h @@ -27,6 +27,7 @@ #include +#include #include class EDA_DRAW_FRAME; @@ -46,6 +47,7 @@ public: virtual void Popup( wxWindow* aFocus = nullptr ); virtual void Move( const wxPoint &aWhere ); + virtual void Move( const VECTOR2I& aWhere ); /** * Hides the popup after a specified time.