]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/rearrangectrl.h
Recognize MSVC 11 instead of warning about unknown MSVC version.
[wxWidgets.git] / include / wx / rearrangectrl.h
index da809d5cbf97e0dad54d3a12a8f3aae0740edce8..de7fbb394c7945fcce470df6a94ffcbed5731a12 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"
 
@@ -106,7 +109,7 @@ private:
 
 
     DECLARE_EVENT_TABLE()
-    DECLARE_NO_COPY_CLASS(wxRearrangeList)
+    wxDECLARE_NO_COPY_CLASS(wxRearrangeList);
 };
 
 // ----------------------------------------------------------------------------
@@ -163,7 +166,7 @@ private:
 
 
     DECLARE_EVENT_TABLE()
-    DECLARE_NO_COPY_CLASS(wxRearrangeCtrl)
+    wxDECLARE_NO_COPY_CLASS(wxRearrangeCtrl);
 };
 
 // ----------------------------------------------------------------------------
@@ -221,8 +224,10 @@ private:
 
     wxRearrangeCtrl *m_ctrl;
 
-    DECLARE_NO_COPY_CLASS(wxRearrangeDialog)
+    wxDECLARE_NO_COPY_CLASS(wxRearrangeDialog);
 };
 
+#endif // wxUSE_REARRANGECTRL
+
 #endif // _WX_REARRANGECTRL_H_