m_pImage = NULL;
m_pBitmap = NULL;
+
+ LoadImageFromFile();
}
wxImageFileProperty::~wxImageFileProperty()
wxDELETE(m_pImage);
wxDELETE(m_pBitmap);
+ LoadImageFromFile();
+}
+
+void wxImageFileProperty::LoadImageFromFile()
+{
wxFileName filename = GetFileName();
// Create the image thumbnail