]> Creatis software - bbtk.git/blobdiff - packages/wx/src/bbwxLayoutSplit.cxx
*** empty log message ***
[bbtk.git] / packages / wx / src / bbwxLayoutSplit.cxx
index ff32fc4a81840d2c62fa82bbd9b79c71689fff0c..94c0e48ae9d1745370ec49779b676f148b6c860c 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbwxLayoutSplit.cxx,v $
   Language:  C++
-  Date:      $Date: 2009/05/15 14:58:03 $
-  Version:   $Revision: 1.11 $
+  Date:      $Date: 2010/04/08 14:38:00 $
+  Version:   $Revision: 1.13 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -97,10 +97,10 @@ namespace bbwx
          
          int orientation=0;
     if (bbtk::Utilities::loosematch(bbGetInputOrientation(),"0|H|HORIZONTAL")==true)  { orientation=0; }
-    if (bbtk::Utilities::loosematch(bbGetInputOrientation(),"1|V|VERTICAL")==true)       { orientation=1; }
+    if (bbtk::Utilities::loosematch(bbGetInputOrientation(),"1|V|VERTICAL")==true)    { orientation=1; }
     
 
-         if (orientation==1) { w->SplitHorizontally( w1, w2, 100); }
+    if (orientation==1) { w->SplitHorizontally( w1, w2, 100); }
     else                { w->SplitVertically( w1, w2, 100);   }
   
     bbSetOutputWidget( w );
@@ -138,8 +138,7 @@ namespace bbwx
     //    std::cout << "pos = "<<pos<<std::endl;
   
     win->SetSashPosition(pos,true);
-    bbUserOnShowWidget("Widget1");
-    bbUserOnShowWidget("Widget2");
+
   }