Fix changing colours of wxSpinCtrl in wxMSW

Ensure that the new colours are actually shown after Refresh() is called
by refreshing the text part of the control as well, and not just the
spin button.

Closes https://github.com/wxWidgets/wxWidgets/pull/1468

Closes #12382.
This commit is contained in:
Kvaz1r
2019-08-05 15:21:10 +03:00
committed by Vadim Zeitlin
parent 75134c752e
commit 88f04f551e
2 changed files with 15 additions and 0 deletions

View File

@@ -65,6 +65,8 @@ public:
virtual int GetBase() const;
virtual bool SetBase(int base);
virtual void Refresh( bool eraseBackground = true,
const wxRect *rect = (const wxRect *) NULL ) wxOVERRIDE;
// implementation only from now on
// -------------------------------