Program: bbtk
Module: $RCSfile: bbtkWxBlackBox.h,v $
Language: C++
- Date: $Date: 2008/04/21 12:43:05 $
- Version: $Revision: 1.12 $
+ Date: $Date: 2008/04/22 14:30:25 $
+ Version: $Revision: 1.13 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
void bbSetUpdateTransferedToParent(bool b)
{ bbmUpdateTransferedToParent = b; }
-
};
//=================================================================
virtual void bbShow();
virtual void bbHide();
bool bbIsShown() { return mShown; }
- virtual WxBlackBox::Pointer bbGetBlackBox() { return mBox; }
+ virtual WxBlackBox::Pointer bbGetBlackBox() { return mBox.lock(); }
virtual wxDialog* bbGetDialog() { return 0; }
virtual wxFrame* bbGetFrame() { return 0; }
private:
- WxBlackBox::Pointer mBox;
+ WxBlackBox::WeakPointer mBox;
bool mShown;
};
//==================================================================
//bool IsDead() { return mDead; }
private:
- WxBlackBox::Pointer mBox;
+ WxBlackBox::WeakPointer mBox;
wxWindow* mWindow;
//bool mDead;
};