- actualSize.y = bitmap.GetHeight() ? bitmap.GetHeight() : 1;
- AttachWidget (parent, m_mainWidget, (WXWidget) NULL, pos.x, pos.y, actualSize.x, actualSize.y);
+ actualSize.y = bitmap.Ok() ? bitmap.GetHeight() : 1;
+
+ PostCreation();
+ DoSetBitmap();
+ AttachWidget (parent, m_mainWidget, (WXWidget) NULL,
+ pos.x, pos.y, actualSize.x, actualSize.y);