]> git.saurik.com Git - wxWidgets.git/commitdiff
PCH-less build fix
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Mon, 29 Dec 2008 10:41:39 +0000 (10:41 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Mon, 29 Dec 2008 10:41:39 +0000 (10:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/ctrlcmn.cpp

index b9e57a8eec1943783c8b8cadafe9ef21c0514871..1897047aa0cc9d72824a898d5183eda93fede60c 100644 (file)
@@ -29,6 +29,7 @@
 #include "wx/control.h"
 
 #ifndef WX_PRECOMP
+    #include "wx/dc.h"
     #include "wx/log.h"
     #include "wx/radiobut.h"
     #include "wx/statbmp.h"
@@ -369,9 +370,9 @@ wxString wxControlBase::Ellipsize(const wxString& label, const wxDC& dc,
         }
     }
 
-    // this return would generate a 
+    // this return would generate a
     //  warning C4702: unreachable code
-    // with MSVC since the function always exits from inside the loop 
+    // with MSVC since the function always exits from inside the loop
     //return ret;
 }