BFilePanel::Show() is now virtual, so my previous change didn't work -

ImageFilePanel::Show() must be called explicetely.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15713 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2005-12-29 13:47:03 +00:00
parent cd2d1ffdda
commit 6c5611a064
2 changed files with 5 additions and 2 deletions
@@ -35,6 +35,8 @@
#define SETTINGS_FILE "Backgrounds_settings"
class ImageFilePanel;
class BGImageMenuItem : public BMenuItem {
public:
BGImageMenuItem(const char *label, int32 imageIndex, BMessage *message,
@@ -122,7 +124,7 @@ class BackgroundsView : public BBox {
PreView *fPreView; // the view for previewing the result
PreviewBox *fPreview; // the box which draws a computer/folder
BFilePanel *fFolderPanel; // the file panels for folders
BFilePanel *fPanel; // the file panels for images
ImageFilePanel *fPanel; // the file panels for images
BackgroundImage *fCurrent; // the current BackgroundImage object
BackgroundImage::BackgroundImageInfo *fCurrentInfo;//the current BackgroundImageInfo object
+2 -1
View File
@@ -37,7 +37,8 @@ class ImageFilePanel : public BFilePanel {
bool modal = false, bool hideWhenDone = true);
virtual void SelectionChanged();
virtual void Show();
void Show();
protected:
BView* fImageView;