<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup Label="Globals">
    <ProjectGuid>{0518D6C0-7BF6-4FD1-91FB-191BD10DB2AC}</ProjectGuid>
    <RootNamespace>wxWidgets</RootNamespace>
  </PropertyGroup>

  <!-- Aegisub project configuration -->
  <PropertyGroup Label="AegisubConfiguration">
    <AegisubProjectType>lib</AegisubProjectType>
    <SrcDir>..\..\vendor\wxWidgets\</SrcDir>
    <HeaderRoot>$(SrcDir)include</HeaderRoot>
  </PropertyGroup>
  <ImportGroup Label="PropertySheets">
    <Import Project="$(MSBuildThisFileDirectory)..\aegisub.props" />
  </ImportGroup>

  <!-- Project specific configuration -->
  <ItemDefinitionGroup>
    <ClCompile>
      <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;__WXMSW__;__WX__;WXBUILDING;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <AdditionalIncludeDirectories>$(SrcDir)include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
      <PrecompiledHeader>Use</PrecompiledHeader>
      <PrecompiledHeaderFile>wx/wxprec.h</PrecompiledHeaderFile>
    </ClCompile>
  </ItemDefinitionGroup>

  <Target Name="InstallSetup"
    Inputs="setup-installed.h;setup-build.h"
    Outputs="$(AegisubSourceBase)include\wx\setup.h;$(AegisubSourceBase)include\wx\msw\setup.h"
    BeforeTargets="ClCompile"
    >
    <Copy
      SourceFiles="setup-build.h"
      DestinationFiles="$(AegisubSourceBase)include\wx\msw\setup.h"
      SkipUnchangedFiles="true"
      />
    <Copy
      SourceFiles="setup-installed.h"
      DestinationFiles="$(AegisubSourceBase)include\wx\setup.h"
      SkipUnchangedFiles="true"
      />
  </Target>

  <!-- Source files -->
  <ItemGroup>
    <InstallHeader Include="$(SrcDir)include\wx\**\*.h" />
    <InstallHeader Include="$(SrcDir)include\wx\**\*.cpp" />
    <InstallHeader Include="$(SrcDir)include\wx\msw\wx.rc" />
    <InstallHeader Include="$(SrcDir)include\wx\msw\*.cur" />
    <InstallHeader Include="$(SrcDir)include\wx\msw\*.ico" />
    <InstallHeader Include="$(SrcDir)include\wx\msw\*.bmp" />
  </ItemGroup>

  <ItemGroup>
    <ClCompile Include="$(SrcDir)src\common\dummy.cpp">
      <PrecompiledHeader>Create</PrecompiledHeader>
    </ClCompile>

    <ClCompile Include="$(SrcDir)src\common\accelcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\accesscmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\affinematrix2d.cpp" />
    <ClCompile Include="$(SrcDir)src\common\anidecod.cpp" />
    <ClCompile Include="$(SrcDir)src\common\any.cpp" />
    <ClCompile Include="$(SrcDir)src\common\appbase.cpp" />
    <ClCompile Include="$(SrcDir)src\common\appcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\arcall.cpp" />
    <ClCompile Include="$(SrcDir)src\common\arcfind.cpp" />
    <ClCompile Include="$(SrcDir)src\common\archive.cpp" />
    <ClCompile Include="$(SrcDir)src\common\arrstr.cpp" />
    <ClCompile Include="$(SrcDir)src\common\artprov.cpp" />
    <ClCompile Include="$(SrcDir)src\common\bmpbase.cpp" />
    <ClCompile Include="$(SrcDir)src\common\bmpbtncmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\bookctrl.cpp" />
    <ClCompile Include="$(SrcDir)src\common\btncmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\calctrlcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\checkboxcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\checklstcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\choiccmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\clipcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\clntdata.cpp" />
    <ClCompile Include="$(SrcDir)src\common\clrpickercmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\cmdline.cpp" />
    <ClCompile Include="$(SrcDir)src\common\cmdproc.cpp" />
    <ClCompile Include="$(SrcDir)src\common\cmndata.cpp" />
    <ClCompile Include="$(SrcDir)src\common\colourcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\colourdata.cpp" />
    <ClCompile Include="$(SrcDir)src\common\combocmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\config.cpp" />
    <ClCompile Include="$(SrcDir)src\common\containr.cpp" />
    <ClCompile Include="$(SrcDir)src\common\convauto.cpp" />
    <ClCompile Include="$(SrcDir)src\common\ctrlcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\ctrlsub.cpp" />
    <ClCompile Include="$(SrcDir)src\common\datavcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\datetime.cpp" />
    <ClCompile Include="$(SrcDir)src\common\datetimefmt.cpp" />
    <ClCompile Include="$(SrcDir)src\common\datstrm.cpp" />
    <ClCompile Include="$(SrcDir)src\common\dcbase.cpp" />
    <ClCompile Include="$(SrcDir)src\common\dcbufcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\dcgraph.cpp" />
    <ClCompile Include="$(SrcDir)src\common\dircmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\dirctrlcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\dlgcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\dndcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\dobjcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\dpycmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\dseldlg.cpp" />
    <ClCompile Include="$(SrcDir)src\common\dynarray.cpp" />
    <ClCompile Include="$(SrcDir)src\common\dynlib.cpp" />
    <ClCompile Include="$(SrcDir)src\common\dynload.cpp" />
    <ClCompile Include="$(SrcDir)src\common\encconv.cpp" />
    <ClCompile Include="$(SrcDir)src\common\event.cpp" />
    <ClCompile Include="$(SrcDir)src\common\evtloopcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\ffile.cpp" />
    <ClCompile Include="$(SrcDir)src\common\file.cpp" />
    <ClCompile Include="$(SrcDir)src\common\filectrlcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\filefn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\filename.cpp" />
    <ClCompile Include="$(SrcDir)src\common\filepickercmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\filtall.cpp" />
    <ClCompile Include="$(SrcDir)src\common\fldlgcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\fmapbase.cpp" />
    <ClCompile Include="$(SrcDir)src\common\fontcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\fontdata.cpp" />
    <ClCompile Include="$(SrcDir)src\common\fontenumcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\fontmap.cpp" />
    <ClCompile Include="$(SrcDir)src\common\fontpickercmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\framecmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\gaugecmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\gbsizer.cpp" />
    <ClCompile Include="$(SrcDir)src\common\gdicmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\geometry.cpp" />
    <ClCompile Include="$(SrcDir)src\common\glcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\graphcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\hash.cpp" />
    <ClCompile Include="$(SrcDir)src\common\hashmap.cpp" />
    <ClCompile Include="$(SrcDir)src\common\headercolcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\headerctrlcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\hyperlnkcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\iconbndl.cpp" />
    <ClCompile Include="$(SrcDir)src\common\imagall.cpp" />
    <ClCompile Include="$(SrcDir)src\common\imagbmp.cpp" />
    <ClCompile Include="$(SrcDir)src\common\image.cpp" />
    <ClCompile Include="$(SrcDir)src\common\imagpng.cpp" />
    <ClCompile Include="$(SrcDir)src\common\init.cpp" />
    <ClCompile Include="$(SrcDir)src\common\intl.cpp" />
    <ClCompile Include="$(SrcDir)src\common\ipcbase.cpp" />
    <ClCompile Include="$(SrcDir)src\common\languageinfo.cpp" />
    <ClCompile Include="$(SrcDir)src\common\lboxcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\list.cpp" />
    <ClCompile Include="$(SrcDir)src\common\listctrlcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\log.cpp" />
    <ClCompile Include="$(SrcDir)src\common\longlong.cpp" />
    <ClCompile Include="$(SrcDir)src\common\matrix.cpp" />
    <ClCompile Include="$(SrcDir)src\common\menucmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\modalhook.cpp" />
    <ClCompile Include="$(SrcDir)src\common\module.cpp" />
    <ClCompile Include="$(SrcDir)src\common\mousemanager.cpp" />
    <ClCompile Include="$(SrcDir)src\common\msgout.cpp" />
    <ClCompile Include="$(SrcDir)src\common\mstream.cpp" />
    <ClCompile Include="$(SrcDir)src\common\nbkbase.cpp" />
    <ClCompile Include="$(SrcDir)src\common\numformatter.cpp" />
    <ClCompile Include="$(SrcDir)src\common\object.cpp" />
    <ClCompile Include="$(SrcDir)src\common\odcombocmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\overlaycmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\ownerdrwcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\panelcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\pickerbase.cpp" />
    <ClCompile Include="$(SrcDir)src\common\platinfo.cpp" />
    <ClCompile Include="$(SrcDir)src\common\popupcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\powercmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\process.cpp" />
    <ClCompile Include="$(SrcDir)src\common\quantize.cpp" />
    <ClCompile Include="$(SrcDir)src\common\radiobtncmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\radiocmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\rearrangectrl.cpp" />
    <ClCompile Include="$(SrcDir)src\common\rendcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\rgncmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\scrolbarcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\settcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\sizer.cpp" />
    <ClCompile Include="$(SrcDir)src\common\slidercmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\spinbtncmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\spinctrlcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\srchcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\sstream.cpp" />
    <ClCompile Include="$(SrcDir)src\common\statbar.cpp" />
    <ClCompile Include="$(SrcDir)src\common\statbmpcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\statboxcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\statlinecmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\stattextcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\stdpbase.cpp" />
    <ClCompile Include="$(SrcDir)src\common\stdstream.cpp" />
    <ClCompile Include="$(SrcDir)src\common\stockitem.cpp" />
    <ClCompile Include="$(SrcDir)src\common\stopwatch.cpp" />
    <ClCompile Include="$(SrcDir)src\common\strconv.cpp" />
    <ClCompile Include="$(SrcDir)src\common\stream.cpp" />
    <ClCompile Include="$(SrcDir)src\common\string.cpp" />
    <ClCompile Include="$(SrcDir)src\common\stringimpl.cpp" />
    <ClCompile Include="$(SrcDir)src\common\strvararg.cpp" />
    <ClCompile Include="$(SrcDir)src\common\sysopt.cpp" />
    <ClCompile Include="$(SrcDir)src\common\tbarbase.cpp" />
    <ClCompile Include="$(SrcDir)src\common\textbuf.cpp" />
    <ClCompile Include="$(SrcDir)src\common\textcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\textentrycmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\textmeasurecmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\threadinfo.cpp" />
    <ClCompile Include="$(SrcDir)src\common\time.cpp" />
    <ClCompile Include="$(SrcDir)src\common\timercmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\timerimpl.cpp" />
    <ClCompile Include="$(SrcDir)src\common\tokenzr.cpp" />
    <ClCompile Include="$(SrcDir)src\common\toplvcmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\translation.cpp" />
    <ClCompile Include="$(SrcDir)src\common\treebase.cpp" />
    <ClCompile Include="$(SrcDir)src\common\txtstrm.cpp" />
    <ClCompile Include="$(SrcDir)src\common\unichar.cpp" />
    <ClCompile Include="$(SrcDir)src\common\uri.cpp" />
    <ClCompile Include="$(SrcDir)src\common\ustring.cpp" />
    <ClCompile Include="$(SrcDir)src\common\utilscmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\valgen.cpp" />
    <ClCompile Include="$(SrcDir)src\common\validate.cpp" />
    <ClCompile Include="$(SrcDir)src\common\valnum.cpp" />
    <ClCompile Include="$(SrcDir)src\common\valtext.cpp" />
    <ClCompile Include="$(SrcDir)src\common\variant.cpp" />
    <ClCompile Include="$(SrcDir)src\common\wfstream.cpp" />
    <ClCompile Include="$(SrcDir)src\common\wincmn.cpp" />
    <ClCompile Include="$(SrcDir)src\common\windowid.cpp" />
    <ClCompile Include="$(SrcDir)src\common\wrapsizer.cpp" />
    <ClCompile Include="$(SrcDir)src\common\wxcrt.cpp" />
    <ClCompile Include="$(SrcDir)src\common\xlocale.cpp" />
    <ClCompile Include="$(SrcDir)src\common\zipstrm.cpp" />
    <ClCompile Include="$(SrcDir)src\common\zstream.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\aboutdlgg.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\busyinfo.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\calctrlg.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\choicbkg.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\choicdgg.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\clrpickerg.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\collpaneg.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\datavgen.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\datectlg.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\dirctrlg.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\dragimgg.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\editlbox.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\filectrlg.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\filepickerg.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\fontpickerg.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\headerctrlg.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\hyperlinkg.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\infobar.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\laywin.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\listbkg.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\logg.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\msgdlgg.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\numdlgg.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\odcombo.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\propdlg.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\renderg.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\sashwin.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\scrlwing.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\selstore.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\spinctlg.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\splitter.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\srchctlg.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\statbmpg.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\stattextg.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\statusbr.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\textdlgg.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\toolbkg.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\treebkg.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\treectlg.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\treelist.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\vlbox.cpp" />
    <ClCompile Include="$(SrcDir)src\generic\vscroll.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\aboutdlg.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\accel.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\anybutton.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\app.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\artmsw.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\basemsw.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\bitmap.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\bmpbuttn.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\brush.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\button.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\calctrl.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\caret.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\checkbox.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\checklst.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\choice.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\clipbrd.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\colordlg.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\colour.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\combo.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\combobox.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\control.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\crashrpt.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\cursor.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\datecontrols.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\datectrl.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\datetimectrl.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\dc.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\dcclient.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\dcmemory.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\dcscreen.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\debughlp.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\dialog.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\dib.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\dir.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\dirdlg.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\display.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\dlmsw.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\dragimag.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\evtloop.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\evtloopconsole.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\filedlg.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\font.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\fontdlg.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\fontenum.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\fontutil.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\frame.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\gauge.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\gdiimage.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\gdiplus.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\glcanvas.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\graphics.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\headerctrl.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\hyperlink.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\icon.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\imaglist.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\listbox.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\listctrl.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\main.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\menu.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\menuitem.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\msgdlg.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\nativdlg.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\nativewin.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\nonownedwnd.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\notebook.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\ole\dataobj.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\ole\dropsrc.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\ole\droptgt.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\ole\oleutils.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\ole\safearray.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\ole\uuid.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\ownerdrw.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\palette.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\panel.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\pen.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\popupwin.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\power.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\radiobox.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\radiobut.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\region.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\registry.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\renderer.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\scrolbar.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\settings.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\slider.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\snglinst.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\spinbutt.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\spinctrl.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\statbmp.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\statbox.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\statline.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\stattext.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\statusbar.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\stdpaths.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\textctrl.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\textentry.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\textmeasure.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\tglbtn.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\thread.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\timectrl.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\timer.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\toolbar.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\tooltip.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\toplevel.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\treectrl.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\utils.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\utilsexc.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\utilsgui.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\utilswin.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\uxtheme.cpp" />
    <ClCompile Include="$(SrcDir)src\msw\window.cpp" />

    <ClCompile Include="$(SrcDir)src\stc\PlatWX.cpp">
      <AdditionalIncludeDirectories>$(SrcDir)src\stc\scintilla\include;$(SrcDir)src\stc\scintilla\src;$(SrcDir)src\stc\scintilla\lexlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    </ClCompile>
    <ClCompile Include="$(SrcDir)src\stc\ScintillaWX.cpp">
      <!-- ScintillaWX.h guards too much with #ifdef SCI_LEXER so compilation
           fails without it defined. We can define it for stc.cpp without it
           trying to drag in the lexers, but for ScintillaWX we need to force
           it to include all the headers it needs -->
      <ForcedIncludeFiles>$(MSBuildThisFileDirectory)stc-fi.h</ForcedIncludeFiles>
      <PrecompiledHeader>NotUsing</PrecompiledHeader>
      <AdditionalIncludeDirectories>$(SrcDir)src\stc\scintilla\include;$(SrcDir)src\stc\scintilla\src;$(SrcDir)src\stc\scintilla\lexlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    </ClCompile>
    <ClCompile Include="$(SrcDir)src\stc\stc.cpp">
      <PreprocessorDefinitions>SCI_LEXER;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <AdditionalIncludeDirectories>$(SrcDir)src\stc\scintilla\include;$(SrcDir)src\stc\scintilla\src;$(SrcDir)src\stc\scintilla\lexlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    </ClCompile>

    <ClCompile Include="$(SrcDir)src\xml\xml.cpp" />
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="..\expat\expat.vcxproj">
      <Project>{d6ba6815-0aac-48fa-8372-d32cde8bf07a}</Project>
    </ProjectReference>
    <ProjectReference Include="..\libpng\libpng.vcxproj">
      <Project>{5cabcbef-e79a-4d27-94a5-cf4eaaf1dd96}</Project>
    </ProjectReference>
    <ProjectReference Include="..\scintilla\scintilla.vcxproj">
      <Project>{d6ea54fd-f15c-42f6-929b-a83f299a4582}</Project>
    </ProjectReference>
    <ProjectReference Include="..\zlib\zlib.vcxproj">
      <Project>{10f22a5a-dd9e-44a1-ba2e-2a9a7c78b0ee}</Project>
    </ProjectReference>
  </ItemGroup>
</Project>
