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:
Kevin Ollivier
2009-03-15 19:03:58 +00:00
parent b31eaa5c34
commit 423939b29a
3 changed files with 3 additions and 3 deletions

View File

@@ -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 ;