22 #define CATCH(returnValue) catch (wxDatabaseException& e) {\
23 wxLogError ( "[%d] %s", e.GetErrorCode(), e.GetErrorMessage() );\
Provides a few basic methods and (static) members to interact with yatish tables.
static wxDatabase * masterDB
bool TablesOk(wxDatabase *)
Returns false if any of the yatish table is missings.
static const char * tableName[]
Must be defined in the same order as enum tableID.
wxDatabase * GetDatabase(const wxString &)
Sets up a (configuration) flux using its argument then calls wxDatabase::GetDatabase().