]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/gsockmsw.c
fixed small bug in operator=() (comparing equal but not identical objects were not...
[wxWidgets.git] / src / msw / gsockmsw.c
index 96b237f1043e5e8b6bf33413c3cc50615225ee52..a51169eaf0e79686a730aa600854cee8b345ed83 100644 (file)
@@ -36,8 +36,8 @@
 #endif
 
 #ifndef __GSOCKET_STANDALONE__
-#include "wx/defs.h"
-#include "wx/setup.h"
+#   include "wx/platform.h"
+#   include "wx/setup.h"
 #endif
 
 #if wxUSE_SOCKETS || defined(__GSOCKET_STANDALONE__)
@@ -86,7 +86,7 @@ HINSTANCE wxGetInstance(void);
 #define CLASSNAME  TEXT("_GSocket_Internal_Window_Class")
 
 /* implemented in utils.cpp */
-extern HWND
+extern WXDLLIMPEXP_BASE HWND
 wxCreateHiddenWindow(LPCTSTR *pclassname, LPCTSTR classname, WNDPROC wndproc);
 
 /* Maximum number of different GSocket objects at a given time.
@@ -112,7 +112,7 @@ static int firstAvailable;
 
 int _GSocket_GUI_Init(void)
 {
-  LPCTSTR pclassname;
+  static LPCTSTR pclassname = NULL;
   int i;
 
   /* Create internal window for event notifications */