X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fwx%2Fsrc%2FbbwxLayoutSplit.h;h=7e5effaa2b99e09292beb54fb21579209eca55f6;hb=f346161adcdec4cf3dc3e1b8fac72a7bc43a5f50;hp=0db41d3a143e5fcea5b20a0c28b0e95d8cbc47b9;hpb=236a8e2fee9937c050e2d16c7222e1caa993f01c;p=bbtk.git diff --git a/packages/wx/src/bbwxLayoutSplit.h b/packages/wx/src/bbwxLayoutSplit.h index 0db41d3..7e5effa 100644 --- a/packages/wx/src/bbwxLayoutSplit.h +++ b/packages/wx/src/bbwxLayoutSplit.h @@ -2,8 +2,8 @@ Program: bbtk Module: $RCSfile: bbwxLayoutSplit.h,v $ Language: C++ - Date: $Date: 2008/11/13 14:46:46 $ - Version: $Revision: 1.6 $ + Date: $Date: 2009/05/15 14:58:03 $ + Version: $Revision: 1.9 $ =========================================================================*/ /* --------------------------------------------------------------------- @@ -41,7 +41,7 @@ */ -#ifdef _USE_WXWIDGETS_ +#ifdef USE_WXWIDGETS #ifndef __bbWxLayoutSplit_h__ @@ -50,7 +50,7 @@ #include "bbtkWxBlackBox.h" #include - +#include "bbwx_EXPORT.h" namespace bbwx { @@ -58,7 +58,8 @@ namespace bbwx - class LayoutSplit : public bbtk::WxBlackBox + //================================================================= + class bbwx_EXPORT LayoutSplit : public bbtk::WxBlackBox { BBTK_BLACK_BOX_INTERFACE(LayoutSplit,bbtk::WxBlackBox); @@ -71,17 +72,17 @@ namespace bbwx BBTK_ON_SHOW_WIDGET(OnShowWidget); void Process(); - void CreateWidget(); + void CreateWidget(wxWindow*); void OnShowWidget(); protected: - virtual void bbUserConstructor(); }; + //================================================================= -//================================================================= -// BlackBox description + //================================================================= + // BlackBox description BBTK_BEGIN_DESCRIBE_BLACK_BOX(LayoutSplit,bbtk::WxBlackBox); BBTK_NAME("LayoutSplit"); BBTK_AUTHOR("laurent.guigues@creatis.insa-lyon.fr"); @@ -90,7 +91,7 @@ namespace bbwx BBTK_INPUT(LayoutSplit,Widget1,"Upper or left widget",wxWindow*,""); BBTK_INPUT(LayoutSplit,Widget2,"Lower or right widget",wxWindow*,""); BBTK_INPUT(LayoutSplit,Orientation,"Orientation (default H), 0=H=HORIZONTAL , 1=V=VERTICAL",std::string,""); - BBTK_INPUT(LayoutSplit,Proportion,"Proportion (in percent) of the first children in the window",int,""); + BBTK_INPUT(LayoutSplit,Proportion,"Proportion (in percent) of the first children in the window",int,""); BBTK_END_DESCRIBE_BLACK_BOX(LayoutSplit); //================================================================= } @@ -98,4 +99,4 @@ namespace bbwx //namespace bbtk #endif //__bbtkWxLayoutSplit_h__ -#endif //_USE_WXWIDGETS_ +#endif //USE_WXWIDGETS