]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/rearrangectrl.cpp
correct test for wxDEBUG_LEVEL in last commit
[wxWidgets.git] / src / common / rearrangectrl.cpp
index 33df826505db94dfdcb4bb55b06d5ca5fccd6bb4..a77167f47b11c226540fc57a73939b08831dc943 100644 (file)
@@ -23,6 +23,8 @@
     #pragma hdrstop
 #endif
 
+#if wxUSE_REARRANGECTRL
+
 #ifndef WX_PRECOMP
     #include "wx/button.h"
     #include "wx/stattext.h"
@@ -294,3 +296,5 @@ wxArrayInt wxRearrangeDialog::GetOrder() const
 
     return m_ctrl->GetList()->GetCurrentOrder();
 }
+
+#endif // wxUSE_REARRANGECTRL