/* XPM */
-static char *state1_xpm[] = {
+static const char *state1_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 16 123 2",
"8. c #ADAF01",
/* XPM */
-static char *state2_xpm[] = {
+static const char *state2_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 16 122 2",
"4. c #54AF2C",
/* XPM */
-static char *state3_xpm[] = {
+static const char *state3_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 16 120 2",
"7 c #E48D8D",
/* XPM */
-static char *state4_xpm[] = {
+static const char *state4_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 16 123 2",
"h c #3875C8",
/* XPM */
-static char *state5_xpm[] = {
+static const char *state5_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 16 63 1",
", c Black",
}
else
{
+#if 0
int width = ::GetSystemMetrics(SM_CXMENUCHECK),
height = ::GetSystemMetrics(SM_CYMENUCHECK);
+#else
+ int width = 16;
+ int height = 16;
+#endif
// make an state checkbox image list
states = new wxImageList(width, height, true);
{
// first create bitmap in a memory DC
wxMemoryDC memDC(checkBmp);
+ memDC.Clear();
// then draw a check mark into it
renderer.DrawCheckBox(this, memDC, rect, 0);
} // select checkBmp out of memDC