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:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user