Fix all the missing return statements and guard against this happening again

This commit is contained in:
2014-04-15 03:12:47 -04:00
parent 2b924101d6
commit 2d69851746
11 changed files with 34 additions and 5 deletions

View File

@@ -41,7 +41,7 @@ class cDialog {
void loadFromFile(std::string path);
public:
static void init();
static bool noAction(cDialog&,std::string,eKeyMod) {}
static bool noAction(cDialog&,std::string,eKeyMod) {return true;}
static const short BG_LIGHT, BG_DARK;
explicit cDialog(cDialog* p = NULL); // dialog with no items
explicit cDialog(std::string path); // cd_create_dialog