Cleanup, lots of fixes regarding weather or not to show file extension and other minor fixes.

This commit is contained in:
apoorv569
2021-06-24 15:48:42 +05:30
parent f0df300c30
commit b9c61c02fe
4 changed files with 202 additions and 205 deletions
+2 -4
View File
@@ -53,7 +53,7 @@ class MainFrame : public wxFrame
private:
// -------------------------------------------------------------------
// Main Panel
wxPanel* m_MainPanel;
wxPanel* m_MainPanel;
wxBoxSizer* m_MainSizer;
private:
@@ -173,12 +173,10 @@ class MainFrame : public wxFrame
// -------------------------------------------------------------------
// SampleListView event handlers
void OnCheckFavorite(wxDataViewEvent& event);
void OnClickSampleView(wxDataViewEvent& event);
void OnDragAndDropToSampleListView(wxDropFilesEvent& event);
void OnDragFromSampleView(wxDataViewEvent& event);
void OnShowSampleListViewContextMenu(wxDataViewEvent& event);
void OnSampleListViewContextMenuSelect(wxCommandEvent& event);
// -------------------------------------------------------------------
// Timer update event handler
@@ -195,7 +193,7 @@ class MainFrame : public wxFrame
// -------------------------------------------------------------------
// Getters
FileInfo GetFileNamePathAndExtension(const wxString& selected,
FileInfo GetFilenamePathAndExtension(const wxString& selected,
bool checkExtension = true, bool doGetFilename = true) const;
// -------------------------------------------------------------------