I need help on wxLoadFileSelector.
I have developed a small wxwidgets application. In which am using wxLoadFileSelector to select a file.
Code: Select all
m_xmlPath = wxLoadFileSelector("Select .xml File", ".xml", "", this); if (m_xmlPath.empty()) return;
But in ubuntu16.10 it is not returning the path. Am not able to get the value of m_xmlPath variable. It is not empty also i guess bcoz it is not return from the check m_xmlPath.empty(). This condition fails and gose to next stmt. When i saw the variable value in watch window it was showing "".
Can i use wxLoadFileSelector in linux for selecting a file??
I even tried wxFileDialog. Same issue am facing.
Please help me where am doing wrong.