]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/propgrid/advprops.h
fixing deprecated constructors for osx
[wxWidgets.git] / include / wx / propgrid / advprops.h
index 29c5b615cfc42c51731417a67c2499bdf3a64f3d..a3fb60dd83226e850b9c8376f4e9243adfcd536f 100644 (file)
@@ -12,6 +12,8 @@
 #ifndef _WX_PROPGRID_ADVPROPS_H_
 #define _WX_PROPGRID_ADVPROPS_H_
 
+#if wxUSE_PROPGRID
+
 #include "wx/propgrid/props.h"
 
 // -----------------------------------------------------------------------
@@ -507,4 +509,6 @@ private:
 
 // -----------------------------------------------------------------------
 
+#endif // wxUSE_PROPGRID
+
 #endif // _WX_PROPGRID_ADVPROPS_H_