X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fwx%2Fsrc%2FbbwxComboBox.cxx;h=96b5ad7bec8094261d102fd5097ddb1a6bb8fc13;hb=9cf063e630e269a83afa9ccc409fb06bcc5b813f;hp=fe33889c4566fd674672e0e2d6522f308b550337;hpb=0345dcb3faf8bb412c0996a5443cb9b9046423b3;p=bbtk.git diff --git a/packages/wx/src/bbwxComboBox.cxx b/packages/wx/src/bbwxComboBox.cxx index fe33889..96b5ad7 100644 --- a/packages/wx/src/bbwxComboBox.cxx +++ b/packages/wx/src/bbwxComboBox.cxx @@ -4,7 +4,6 @@ #include "bbwxComboBox.h" #include "bbwxPackage.h" - #include #include @@ -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();