From: Vadim Zeitlin Date: Tue, 13 Jan 2009 23:15:03 +0000 (+0000) Subject: don't define wxHeaderColumnsRearrangeDialog if !wxUSE_REARRANGECTRL (closes #10368) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a632b93c32b8a186ba999d9de4355d052a4f29c1 don't define wxHeaderColumnsRearrangeDialog if !wxUSE_REARRANGECTRL (closes #10368) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/headerctrlcmn.cpp b/src/common/headerctrlcmn.cpp index 1299bb9a37..270e124bd2 100644 --- a/src/common/headerctrlcmn.cpp +++ b/src/common/headerctrlcmn.cpp @@ -45,6 +45,8 @@ const unsigned int wxNO_COLUMN = static_cast(-1); // wxHeaderColumnsRearrangeDialog: dialog for customizing our columns // ---------------------------------------------------------------------------- +#if wxUSE_REARRANGECTRL + class wxHeaderColumnsRearrangeDialog : public wxRearrangeDialog { public: @@ -63,6 +65,8 @@ public: } }; +#endif // wxUSE_REARRANGECTRL + } // anonymous namespace // ============================================================================