mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 05:01:48 +08:00
FIX: [STUDIO-1670] PointCtrl dark mode
Change-Id: I6ba2585f80745083929b2ac247810e8f208d9e3c
This commit is contained in:
parent
58dab90e53
commit
b4e9a3379c
@ -26,6 +26,7 @@
|
||||
#include "Widgets/TextInput.hpp"
|
||||
#include "Widgets/SpinInput.hpp"
|
||||
#include "Widgets/ComboBox.hpp"
|
||||
#include "Widgets/TextCtrl.h"
|
||||
|
||||
#ifdef __WXOSX__
|
||||
#define wxOSX true
|
||||
@ -1603,8 +1604,8 @@ void PointCtrl::BUILD()
|
||||
#ifdef _WIN32
|
||||
style |= wxBORDER_SIMPLE;
|
||||
#endif
|
||||
x_textctrl = new wxTextCtrl(m_parent, wxID_ANY, X, wxDefaultPosition, field_size, style);
|
||||
y_textctrl = new wxTextCtrl(m_parent, wxID_ANY, Y, wxDefaultPosition, field_size, style);
|
||||
x_textctrl = new ::TextCtrl(m_parent, wxID_ANY, X, wxDefaultPosition, field_size, style);
|
||||
y_textctrl = new ::TextCtrl(m_parent, wxID_ANY, Y, wxDefaultPosition, field_size, style);
|
||||
if (parent_is_custom_ctrl && m_opt.height < 0)
|
||||
opt_height = (double)x_textctrl->GetSize().GetHeight() / m_em_unit;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user