X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/04e8174b84ae91681417eb06fc54d3660e306606..8bedcdce08e1575b74250d2ebac4355a687ccf8d:/include/wx/generic/progdlgg.h diff --git a/include/wx/generic/progdlgg.h b/include/wx/generic/progdlgg.h index 6958ed035d..8d8c7e544b 100644 --- a/include/wx/generic/progdlgg.h +++ b/include/wx/generic/progdlgg.h @@ -17,9 +17,10 @@ #endif #include "wx/setup.h" -#include "wx/frame.h" +#if wxUSE_PROGRESSDLG +#include "wx/frame.h" /** Progress dialog which shows a moving progress bar. Taken from the Mahogany project.*/ @@ -88,5 +89,7 @@ private: DECLARE_EVENT_TABLE() }; +#endif + #endif // __PROGDLGH_G__