mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 15:21:21 -06:00
FIX: dark mode of wxTextCtrl
Change-Id: I8a377228b79d24ffe6284acf9be7017207b5dddc
This commit is contained in:
parent
3925ceb9f4
commit
65ee16f676
8 changed files with 21 additions and 7 deletions
10
src/slic3r/GUI/Widgets/TextCtrl.h
Normal file
10
src/slic3r/GUI/Widgets/TextCtrl.h
Normal file
|
@ -0,0 +1,10 @@
|
|||
#ifdef __WXMSW__
|
||||
class TextCtrl : public wxTextCtrl
|
||||
{
|
||||
public:
|
||||
using wxTextCtrl::wxTextCtrl;
|
||||
WXHBRUSH DoMSWControlColor(WXHDC pDC, wxColour colBg, WXHWND hWnd) { return wxTextCtrl::DoMSWControlColor(pDC, wxColour(), hWnd); }
|
||||
};
|
||||
#else
|
||||
typedef wxTextCtrl TextCtrl;
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue