]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/button.cpp
compilation fix for !WX_PRECOMP (missing wx/app.h)
[wxWidgets.git] / src / palmos / button.cpp
index 2e036b19aab8fb7b246e0973f974f6b535849d8c..fc794449adf4724cef6b81d823b475bad9a007eb 100644 (file)
@@ -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;