mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
Remove some useless "typedef wxX X"
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user