Browse Source

Add PCH workaround include.

Yao Wei Tjong 姚伟忠 7 years ago
parent
commit
6241c9623e
2 changed files with 6 additions and 2 deletions
  1. 3 2
      Source/Urho3D/UI/ProgressBar.cpp
  2. 3 0
      Source/Urho3D/UI/UIComponent.cpp

+ 3 - 2
Source/Urho3D/UI/ProgressBar.cpp

@@ -20,12 +20,13 @@
 // THE SOFTWARE.
 // THE SOFTWARE.
 //
 //
 
 
-#include "ProgressBar.h"
+#include "../Precompiled.h"
 
 
 #include "../Core/Context.h"
 #include "../Core/Context.h"
 #include "../Input/InputEvents.h"
 #include "../Input/InputEvents.h"
 #include "../IO/Log.h"
 #include "../IO/Log.h"
-#include "UIEvents.h"
+#include "../UI/ProgressBar.h"
+#include "../UI/UIEvents.h"
 
 
 namespace Urho3D
 namespace Urho3D
 {
 {

+ 3 - 0
Source/Urho3D/UI/UIComponent.cpp

@@ -19,6 +19,9 @@
 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 // THE SOFTWARE.
 // THE SOFTWARE.
 //
 //
+
+#include "../Precompiled.h"
+
 #include "../Core/Context.h"
 #include "../Core/Context.h"
 #include "../Graphics/BillboardSet.h"
 #include "../Graphics/BillboardSet.h"
 #include "../Graphics/Graphics.h"
 #include "../Graphics/Graphics.h"