Document changes in wxImageFileProperty
Remove references to the non-public member variables from documentation.
This commit is contained in:
@@ -1850,17 +1850,22 @@ void wxImageFileProperty::OnSetValue()
|
||||
wxFileProperty::OnSetValue();
|
||||
|
||||
// Delete old image
|
||||
m_image = wxNullImage;
|
||||
m_bitmap = wxNullBitmap;
|
||||
SetImage(wxNullImage);
|
||||
|
||||
LoadImageFromFile();
|
||||
}
|
||||
|
||||
void wxImageFileProperty::SetImage(const wxImage& img)
|
||||
{
|
||||
m_image = img;
|
||||
m_bitmap = wxNullBitmap;
|
||||
}
|
||||
|
||||
void wxImageFileProperty::LoadImageFromFile()
|
||||
{
|
||||
wxFileName filename = GetFileName();
|
||||
|
||||
// Create the image thumbnail
|
||||
// Cache the image
|
||||
if ( filename.FileExists() )
|
||||
{
|
||||
m_image.LoadFile(filename.GetFullPath());
|
||||
|
||||
Reference in New Issue
Block a user