projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
iconv-based conversion works again, after being broken for a while
[wxWidgets.git]
/
src
/
mac
/
carbon
/
palette.cpp
diff --git
a/src/mac/carbon/palette.cpp
b/src/mac/carbon/palette.cpp
index 85a9fd16d8346f140ac9127f71b2217f94747e27..1c18196135861acd9c20f81456b50ce4ef9b34dd 100644
(file)
--- a/
src/mac/carbon/palette.cpp
+++ b/
src/mac/carbon/palette.cpp
@@
-13,6
+13,10
@@
#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