X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..83e8b44cc0bf8a2a8f162c67162f9ed68accd15f:/src/palmos/button.cpp diff --git a/src/palmos/button.cpp b/src/palmos/button.cpp index b2b7b6ef30..fc794449ad 100644 --- a/src/palmos/button.cpp +++ b/src/palmos/button.cpp @@ -26,9 +26,10 @@ #if wxUSE_BUTTON +#include "wx/button.h" + #ifndef WX_PRECOMP #include "wx/app.h" - #include "wx/button.h" #include "wx/brush.h" #include "wx/panel.h" #include "wx/bmpbuttn.h" @@ -168,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; @@ -234,4 +235,3 @@ void wxButton::Command(wxCommandEvent &event) } #endif // wxUSE_BUTTON -