Commited FRM's stockitem patch (empty stock items).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -169,7 +169,7 @@ bool wxButton::Create(wxWindow *parent,
|
||||
// take the stock label
|
||||
wxString palmLabel = label;
|
||||
if( palmLabel.empty() && wxIsStockID(id) )
|
||||
palmLabel = wxGetStockLabel(id, false);
|
||||
palmLabel = wxGetStockLabel(id, wxSTOCK_NOFLAGS);
|
||||
|
||||
if(!wxControl::Create(parent, id, palmPos, palmSize, style, validator, name))
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user