]> Creatis software - bbtk.git/blobdiff - packages/wx/src/bbwxComboBox.cxx
#3485 New box AddStringToVector
[bbtk.git] / packages / wx / src / bbwxComboBox.cxx
index fe33889c4566fd674672e0e2d6522f308b550337..96b5ad7bec8094261d102fd5097ddb1a6bb8fc13 100644 (file)
@@ -4,7 +4,6 @@
 #include "bbwxComboBox.h"
 #include "bbwxPackage.h"
 
-
 #include <vector>
 #include <string>
 
@@ -58,8 +57,7 @@ namespace bbwx
                        int typeForm,
                        int sizeX, 
                        int sizeY
-               )
-    :
+               ) :
     wxPanel( parent, -1,wxDefaultPosition ) ,
     mBox(box),
     mTypeForm(typeForm)
@@ -189,6 +187,7 @@ void ComboBoxWidget::FillItems( int iSelection, std::vector< std::string > lstIn
 #if defined(_WIN32)
        // Patch to put spaces at the beginin
 #else
+    /*
        // Patch to put spaces at the beginin
        int strLength=-1;
        // Looking for the longest string
@@ -206,6 +205,7 @@ void ComboBoxWidget::FillItems( int iSelection, std::vector< std::string > lstIn
                        lstIn[i]="  "+lstIn[i];  // spaces characters
                } // for ii
        } // for i
+     */
 #endif // defined(_WIN32)
        
        itemcontainer->Clear();