Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61882 - sandbox/geometry/libs/geometry/example
From: barend.gehrels_at_[hidden]
Date: 2010-05-09 16:07:33


Author: barendgehrels
Date: 2010-05-09 16:07:30 EDT (Sun, 09 May 2010)
New Revision: 61882
URL: http://svn.boost.org/trac/boost/changeset/61882

Log:
Upgraded to wxWidgets 2.8.11
Solved stupid error on focus[-1]
Text files modified:
   sandbox/geometry/libs/geometry/example/wxwidgets.vsprops | 4 ++--
   sandbox/geometry/libs/geometry/example/x04_wxwidgets_world_mapper.cpp | 2 +-
   2 files changed, 3 insertions(+), 3 deletions(-)

Modified: sandbox/geometry/libs/geometry/example/wxwidgets.vsprops
==============================================================================
--- sandbox/geometry/libs/geometry/example/wxwidgets.vsprops (original)
+++ sandbox/geometry/libs/geometry/example/wxwidgets.vsprops 2010-05-09 16:07:30 EDT (Sun, 09 May 2010)
@@ -6,7 +6,7 @@
>
         <Tool
                 Name="VCCLCompilerTool"
- AdditionalIncludeDirectories="$(WXWIDGETS)\lib\vc_lib\mswd;$(WXWIDGETS)\include;..\..\.."
+ AdditionalIncludeDirectories="$(WXWIDGETS)\lib\vc_lib\mswd;$(WXWIDGETS)\include;$(WXWIDGETS)\include\msvc;"
                 PreprocessorDefinitions="NOPCH;__WXMSW__"
         />
         <Tool
@@ -15,6 +15,6 @@
         />
         <UserMacro
                 Name="WXWIDGETS"
- Value="c:\software\libraries\wxWidgets-2.8.10"
+ Value="c:\software\libraries\wxWidgets-2.8.11"
         />
 </VisualStudioPropertySheet>

Modified: sandbox/geometry/libs/geometry/example/x04_wxwidgets_world_mapper.cpp
==============================================================================
--- sandbox/geometry/libs/geometry/example/x04_wxwidgets_world_mapper.cpp (original)
+++ sandbox/geometry/libs/geometry/example/x04_wxwidgets_world_mapper.cpp 2010-05-09 16:07:30 EDT (Sun, 09 May 2010)
@@ -346,7 +346,7 @@
     if (m_focus != -1)
     {
         dc.SetBrush(m_orange);
- DrawCountry(dc, m_countries[-1]);
+ DrawCountry(dc, m_countries[m_focus]);
     }
 }
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk