]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilation fix for DEFINE_GUID uses.
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 22 Apr 2011 14:50:20 +0000 (14:50 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 22 Apr 2011 14:50:20 +0000 (14:50 +0000)
DEFINE_GUID doesn't define the value, only declares an external
variable, unless initguid.h was included. This leads to linker errors.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/textentry.cpp

index ba18dd0445c5f317dbc7053ca2422e0c07a26184..77bc4cd1bce5f890efbdfed2fadad128046e2d5d 100644 (file)
@@ -34,6 +34,8 @@
 #include "wx/textcompleter.h"
 #include "wx/dynlib.h"
 
+#include <initguid.h>
+
 #include "wx/msw/private.h"
 
 #if wxUSE_UXTHEME