]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/ChangeLog
Fix leaking pixmap icon.
[lyx.git] / src / frontends / xforms / ChangeLog
index 9b9968ce002ffc930dcdbb0551b01a50d4041c9d..fedad6633c362f31f73b4ee8d0b6d2c93fc48092 100644 (file)
@@ -1,3 +1,19 @@
+2002-09-30  Angus Leeming  <leeming@lyx.org>
+
+       * FormBase.[Ch]:
+       * FormBaseDeprecated.[Ch]:
+       (icon_pixmap_, icon_mask_) new member variables.
+       (prepare_to_show) new method, containing initialisation code invoked
+       the first time show() is called.
+       (d-tor) destroy icon_pixmap_, if it exists.
+       (show) ensure that the icon pixmap is generated only once.
+
+       * XFormsView.[Ch]:
+       (icon_pixmap_, icon_mask_) new member variables.
+       (d-tor) destroy icon_pixmap_, if it exists.
+       (create_form_form_main) assign the generated pixmap to the new
+       icon_pixmap_ member variable.
+
 2002-09-26  Angus Leeming  <leeming@lyx.org>
 
        * xscreen.h: don't #include "XWorkArea.h", forward-declare XWorkArea.