FIX:fix mac MessageDialog layout

Change-Id: I8946c1beae3bd3c3167cd9b3777b1f5c4fad294c
This commit is contained in:
xiangdong.yang 2022-08-05 17:59:26 +08:00 committed by Yifan Wu
parent 64038abf5a
commit 57154cda4b
2 changed files with 3 additions and 3 deletions

View File

@ -227,7 +227,7 @@ static void add_msg_content(wxWindow* parent, wxBoxSizer* content_sizer, wxStrin
wxFont font = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
wxFont monospace = wxGetApp().code_font();
#ifdef _WIN32
#if 1
wxColour text_clr = wxGetApp().get_label_clr_default();
#else
wxColour text_clr = wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOWTEXT);
@ -318,7 +318,7 @@ WarningDialog::WarningDialog(wxWindow *parent,
finalize();
}
#ifdef _WIN32
#if 1
// MessageDialog
MessageDialog::MessageDialog(wxWindow* parent,

View File

@ -122,7 +122,7 @@ public:
virtual ~WarningDialog() = default;
};
#ifdef _WIN32
#if 1
// Generic static line, used intead of wxStaticLine
class StaticLine: public wxTextCtrl
{