On OS X, the button for wxID_HELP should never accept a label, also, tweak sizing for help button in OS X Cocoa case. (fixes #10595)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -35,7 +35,7 @@ bool wxButton::Create(wxWindow *parent,
|
||||
const wxString& name)
|
||||
{
|
||||
wxString label(lbl);
|
||||
if (label.empty() && wxIsStockID(id))
|
||||
if (label.empty() && wxIsStockID(id) && !(id == wxID_HELP))
|
||||
label = wxGetStockLabel(id);
|
||||
|
||||
m_macIsUserPane = false ;
|
||||
|
Reference in New Issue
Block a user