]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/palette.cpp
added virtual DoSetSize method in order to allow for MacOSX Listbox bug workaround
[wxWidgets.git] / src / mac / carbon / palette.cpp
index 85a9fd16d8346f140ac9127f71b2217f94747e27..1c18196135861acd9c20f81456b50ce4ef9b34dd 100644 (file)
 #pragma implementation "palette.h"
 #endif
 
 #pragma implementation "palette.h"
 #endif
 
+#include "wx/defs.h"
+
+#if wxUSE_PALETTE
+
 #include "wx/palette.h"
 
 #if !USE_SHARED_LIBRARIES
 #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;
 }
 
     return TRUE;
 }
 
+#endif
+    // wxUSE_PALETTE