Program: bbtk
Module: $RCSfile: bbwxLayoutLine.h,v $
Language: C++
- Date: $Date: 2008/10/17 08:18:32 $
- Version: $Revision: 1.5 $
+ Date: $Date: 2009/05/15 14:58:03 $
+ Version: $Revision: 1.10 $
=========================================================================*/
/* ---------------------------------------------------------------------
*/
-#ifdef _USE_WXWIDGETS_
+#ifdef USE_WXWIDGETS
#ifndef __bbWxLayoutLine_h__
#define __bbWxLayoutLine_h__
#include "bbtkWxBlackBox.h"
-
+#include "bbwx_EXPORT.h"
namespace bbwx
-
- class /*BBTK_EXPORT*/ LayoutLine : public bbtk::WxBlackBox
+ //===========================================================
+ class bbwx_EXPORT LayoutLine : public bbtk::WxBlackBox
{
BBTK_BLACK_BOX_INTERFACE(LayoutLine,bbtk::WxBlackBox);
BBTK_DECLARE_INPUT(Orientation,std::string);
BBTK_PROCESS(Process);
BBTK_CREATE_WIDGET(CreateWidget);
-
+ BBTK_ON_SHOW_WIDGET(OnShowWidget);
+
void Process();
- void CreateWidget();
- void bbUserOnShow();
+ void CreateWidget(wxWindow*);
+ void OnShowWidget();
protected:
- virtual void bbUserConstructor();
void TryInsertWindow(wxWindow *parent, wxWindow *w,wxBoxSizer *sizer);
};
+ //===========================================================
-//=================================================================
-// BlackBox description
+ //=================================================================
+ // BlackBox description
BBTK_BEGIN_DESCRIBE_BLACK_BOX(LayoutLine,bbtk::WxBlackBox);
BBTK_NAME("LayoutLine");
BBTK_AUTHOR("eduardo.davila@creatis.insa-lyon.fr");
BBTK_DESCRIPTION("LayoutLine widget (wxBoxSizer)");
- // Already inserted for any WxBlackBox BBTK_CATEGORY("widget");
-
+ // Already inserted for any WxBlackBox BBTK_CATEGORY("widget");
BBTK_INPUT(LayoutLine,Widget1,"widget 1",wxWindow*,"");
BBTK_INPUT(LayoutLine,Widget2,"widget 2",wxWindow*,"");
BBTK_INPUT(LayoutLine,Widget3,"widget 3",wxWindow*,"");
BBTK_END_DESCRIBE_BLACK_BOX(LayoutLine);
//=================================================================
-
-
+
+
}
//namespace bbtk
#endif //__bbtkWxLayoutLine_h__
-#endif //_USE_WXWIDGETS_
+#endif //USE_WXWIDGETS