]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/gsocket.cpp
generate mouse events for all static controls, not just wxStaticLine (patch 1276413...
[wxWidgets.git] / src / unix / gsocket.cpp
index 100beaa553a4f200770a3f5e94ff6fabf913c42b..3ab997e9b79f6f0a2b605f1fa26edb5451260731 100644 (file)
 #include "wx/setup.h"
 #endif
 
-#ifndef WXUNUSED
-#define WXUNUSED(x)
-#endif
-
 #if defined(__VISAGECPP__)
 /* Seems to be needed by Visual Age C++, though I don't see how it manages
    to not break on including a C++ header into a plain C source file      */
@@ -195,6 +191,9 @@ int _System soclose(int);
 #else
 #  include "gsockunx.h"
 #  include "gsocket.h"
+#  ifndef WXUNUSED
+#    define WXUNUSED(x)
+#  endif
 #endif /* __GSOCKET_STANDALONE__ */
 
 /* debugging helpers */