- /* HvdH 28-12-98: now it works, but it's a bit of a kludge */
-
- wxGtkNotebookPage* nb_page = GetNotebookPage(page);
-
- if (!nb_page) return false;
-
- /* Optimization posibility: return immediately if image unchanged.
- * Not enabled because it may break existing (stupid) code that
- * manipulates the imagelist to cycle images */
-
- /* if (image == nb_page->m_image) return true; */
-
- /* For different cases:
- 1) no image -> no image
- 2) image -> no image
- 3) no image -> image
- 4) image -> image */