X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..8946ede10c2702c7acbb194fe8bd2793d7fb8358:/src/palmos/progdlg.cpp?ds=sidebyside diff --git a/src/palmos/progdlg.cpp b/src/palmos/progdlg.cpp index 0b4c467a4d..4b57a09fc0 100644 --- a/src/palmos/progdlg.cpp +++ b/src/palmos/progdlg.cpp @@ -13,17 +13,17 @@ #include "wx/wxprec.h" #ifdef __BORLANDC__ -#pragma hdrstop + #pragma hdrstop #endif -#ifndef WX_PRECOMP - #include "wx/string.h" -#endif //WX_PRECOMP - #if wxUSE_PROGRESSDLG #include "wx/progdlg.h" -#include "wx/msgdlg.h" + +#ifndef WX_PRECOMP + #include "wx/string.h" + #include "wx/msgdlg.h" +#endif //WX_PRECOMP #include #include @@ -111,7 +111,9 @@ Boolean wxProgressDialog::Callback(void *data) PrgCallbackData *palmData = (PrgCallbackData *)data; strncpy( palmData->textP, m_msg.ToAscii() , palmData->textLen - 1 ); palmData->textChanged = true; +#ifdef __WXPALMOS6__ palmData->displaySkipBtn = m_canSkip; +#endif // __WXPALMOS6__ palmData->barMaxValue = (uint32_t)m_max; palmData->barCurValue = (uint32_t)m_cur; palmData->delay = (m_max == m_cur);