Remove some useless "typedef wxX X"

This commit is contained in:
Twan van Laarhoven
2020-04-22 23:58:01 +02:00
parent 713a9e4a40
commit a585fc40cc
9 changed files with 8 additions and 10 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ bool Reader::enterAnyBlock() {
bool Reader::enterBlock(const Char* name) {
if (state == ENTERED) moveNext(); // on the key of the parent block, first move inside it
if (indent != expected_indent) return false; // not enough indentation
if (canonical_name_compare(key, name)) {
if (key == name) {
state = ENTERED;
expected_indent += 1; // the indent inside the block must be at least this much
return true;
-2
View File
@@ -49,9 +49,7 @@ using namespace std;
// Remove some of the wxUglyness
typedef wxPanel Panel;
typedef wxWindow Window;
typedef wxFrame Frame;
typedef wxBitmap Bitmap;
typedef wxImage Image;