I found that the display effect of the wxButton is inconsistent with the standard button state display effect of Microsoft, as shown below.
CMFCButton m_Button;
m_Button.SetTextColor(RGB(255, 0, 0));
1.gif (view on web)
button = QPushButton("I Am QT Button")
button.setStyleSheet("color: red;")
1.gif (view on web)
JButton button = new JButton("I Am JAVA Button");
button.setForeground(Color.RED);
1.gif (view on web)
wxButton* button = new wxButton( this, wxID_ANY, _("I Am wxButton"), wxDefaultPosition, wxDefaultSize, 0 );
button->SetForegroundColour( wxColour( 255, 0, 0 ) );
1.gif (view on web)
As shown in the effect in the image above, the text foreground color of wxButton is inconsistent with Microsoft standard buttons and other commonly used GUI windows. The color is not displayed when it should be. This has caused me great trouble and made it impossible for me to migrate from other GUI solutions to wxWidgets, because such a basic function is so inconsistent with common habits or standards.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
This looks like another duplicate of #26453.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()