project64/Source/Project64/WTLApp.h

56 lines
1.7 KiB
C++

#pragma once
//Uncomment this to prevent lots of spurious assertions in debug mode
//#define _ASSERTE(expr) ((void)0)
#pragma warning(push)
#pragma warning(disable : 4091) // warning C4091: 'typedef ': ignored on left of 'tagGPFIDL_FLAGS' when no variable is declared
#pragma warning(disable : 4201) // warning C4201: nonstandard extension used: nameless struct/union
#pragma warning(disable : 4302) // warning C4302: 'type cast': truncation from 'LPCTSTR' to 'WORD'
#pragma warning(disable : 4458) // warning C4458: declaration of 'dwCommonButtons' hides class member
#pragma warning(disable : 4838) // warning C4838: conversion from 'int' to 'UINT' requires a narrowing conversion
#pragma warning(disable : 4996) // warning C4996: 'GetVersionExA': was declared deprecated
#define _ATL_DISABLE_NOTHROW_NEW
#include <atlbase.h>
#include <shellapi.h>
#include <wtl/atlapp.h>
#include <wtl/atlctrls.h>
#include <wtl/atldlgs.h>
#include <wtl/atlframe.h>
#define _WTL_NO_CSTRING
#include <atlwin.h>
#include <wtl/atlcrack.h>
#include <wtl/atlmisc.h>
#pragma warning(pop)
class CPj64Module :
public CAppModule
{
public:
CPj64Module(void)
{
Init(nullptr, GetModuleHandle(nullptr));
}
virtual ~CPj64Module(void)
{
Term();
}
};
extern CPj64Module _Module;
#include <Common/StdString.h>
#include "UserInterface/WTLControls/ClistCtrl/ListCtrl.h"
#include "UserInterface/WTLControls/EditNumber32.h"
#include "UserInterface/WTLControls/GetCWindowText.h"
#include "UserInterface/WTLControls/ModifiedCheckBox.h"
#include "UserInterface/WTLControls/ModifiedComboBox.h"
#include "UserInterface/WTLControls/ModifiedEditBox.h"
#include "UserInterface/WTLControls/PartialGroupBox.h"
#include "UserInterface/resource.h"