]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/rearrangectrl.h
another fix for wxUSE_DRAG_AND_DROP==0 build
[wxWidgets.git] / include / wx / rearrangectrl.h
index da809d5cbf97e0dad54d3a12a8f3aae0740edce8..737671db3bfeb8756a26739bff8f9f62ae7e8eed 100644 (file)
@@ -12,6 +12,9 @@
 #define _WX_REARRANGECTRL_H_
 
 #include "wx/checklst.h"
+
+#if wxUSE_REARRANGECTRL
+
 #include "wx/panel.h"
 #include "wx/dialog.h"
 
@@ -224,5 +227,7 @@ private:
     DECLARE_NO_COPY_CLASS(wxRearrangeDialog)
 };
 
+#endif // wxUSE_REARRANGECTRL
+
 #endif // _WX_REARRANGECTRL_H_