diff --git a/src/drivers/win/taseditor/piano_roll.cpp b/src/drivers/win/taseditor/piano_roll.cpp index 128f091a..3757523e 100644 --- a/src/drivers/win/taseditor/piano_roll.cpp +++ b/src/drivers/win/taseditor/piano_roll.cpp @@ -25,6 +25,7 @@ Piano Roll - Piano Roll interface #include "taseditor_project.h" #include "utils/xstring.h" #include "uxtheme.h" +#include #pragma comment(lib, "UxTheme.lib") diff --git a/src/drivers/win/taseditor/taseditor_window.cpp b/src/drivers/win/taseditor/taseditor_window.cpp index 2516ca34..a0eabc1b 100644 --- a/src/drivers/win/taseditor/taseditor_window.cpp +++ b/src/drivers/win/taseditor/taseditor_window.cpp @@ -28,6 +28,12 @@ Window - User Interface #include "../keyboard.h" #include "../joystick.h" +//compile for windows 2000 target +#if (_WIN32_WINNT < 0x501) +#define LVN_BEGINSCROLL (LVN_FIRST-80) +#define LVN_ENDSCROLL (LVN_FIRST-81) +#endif + extern TASEDITOR_CONFIG taseditor_config; extern PLAYBACK playback; extern GREENZONE greenzone; diff --git a/vc/vc8_fceux.vcproj b/vc/vc8_fceux.vcproj index 2d6f1344..2c74a895 100644 --- a/vc/vc8_fceux.vcproj +++ b/vc/vc8_fceux.vcproj @@ -2298,6 +2298,14 @@ RelativePath="..\src\drivers\win\taseditor\bookmarks.h" > + + + + diff --git a/vc/vc9_fceux.vcproj b/vc/vc9_fceux.vcproj index 8bf91582..d548ab3d 100644 --- a/vc/vc9_fceux.vcproj +++ b/vc/vc9_fceux.vcproj @@ -1807,6 +1807,14 @@ RelativePath="..\src\drivers\win\taseditor\bookmarks.h" > + + + +