Removing unnecessary instantiation to SettingsDialog.

This commit is contained in:
apoorv569
2021-04-25 03:44:11 +05:30
parent e38fef36de
commit e958eb995e
5 changed files with 106 additions and 27 deletions
+7
View File
@@ -1,3 +1,4 @@
#include <mutex>
#include <string>
#include <wx/infobar.h>
@@ -21,11 +22,17 @@ class Database
char* m_ErrMsg;
sqlite3_stmt* m_Stmt;
std::mutex m;
private:
// -------------------------------------------------------------------
wxInfoBar& m_InfoBar;
public:
// -------------------------------------------------------------------
// Create the table
void CreateDatabase();
// -------------------------------------------------------------------
// Insert into database
void InsertSample(int favorite, std::string filename,