Merge pull request #578 from cxd4/can_haz_commctrl_h

Include some system headers explicitly to fix non-ATL builds.
This commit is contained in:
zilmar 2015-08-30 10:40:56 +10:00
commit 29f2f51ee5
8 changed files with 17 additions and 0 deletions

View File

@ -10,6 +10,8 @@
****************************************************************************/ ****************************************************************************/
#include "stdafx.h" #include "stdafx.h"
#include <prsht.h>
void LoadLogSetting (HKEY hKey,char * String, BOOL * Value); void LoadLogSetting (HKEY hKey,char * String, BOOL * Value);
void SaveLogOptions (void); void SaveLogOptions (void);

View File

@ -10,6 +10,8 @@
****************************************************************************/ ****************************************************************************/
#include "stdafx.h" #include "stdafx.h"
#include <commctrl.h>
#include <windowsx.h>
#include "Settings/SettingType/SettingsType-Cheats.h" #include "Settings/SettingType/SettingsType-Cheats.h"
enum { WM_EDITCHEAT = WM_USER + 0x120 }; enum { WM_EDITCHEAT = WM_USER + 0x120 };

View File

@ -13,6 +13,7 @@
#pragma warning(disable:4355) // Disable 'this' : used in base member initializer list #pragma warning(disable:4355) // Disable 'this' : used in base member initializer list
#include <windows.h> #include <windows.h>
#include <commdlg.h>
CN64System::CN64System ( CPlugins * Plugins, bool SavesReadOnly ) : CN64System::CN64System ( CPlugins * Plugins, bool SavesReadOnly ) :
CSystemEvents(this, Plugins), CSystemEvents(this, Plugins),

View File

@ -9,6 +9,8 @@
* * * *
****************************************************************************/ ****************************************************************************/
#include "stdafx.h" #include "stdafx.h"
#include <commctrl.h>
#include "Settings/SettingType/SettingsType-Application.h" #include "Settings/SettingType/SettingsType-Application.h"
extern "C" extern "C"

View File

@ -1,5 +1,8 @@
#include "stdafx.h" #include "stdafx.h"
#include <windows.h>
#include <commdlg.h>
CMainMenu::CMainMenu ( CMainGui * hMainWindow ): CMainMenu::CMainMenu ( CMainGui * hMainWindow ):
CBaseMenu(), CBaseMenu(),
m_ResetAccelerators(true) m_ResetAccelerators(true)

View File

@ -1,5 +1,8 @@
#include "stdafx.h" #include "stdafx.h"
#include <commctrl.h>
#include <shlobj.h>
CRomBrowser::CRomBrowser (HWND & MainWindow, HWND & StatusWindow ) : CRomBrowser::CRomBrowser (HWND & MainWindow, HWND & StatusWindow ) :
m_MainWindow(MainWindow), m_MainWindow(MainWindow),
m_StatusWindow(StatusWindow), m_StatusWindow(StatusWindow),

View File

@ -1,5 +1,7 @@
#pragma once #pragma once
#include <commctrl.h>
class CConfigSettingSection; class CConfigSettingSection;
class CSettingsPage; class CSettingsPage;

View File

@ -10,6 +10,8 @@
****************************************************************************/ ****************************************************************************/
#pragma once #pragma once
#include <prsht.h>
class CSettingsPage class CSettingsPage
{ {
public: public: