X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fwx%2Fsrc%2FbbwxLayoutSplit.h;h=7e5effaa2b99e09292beb54fb21579209eca55f6;hb=f346161adcdec4cf3dc3e1b8fac72a7bc43a5f50;hp=2b549b58605802f3497c8e6b92db8020faa700fd;hpb=e4149b56dda0cfb15427533e6f573f09cd3ff74b;p=bbtk.git diff --git a/packages/wx/src/bbwxLayoutSplit.h b/packages/wx/src/bbwxLayoutSplit.h index 2b549b5..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/24 15:45:51 $ - Version: $Revision: 1.7 $ + 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); @@ -75,13 +76,13 @@ namespace bbwx 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