]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/palette.cpp
Added new dynamic loading classes. (which handle proper
[wxWidgets.git] / src / mac / carbon / palette.cpp
index 85a9fd16d8346f140ac9127f71b2217f94747e27..1c18196135861acd9c20f81456b50ce4ef9b34dd 100644 (file)
 #pragma implementation "palette.h"
 #endif
 
+#include "wx/defs.h"
+
+#if wxUSE_PALETTE
+
 #include "wx/palette.h"
 
 #if !USE_SHARED_LIBRARIES
@@ -106,4 +110,6 @@ bool wxPalette::GetRGB(int index, unsigned char *red, unsigned char *green, unsi
     return TRUE;
 }
 
+#endif
+    // wxUSE_PALETTE