-// Only allow directory viewing/selection, no files
-#define wxDIRCTRL_DIR_ONLY 0x0010
-// When setting the default path, select the first file in the directory
-#define wxDIRCTRL_SELECT_FIRST 0x0020
-// Show the filter list
-#define wxDIRCTRL_SHOW_FILTERS 0x0040
-// Use 3D borders on internal controls
-#define wxDIRCTRL_3D_INTERNAL 0x0080
+enum
+{
+ // Only allow directory viewing/selection, no files
+ wxDIRCTRL_DIR_ONLY = 0x0010,
+ // When setting the default path, select the first file in the directory
+ wxDIRCTRL_SELECT_FIRST = 0x0020,
+#if WXWIN_COMPATIBILITY_2_8
+ // Unused, for compatibility only
+ wxDIRCTRL_SHOW_FILTERS = 0x0040,
+#endif // WXWIN_COMPATIBILITY_2_8
+ // Use 3D borders on internal controls
+ wxDIRCTRL_3D_INTERNAL = 0x0080,
+ // Editable labels
+ wxDIRCTRL_EDIT_LABELS = 0x0100
+};