CComponentsPicture: fix hide() of picture box

After hide of a picture box, no paint was possible, this should fix this.
This commit is contained in:
2012-09-03 08:48:38 +02:00
parent c0d4c204b2
commit 0d039171c0
2 changed files with 10 additions and 1 deletions

View File

@@ -221,6 +221,7 @@ class CComponentsPicture : public CComponentsContainer
inline bool isPicPainted(){return pic_painted;};
void paint(bool do_save_bg = CC_SAVE_SCREEN_YES);
void hide(bool no_restore = false);
inline void getPictureSize(int *pwidth, int *pheight){*pwidth=pic_width; *pheight=pic_height;};
};