]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/HistogramDialogComboBox.cxx
OpenImageDialog free the loaded library, viewers create marimagedata in viewer_widget
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / pPlotter / HistogramDialogComboBox.cxx
index 66400036c60a4c969dbf6acb38cd105dc11ffca2..f3586470487e8fa0a41d04224efc243715d2da74 100644 (file)
@@ -223,8 +223,13 @@ void HistogramDialogComboBox::saveCurrentConfiguration(std::vector<HistogramDial
 
 wxBitmapComboBox* HistogramDialogComboBox::getBitmapComboElements()
 {
-       std::string currentpath = crea::System::GetDllAppPath("bbcreaMaracasVisu");     
+       std::string currentpath = "";
+#ifdef WIN32
+       currentpath = crea::System::GetDllAppPath("bbcreaMaracasVisu"); 
+#endif
        currentpath.append(FILENAME);
+       
+       std::cout<<"current file name " <<currentpath<<std::endl;
 
        std::vector<HistogramDialogComboBoxItem*> bitmapsitems;
        OnLoadComboBoxData(bitmapsitems, currentpath);